/* ============================================================
   Legacy Yacht Sales — Premium Yacht Brokerage
   Design System: Coastal Luxury + Modern Sophistication
   Colors: Deep Ocean Blues · Crisp White · Soft Gray · Muted Gold
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Ocean Blues */
  --navy-950: #020d14;
  --navy-900: #041b2a;
  --navy-800: #062a3f;
  --navy-700: #0a3d5c;
  --navy-600: #0b4d6e;
  --navy-500: #0c5d82;

  /* Gold Accent */
  --gold:       #c9a646;
  --gold-dark:  #b8943a;
  --gold-light: rgba(201,166,70,.15);

  /* Neutrals */
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-900: #0f172a;

  /* Semantic */
  --bg:      var(--gray-50);
  --surface: var(--white);
  --text:    var(--gray-900);
  --muted:   var(--gray-500);
  --border:  rgba(15,23,42,.08);

  /* Spacing & Shape */
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 4px 16px rgba(4,27,42,.08);
  --shadow:       0 10px 40px rgba(4,27,42,.12);
  --shadow-lg:    0 24px 64px rgba(4,27,42,.18);
  --container:    1280px;
  --section-pad:  96px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.section { padding: var(--section-pad) 0; }
.section-sm { padding: 64px 0; }

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -999px; top: 10px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ============================================================
   HEADER — Transparent overlay on hero
   ============================================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(2,13,20,.72), rgba(2,13,20,0));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  gap: 24px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 140px;
  width: auto;
  object-fit: contain;
  display: block;
  /* No filter — preserve full color of the logo */
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-name span {
  font-size: 11px;
  color: rgba(255,255,255,.60);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.10);
}
.nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(201,166,70,.12);
}

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-phone a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s;
}
.header-phone a:hover { color: var(--gold); }

/* Mobile */
.mobile-toggle {
  display: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
}
.mobile-drawer {
  display: none;
  background: var(--navy-900);
  padding: 16px 40px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-drawer a {
  display: block;
  color: rgba(255,255,255,.80);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color 0.2s;
}
.mobile-drawer a:hover { color: var(--gold); }
.mobile-drawer.open { display: block; }

/* Sticky header for inner pages */
.site-header.sticky {
  position: sticky;
  top: 0;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

/* ============================================================
   HERO — Full-screen cinematic
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: block;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(2, 13, 20, 0.68) 0%,
      rgba(2, 13, 20, 0.30) 35%,
      rgba(2, 13, 20, 0.52) 100%
    );
}

.hero-content {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: min(960px, calc(100% - 40px));
  text-align: center;
  padding: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a646;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,.88);
  letter-spacing: 0.02em;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-shadow: 0 4px 18px rgba(0,0,0,.30);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,166,70,.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.70);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-navy:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline-navy:hover {
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--text);
  transform: translateY(-1px);
}

/* Legacy aliases */
.btn-primary { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ============================================================
   THREE PANELS — BUY / SELL / SERVICE
   ============================================================ */
.panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 540px;
}

.panel-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.panel-item:hover .panel-bg {
  transform: scale(1.06);
  filter: brightness(1.10);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2,13,20,.90) 0%,
    rgba(4,27,42,.58) 40%,
    rgba(6,42,63,.22) 100%
  );
  transition: opacity 0.4s ease;
}
.panel-item:hover .panel-overlay { opacity: 0.82; }

.panel-content {
  position: relative;
  z-index: 2;
  padding: 40px 36px;
  width: 100%;
}

.panel-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.panel-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 12px;
}

.panel-content p {
  font-size: 14px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: 20px;
}

.panel-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.panel-item:hover .panel-arrow { gap: 14px; }

.panel-item + .panel-item {
  border-left: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
  line-height: 1.1;
}
.section-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   CARDS — Yacht listings
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-img {
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 20px 20px 22px; }
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.card-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.price {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}
.specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.specs span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.card-actions { display: flex; gap: 10px; margin-top: 14px; }
.card-actions .btn { padding: 10px 16px; font-size: 12px; }

/* Sold overlay */
.card-sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,13,20,.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sold-stamp {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 8px 20px;
  border-radius: 4px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--gray-100);
  color: var(--gray-600);
}
.badge.gold {
  background: var(--gold-light);
  border-color: rgba(201,166,70,.30);
  color: var(--gold-dark);
}
.badge.sold {
  background: rgba(201,166,70,.15);
  border-color: var(--gold);
  color: var(--gold-dark);
}
.badge.pending {
  background: rgba(14,165,183,.10);
  border-color: rgba(14,165,183,.30);
  color: #0a7a8a;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-img {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-light);
  border: 1px solid rgba(201,166,70,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.service-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.service-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

/* ============================================================
   MEET THE TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--gray-200);
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 48px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.team-title {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--navy-900);
  padding: var(--section-pad) 0;
}
.contact-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.contact-icon-block {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: background 0.2s, border-color 0.2s;
}
.contact-icon-block:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(201,166,70,.25);
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-light);
  border: 1px solid rgba(201,166,70,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--gold);
}
.contact-icon-block .ci-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-icon-block .ci-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}
.contact-icon-block .ci-value a {
  color: var(--white);
  transition: color 0.2s;
}
.contact-icon-block .ci-value a:hover { color: var(--gold); }

.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.contact-form-wrap h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.contact-form-wrap .form-sub {
  text-align: center;
  color: rgba(255,255,255,.50);
  font-size: 15px;
  margin-bottom: 40px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .field-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
}
.field .input,
.field .select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.field .input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.28); }
.field .input:focus,
.field .select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.09);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .select option { background: var(--navy-900); color: var(--white); }

/* Light form variant (for non-dark sections) */
.field.light label { color: var(--gray-600); }
.field.light .input,
.field.light .select,
.field.light textarea {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--text);
}
.field.light .input::placeholder,
.field.light textarea::placeholder { color: var(--gray-400); }
.field.light .input:focus,
.field.light .select:focus,
.field.light textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

/* Panel form variant — fields inside white .panel cards use light styles */
.panel .field label { color: var(--gray-600); }
.panel .field .input,
.panel .field .select,
.panel .field textarea {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--text);
}
.panel .field .input::placeholder,
.panel .field textarea::placeholder { color: var(--gray-400); }
.panel .field .input:focus,
.panel .field .select:focus,
.panel .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,166,70,.12);
}

/* Filters panel — always light background, override dark field defaults */
.filters .field label {
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filters .field .input,
.filters .field .select {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  padding: 10px 12px;
  width: 100%;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filters .field .input::placeholder { color: var(--gray-400); }
.filters .field .input:focus,
.filters .field .select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,166,70,.12);
}
.filters .field .select option { background: var(--white); color: var(--text); }
.filters .field input[type="checkbox"] {
  accent-color: var(--navy-800);
  width: 15px;
  height: 15px;
  margin-right: 6px;
  cursor: pointer;
}
.filters .field label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  cursor: pointer;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================================
   FEATURES / WHY US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-light);
  border: 1px solid rgba(201,166,70,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--gold);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   CATALOG / INVENTORY LAYOUT
   ============================================================ */
.catalog {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.filters h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.filter-grid { display: grid; gap: 14px; }
.filter-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.pagination a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.pagination a:hover { background: var(--gray-100); transform: translateY(-1px); }
.pagination a[aria-current="page"] {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

/* ============================================================
   GALLERY (boat detail page)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--gray-100);
  aspect-ratio: 16/10;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.thumb {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--gray-100);
  aspect-ratio: 16/10;
  cursor: pointer;
  opacity: 0.88;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.thumb:hover { transform: translateY(-2px); opacity: 1; }

/* ============================================================
   SPLIT / PANEL LAYOUT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.panel h3 { font-size: 20px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.panel p { color: var(--muted); font-size: 15px; }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
}
.tab {
  padding: 12px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}
.tab[aria-selected="true"] {
  background: var(--surface);
  border: 2px solid var(--border);
  border-bottom-color: var(--surface);
  color: var(--navy-900);
  margin-bottom: -2px;
}
.steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 8px;
}
details.step {
  border-radius: var(--radius);
  padding: 16px;
}
details.step + details.step { border-top: 1px solid var(--border); }
details.step summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-900);
  list-style: none;
}
details.step summary::-webkit-details-marker { display: none; }
details.step p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ============================================================
   NOTICES / ALERTS
   ============================================================ */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(93,211,255,.08);
  color: var(--text);
  font-size: 14px;
}
.notice.ok { background: rgba(46,204,113,.10); border-color: rgba(46,204,113,.25); }
.notice.warn { background: var(--gold-light); border-color: rgba(201,166,70,.30); }
.notice.error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.25); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 40px;
  color: rgba(255,255,255,.70);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .brand { margin-bottom: 16px; }
.footer .logo-img { height: 80px; }
.footer .brand-name strong { color: var(--white); font-size: 16px; }
.footer .brand-name span { color: rgba(255,255,255,.45); }
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 28ch;
}
.footer-contact {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.9;
}
.footer-contact a { color: rgba(255,255,255,.60); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }

.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  margin-bottom: 16px;
}
.footer a {
  display: block;
  color: rgba(255,255,255,.60);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.30);
}

/* ============================================================
   UTILITY
   ============================================================ */
.small { color: var(--muted); font-size: 13px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy-900); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --section-pad: 64px; }
  .panels { grid-template-columns: 1fr; min-height: auto; }
  .panel-item { min-height: 320px; }
  .panel-item + .panel-item { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-icons { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field-full { grid-column: 1; }
  .nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .mobile-drawer.open { display: block; }
  .header-inner { padding: 16px 20px; }
  .hero-content { padding: 140px 24px 80px; }
  .logo-img { height: 100px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .grid.cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(32px, 10vw, 52px); }
  .panels { grid-template-columns: 1fr; }
}

/* ============================================================
   IMAGE UPLOAD ZONE (admin listing editor)
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201,166,70,.05);
}
.upload-zone-icon {
  font-size: 40px;
  margin-bottom: 12px;
  line-height: 1;
}
.upload-zone p {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-800);
}
.upload-zone .upload-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.upload-preview-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  aspect-ratio: 4/3;
}
.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upload-preview-item.loading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-spinner {
  font-size: 24px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(2,13,20,.75);
  border: none;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}
.upload-remove:hover { background: rgba(220,38,38,.85); }

.upload-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  animation: progressPulse 1.2s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   FAQ / QUESTIONS SECTION
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(201,166,70,.30);
}
.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.4;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-q::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--gold-light);
  border: 1px solid rgba(201,166,70,.30);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 38px;
}

@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL REVEAL — Progressive Enhancement
   Content is ALWAYS visible by default.
   Only hidden/animated when JS confirms it is running (.js-ready on <html>).
   ============================================================ */
.reveal { transition: opacity 0.55s ease, transform 0.55s ease; }

/* Only apply opacity:0 when JS has loaded and marked the page */
.js-ready .reveal        { opacity: 0; transform: translateY(10px); }
.js-ready .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal,
  .js-ready .reveal.in-view { opacity: 1; transform: none; transition: none; }
}
