:root {
  --navy: #05080F;
  /* Abyss Navy */
  --bg: var(--navy);
  --bg-2: #030509;
  --fg: rgba(245, 246, 248, 0.98);
  --muted: rgba(245, 246, 248, 0.72);
  --gold: #D4C2A1;
  /* Champagne */
  --gold-glow: rgba(212, 194, 161, 0.12);
  --sea: #5D8BA8;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.02);
  --stroke: rgba(255, 255, 255, 0.06);
  --line: var(--stroke);
  --card: var(--surface);
  --header-h: 84px;
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-h: 40vh;
  /* Large scale blending */
}

* {
  box-sizing: border-box;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
  outline: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  position: relative;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 168, 107, 0.88) rgba(14, 30, 51, 0.92);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(14, 30, 51, 0.92);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.95), rgba(199, 168, 107, 0.55));
  border-radius: 999px;
  border: 2px solid rgba(14, 30, 51, 0.92);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(199, 168, 107, 1), rgba(199, 168, 107, 0.66));
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, rgba(110, 164, 199, 0.92), rgba(199, 168, 107, 0.72));
}

::-webkit-scrollbar-corner {
  background: rgba(14, 30, 51, 0.92);
}

.sidebar::-webkit-scrollbar {
  width: 12px;
}

.home-yachts-strip::-webkit-scrollbar {
  height: 8px;
}

.home-yachts-strip::-webkit-scrollbar-thumb {
  border-width: 1px;
}

/* FLUID CANVAS SYSTEM */
.fluid-canvas {
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.fluid-canvas-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  mix-blend-mode: plus-lighter;
  opacity: 0.22;
  animation: float-glow 60s infinite alternate linear;
}

.fluid-canvas-glow:nth-child(1) {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  top: 10%;
  left: 20%;
}

.fluid-canvas-glow:nth-child(2) {
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle, rgba(93, 139, 168, 0.18) 0%, transparent 70%);
  bottom: 20%;
  right: 10%;
  animation-duration: 80s;
  animation-delay: -20s;
}

.fluid-canvas-glow:nth-child(3) {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  top: 60%;
  left: 40%;
  animation-duration: 45s;
  animation-delay: -10s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(3%, 5%) scale(1.05);
  }

  66% {
    transform: translate(-2%, 8%) scale(0.95);
  }

  100% {
    transform: translate(1%, -2%) scale(1.02);
  }
}
.fluid-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(920px 540px at 20% 10%, rgba(199, 168, 107, 0.14), transparent 60%),
    radial-gradient(860px 520px at 88% 26%, rgba(110, 164, 199, 0.12), transparent 62%),
    radial-gradient(900px 560px at 40% 110%, rgba(199, 168, 107, 0.10), transparent 60%);
  filter: blur(44px);
  opacity: 0.95;
}

a {
  color: inherit;
  text-decoration: none !important;
  transition: color 220ms ease, opacity 220ms ease;
}

a:hover {
  text-decoration: none;
  color: var(--gold);
}

.container {
  width: min(1540px, calc(100% - 72px));
  margin: 0 auto;
}

.container-fluid {
  width: 100%;
  padding-left: clamp(20px, 4vw, 84px);
  padding-right: clamp(20px, 4vw, 84px);
}

.narrow {
  width: min(860px, calc(100% - 72px));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 8, 15, 0.75);
  height: var(--header-h);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

body.is-scrolled .site-header {
  background: rgba(5, 8, 15, 0.9);
  border-bottom-color: rgba(212, 194, 161, 0.15);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(212, 194, 161, 0.03);
}

.site-main,
.site-footer {
  position: relative;
  z-index: 2;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0;
}

.brand,
.logo {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
}

.header-left {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: clamp(8px, 1.2vw, 18px);
}

/* LOGO & NAVIGATION LAYOUT */
.logo-desktop {
  display: none !important;
}

.logo-mobile {
  display: inline-flex !important;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .burger {
    display: none !important;
  }

  .logo-desktop {
    display: inline-flex !important;
  }

  .logo-mobile {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 32px);
  }

  .desktop-nav-link {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(11px, 0.8vw, 13px);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    padding: 6px 0;
    transition: color 240ms ease;
  }

  .desktop-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 380ms cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 8px rgba(212, 194, 161, 0.45);
  }

  .desktop-nav-link:hover {
    color: var(--fg);
  }

  .desktop-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.menu-yachts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 16px 44px rgba(0, 0, 0, 0.28);
}

.menu-yachts-btn:hover {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.16), var(--surface-2));
}

.menu-yachts-btn-text {
  display: grid;
  gap: 2px;
}

.menu-yachts-btn-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-yachts-btn-title {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.05;
}

.menu-yachts-btn-icon {
  position: relative;
  width: 16px;
  height: 24px;
  flex: 0 0 auto;
}

.menu-yachts-btn-icon::before {
  display: none;
}

.menu-yachts-btn-icon::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(245, 246, 248, 0.74);
  border-top: 2px solid rgba(245, 246, 248, 0.74);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.menu-yachts-btn:hover .menu-yachts-btn-icon::after {
  border-color: rgba(245, 246, 248, 0.96);
  transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

.yachts-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 16px 44px rgba(0, 0, 0, 0.28);
}

.yachts-btn:hover {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.16), var(--surface-2));
}

.yachts-btn-text {
  display: grid;
  gap: 2px;
}

.yachts-btn-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.yachts-btn-title {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.05;
}

.yachts-btn-icon {
  position: relative;
  width: 16px;
  height: 24px;
  flex: 0 0 auto;
}

.yachts-btn-icon::before {
  display: none;
}

.yachts-btn-icon::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(245, 246, 248, 0.74);
  border-top: 2px solid rgba(245, 246, 248, 0.74);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.yachts-btn:hover .yachts-btn-icon::after {
  border-color: rgba(244, 244, 244, 0.96);
  transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

.logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: clamp(8px, 1.2vw, 18px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.lang-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  transition: background 160ms ease, color 160ms ease;
}

/* LANGUAGE-SWITCH-FLAGS: SVG bandiere */
.lang-option .flag-icon {
  width: 20px;
  height: 14px;
  display: block;
  border-radius: 2px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.lang-option:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}

.lang-option.is-active {
  color: var(--fg);
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.16), rgba(255, 255, 255, 0.02));
}

.lang-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.lang-toggle .flag-icon {
  width: 20px;
  height: 14px;
  display: block;
  border-radius: 2px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.lang-menu {
  display: none;
  position: absolute;
  right: 6px;
  top: calc(100% + 8px);
  min-width: 140px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(14, 30, 51, 0.96);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.lang-item {
  display: grid;
  grid-template-columns: 20px auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--fg);
}

.lang-item .flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-item.is-active {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.16), rgba(255, 255, 255, 0.02));
}

@media (max-width: 768px) {
  .lang-list {
    display: none;
  }

  .lang-toggle {
    display: inline-flex;
  }

  .lang-switch.open .lang-menu {
    display: block;
  }
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.32);
}

.burger:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
}

.burger.is-active {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.18), rgba(255, 255, 255, 0.04));
}

.burger-icon {
  width: 22px;
  height: 14px;
  position: relative;
  display: block;
  display: grid;
  align-content: center;
  gap: 5px;
}

.burger-icon>span {
  display: block;
  height: 1px;
  border-radius: 999px;
  background: rgba(245, 246, 248, 0.86);
  transition: transform 220ms ease, opacity 220ms ease, width 220ms ease;
}

.burger-icon>span:nth-child(1) {
  width: 22px;
}

.burger-icon>span:nth-child(2) {
  width: 16px;
  justify-self: end;
}

.burger-icon>span:nth-child(3) {
  width: 20px;
  justify-self: end;
}

.burger.is-active .burger-icon>span:nth-child(1),
.burger.is-active .burger-icon>span:nth-child(3) {
  width: 22px;
  justify-self: center;
}

.burger.is-active .burger-icon>span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-active .burger-icon>span:nth-child(2) {
  opacity: 0;
}

.burger.is-active .burger-icon>span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 0s linear 280ms;
  z-index: 49;
}

.sidebar {
  position: fixed;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(10px);
  transform: translate3d(-100%, 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 280ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 280ms ease,
    visibility 0s linear 280ms;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 20px 0 80px rgba(0, 0, 0, 0.55);
  will-change: transform;
  contain: paint;
}

.sidebar-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  background: var(--navy);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-title {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.9);
}

.sidebar-close {
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: rgba(244, 244, 244, 0.9);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.28);
}

body.sidebar-open .sidebar-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(199, 168, 107, 0.14), transparent 60%),
    rgba(7, 10, 15, 0.68);
}

body.sidebar-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.sidebar-open .sidebar {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 280ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 280ms ease,
    visibility 0s linear 0s;
  background: var(--navy);
  touch-action: pan-y;
}

body.sidebar-open .site-header {
  background: var(--navy);
  background-image: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: transform 220ms ease;
}

body.sidebar-open .sidebar,
body.sidebar-open .sidebar-menu,
body.sidebar-open .sidebar-header {
  background: var(--navy);
  background-image: none;
  backdrop-filter: none;
}

body.sidebar-open .sidebar-header {
  box-shadow: none;
}

body.sidebar-open .sidebar-menu {
  background: var(--navy);
}

.sidebar-menu {
  background: transparent;
}

.sidebar-nav-grid {
  padding: calc(var(--header-h) + clamp(18px, 4vh, 56px)) 18px clamp(18px, 3vh, 36px);
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 18px 22px;
  place-content: center;
  flex: 1;
  position: relative;
  z-index: 1;
  justify-items: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.sidebar-nav-grid>* {
  opacity: 0;
  transform: translateY(10px);
  transition: transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 520ms ease;
}

body.sidebar-open .sidebar-nav-grid>* {
  opacity: 1;
  transform: translateY(0);
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(1) {
  transition-delay: 20ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(2) {
  transition-delay: 60ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(3) {
  transition-delay: 100ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(4) {
  transition-delay: 140ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(5) {
  transition-delay: 180ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(6) {
  transition-delay: 220ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(7) {
  transition-delay: 260ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(8) {
  transition-delay: 300ms;
}

body.sidebar-open .sidebar-nav-grid>*:nth-child(9) {
  transition-delay: 340ms;
}

.sidebar-link {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(244, 244, 244, 0.92);
  padding: 14px 10px;
  border-radius: 0;
  border: 0;
  background: transparent;
  transition: transform 160ms ease, color 160ms ease, opacity 160ms ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
}

.sidebar-link::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(199, 168, 107, 0), rgba(199, 168, 107, 0.75), rgba(199, 168, 107, 0));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.sidebar-link:hover {
  transform: none;
  color: rgba(255, 255, 255, 0.96);
}

.sidebar-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.sidebar .menu-yachts-btn {
  width: 100%;
  max-width: 420px;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  border: 1px solid transparent;
  position: relative;
}

.sidebar .menu-yachts-btn:hover {
  background: transparent;
  border-color: rgba(199, 168, 107, 0.55);
}

.sidebar .menu-yachts-btn-text {
  justify-items: center;
}

.sidebar .menu-yachts-btn-icon {
  display: block;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sidebar .menu-yachts-btn-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(245, 246, 248, 0.92);
  border-top: 2px solid rgba(245, 246, 248, 0.92);
  transform: rotate(45deg) translate(-2px, 2px);
}

.sidebar .menu-yachts-btn:hover .menu-yachts-btn-icon {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

/* SIDEBAR-FOOTER */
.sidebar-footer {
  width: 100%;
  margin-top: 24px;
  padding: 18px 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  background: var(--navy);
  z-index: 1;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sidebar-footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-footer-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.70);
  margin-bottom: 10px;
}

.sidebar-footer-link,
.sidebar-footer-text {
  display: block;
  color: rgba(245, 246, 248, 0.86);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.sidebar-footer-link:hover {
  color: rgba(245, 246, 248, 1);
}

@media (max-width: 900px) {
  .sidebar-nav-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-footer {
    grid-template-columns: 1fr;
  }
}

.site-main {
  min-height: calc(100vh - 140px);
  padding-top: var(--header-h);
}

.site-footer {
  padding: 24px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  text-align: center;
}

.hero {
  position: relative;
  height: clamp(640px, 100vh, 1100px);
  height: clamp(640px, 100dvh, 1100px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-fullscreen {
  height: calc(100vh + var(--header-h));
  height: calc(100dvh + var(--header-h));
  min-height: calc(100vh + var(--header-h));
  min-height: calc(100dvh + var(--header-h));
  margin-top: calc(-1 * var(--header-h));
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(5, 8, 15, 0.2) 0%, rgba(5, 8, 15, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-content-overlay {
  text-align: center;
  max-width: 920px;
  padding: 0 20px;
  animation: heroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-brand-tagline {
  font-family: Cinzel, serif;
  font-size: clamp(10px, 1.2vw, 13px);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-family: Cinzel, serif;
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  color: rgba(245, 246, 248, 0.88);
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-scroll-btn {
  padding: 16px 42px !important;
  background: rgba(212, 194, 161, 0.08) !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-scroll-btn:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  box-shadow: 0 0 30px rgba(212, 194, 161, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Scroll indicator mouse/line */
.scroll-indicator {
  position: absolute;
  bottom: 104px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(212, 194, 161, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scrollDownLine 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollDownLine {
  0% {
    transform: translateY(-100%);
  }

  70% {
    transform: translateY(250%);
  }

  100% {
    transform: translateY(250%);
  }
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-dealer-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background: #0E1E33;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero-dealer-inner {
  width: 100%;
  /* HERO-DEALER-BAR: il contenuto deve restare agganciato a destra */
  display: flex;
  justify-content: flex-end;
}

.hero-dealer-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.hero-dealer-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(245, 246, 248, 0.78);
}

.hero-dealer-logo {
  height: 34px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: rgba(245, 246, 248, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  z-index: 60;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 18px 52px rgba(0, 0, 0, 0.35);
}

.back-to-top:hover {
  background: linear-gradient(180deg, rgba(199, 168, 107, 0.16), rgba(255, 255, 255, 0.02));
}

.back-to-top>span {
  font-size: 18px;
  transform: translateY(-1px);
}

body.show-back-to-top .back-to-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(199, 168, 107, 0.22), transparent 60%),
    radial-gradient(820px 460px at 90% 40%, rgba(110, 164, 199, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.52)),
    linear-gradient(120deg, rgba(18, 20, 28, 1), rgba(8, 9, 12, 1));
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.1)),
    radial-gradient(900px 520px at 20% 10%, rgba(199, 168, 107, 0.18), transparent 60%),
    radial-gradient(820px 460px at 90% 40%, rgba(110, 164, 199, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%) scale(1.03);
  filter: brightness(1.35) saturate(0.96) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(7, 10, 15, 1));
}

.hero-content {
  position: relative;
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: end;
}

.hero-kicker {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0.04em;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 700;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  text-shadow:
    0 4px 14px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(212, 194, 161, 0.12),
    0 0 65px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-frames {
  position: relative;
  height: clamp(320px, 48vh, 520px);
}

.frame {
  position: absolute;
  border-radius: 22px;
  background-image: url("../img/mock_yacht_01.svg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.frame::after {
  content: "";
  display: none;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 140px at 18% 28%, rgba(199, 168, 107, 0.18), transparent 65%),
    radial-gradient(260px 180px at 92% 42%, rgba(110, 164, 199, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  opacity: 0.85;
}

.frame-1 {
  background-image: url("../img/mock_yacht_01.svg");
}

.frame-1 {
  width: 62%;
  height: 64%;
  right: 0;
  top: 0;
  transform: rotate(2deg);
}

.frame-2 {
  background-image: url("../img/mock_yacht_02.svg");
}

.frame-2 {
  width: 52%;
  height: 56%;
  left: 0;
  bottom: 0;
  transform: rotate(-3deg);
}

.frame-3 {
  background-image: url("../img/mock_yacht_03.svg");
}

.frame-3 {
  width: 44%;
  height: 44%;
  right: 22%;
  bottom: 10%;
  transform: rotate(1deg);
  border-color: rgba(199, 168, 107, 0.24);
}

.page-hero {
  position: relative;
  min-height: clamp(320px, 45vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 10px) 0 60px;
  overflow: hidden;
  color: #fff;
  background: transparent;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: brightness(1);
  transform: scale(1.1);
  transition: transform 3s var(--ease-soft);
}

/* Deleted redundant block */

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  /* Cinematic zoom default state */
  transform: scale(1.08);
  transition: transform 3.5s var(--ease-out-expo);
  opacity: 0.85;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Central dark overlay to ensure readability */
    radial-gradient(circle at center, rgba(5, 8, 15, 0.45) 0%, transparent 80%),
    /* Soft vertical fade to blend with the dark page body background */
    linear-gradient(to bottom,
      rgba(5, 8, 15, 0.5) 0%,
      rgba(5, 8, 15, 0.15) 30%,
      rgba(5, 8, 15, 0.08) 50%,
      rgba(5, 8, 15, 0.12) 65%,
      rgba(5, 8, 15, 0.28) 78%,
      rgba(5, 8, 15, 0.52) 88%,
      rgba(5, 8, 15, 0.8) 95%,
      var(--bg) 100%);
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0.04em;
  font-family: Cinzel, serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.95);
}

.page-hero .muted {
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin: 0 auto;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.95);
}

.section {
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

/* SECTION-LIGHT: Now a translucent atmospheric block */
.section-light {
  background: transparent;
  color: var(--fg);
  border-top: 1px solid rgba(212, 194, 161, 0.08);
  border-bottom: 1px solid rgba(212, 194, 161, 0.08);
  position: relative;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 194, 161, 0.05), transparent 70%);
  pointer-events: none;
}

.section-light .section-title {
  color: var(--fg);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

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

.brand-statement {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.brand-statement-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.brand-statement-lines {
  display: grid;
  gap: 10px;
}

.brand-statement-line-1 {
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3.0vw, 40px);
  line-height: 1.18;
  color: #FFFFFF;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.25);
}

.brand-statement-line-2 {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

/* SECTION PILLARS & GRID */
.section-pillars {
  padding: 110px 0 70px;
  background: var(--navy);
  position: relative;
  z-index: 5;
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 992px) {
  .home-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .home-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pillar-card {
  position: relative;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 194, 161, 0.12);
  display: flex;
  align-items: flex-end;
  text-decoration: none !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.35) grayscale(0.2);
}

.pillar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 30, 51, 0.95) 0%, rgba(14, 30, 51, 0.35) 60%, transparent 100%);
  z-index: 2;
}

.pillar-card-content {
  position: relative;
  z-index: 3;
  padding: 36px;
  width: 100%;
}

.pillar-tag {
  font-family: Cinzel, serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.pillar-title {
  font-family: Cinzel, serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.pillar-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 32ch;
  transition: color 0.4s ease;
}

.pillar-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Pillar card hover interaction */
.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 194, 161, 0.4);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(212, 194, 161, 0.08);
}

.pillar-card:hover .pillar-card-bg {
  transform: scale(1.06);
  filter: brightness(0.55) grayscale(0);
}

.pillar-card:hover .pillar-title {
  color: var(--gold);
}

.pillar-card:hover .pillar-text {
  color: rgba(245, 246, 248, 0.9);
}

.pillar-card:hover .pillar-link {
  transform: translateX(4px);
  color: #fff;
}

/* FEATURED SHOWCASE HEADER & SECTION */
.section-featured-yachts {
  padding: 80px 0 110px;
  background: var(--navy);
  position: relative;
  z-index: 5;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 24px;
}

@media (max-width: 768px) {
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.section-tag {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.section-header-row .section-title {
  margin-bottom: 0;
}

/* HOME-FLUID: sezioni senza card (background direttamente sulla sezione) */
.home-fluid {
  position: relative;
  background-size: cover;
  background-position: center;
  color: rgba(245, 246, 248, 0.95);
  background-attachment: fixed;
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      black var(--transition-h),
      black calc(100% - var(--transition-h)),
      transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      black var(--transition-h),
      black calc(100% - var(--transition-h)),
      transparent 100%);
}

.home-fluid-content {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px) brightness(1);
  -webkit-backdrop-filter: blur(12px) brightness(1);
  padding: 44px;
  border-radius: 44px;
  background: radial-gradient(circle at center, rgba(5, 8, 15, 0.5) 1000%, transparent 100%);
  max-width: 900px;
}

.home-fluid::after {
  display: none;
}

.home-fluid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(5, 8, 15, 0.05) 60%, rgba(5, 8, 15, 0.15) 95%),
    linear-gradient(90deg, rgba(5, 8, 15, 0.15) 0%, rgba(5, 8, 15, 0.1) 45%, transparent 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.1), transparent 25%),
    linear-gradient(0deg, rgba(5, 8, 15, 0.15) 0%, transparent 20%);
  opacity: 0.3;
  pointer-events: none;
}

/* Alternate Content/Gradient for Fluid */
.home-fluid-left::before {
  background: linear-gradient(270deg, rgba(5, 8, 15, 0.15), transparent 70%);
}

.home-fluid-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(64px, 10vh, 140px) 0;
}

.home-fluid-right .home-fluid-content {
  justify-self: end;
  text-align: right;
}

.home-fluid-right .home-fluid-actions {
  justify-content: flex-end;
}

.home-fluid-left .home-fluid-content {
  justify-self: start;
  text-align: left;
}

.home-fluid-content {
  width: min(620px, 100%);
}

.home-fluid-text {
  max-width: 56ch;
}

.home-fluid-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-fluid .section-title {
  color: rgba(245, 246, 248, 0.92);
}

.home-fluid .muted {
  color: rgba(245, 246, 248, 0.72);
}

.home-yachts-subtitle {
  margin-top: -8px;
  margin-bottom: 18px;
}

.home-yachts-strip {
  display: flex;
  gap: 18px;
  overflow: auto hidden;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-yachts-item {
  flex: 0 0 280px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  scroll-snap-align: start;
  transition: background 160ms ease, transform 180ms ease;
}

.home-yachts-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.home-yachts-item-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.88);
  background: rgba(199, 168, 107, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.home-yachts-item-title {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.home-yachts-item-meta {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(245, 246, 248, 0.66);
}

@media (max-width: 900px) {
  .home-yachts-item {
    flex-basis: 78vw;
  }
}

.section-dark {
  background: transparent;
}

.section-dark::before,
.section-dark::after {
  display: none;
}

.section>.container,
.section-dark>.container {
  position: relative;
  z-index: 1;
}

.section-title {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  font-family: Cinzel, serif;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(0, 0, 0, 0.4);
}

.section-bleed {
  padding: 44px 0;
}

.bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.mosaic {
  width: min(1680px, calc(100% - 72px));
  margin: 0 auto;
  height: clamp(420px, 62vh, 740px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.mosaic-item {
  border-radius: 26px;
  border: 0;
  background-image: url("../img/hero_about.png");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 34px 110px rgba(0, 0, 0, 0.45);
}

.mosaic-item::after {
  content: "";
  display: none;
}

.mosaic-a {
  grid-row: 1 / span 2;
  grid-column: 1;
  background-image: url("../img/hero_about.png");
}

.mosaic-b {
  grid-row: 1;
  grid-column: 2;
  background-image: url("../img/hero_sell.png");
}

.mosaic-c {
  grid-row: 2;
  grid-column: 2;
  background-image: url("../img/hero_new_yachts.png");
}

.mosaic-d {
  display: none;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

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

.link {
  color: var(--gold);
}

.link:hover {
  color: var(--gold);
}

.link-danger {
  color: #e05d5d;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(212, 194, 161, 0.35);
  background: rgba(212, 194, 161, 0.08);
  color: var(--fg);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.button:hover {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 194, 161, 0.4);
}

.button-ghost {
  border-color: rgba(244, 244, 244, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.button-small {
  padding: 10px 14px;
}

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

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

.card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  min-height: 120px;
  display: grid;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 25px 60px rgba(0, 0, 0, 0.4);
  transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: rgba(212, 194, 161, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 35px 80px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(212, 194, 161, 0.08);
}

.card-pad {
  padding: 22px;
}

.card-media {
  height: 160px;
  border-radius: 16px;
  border: 0;
  background-image: url("../img/mock_yacht_03.svg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 20px 60px rgba(0, 0, 0, 0.30);
}

.card-media::after {
  content: "";
  display: none;
}

.card-title {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.card-text {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.yacht-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.yacht-tile {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 194, 161, 0.12);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.yacht-tile:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(212, 194, 161, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 35px 70px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(212, 194, 161, 0.12);
}

.yacht-tile.is-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
}

@media (max-width: 900px) {
  .yacht-tile.is-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}

.yacht-tile.is-featured .yacht-tile-media {
  height: 100%;
  min-height: 320px;
}

.yacht-tile-media {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-image: url("../img/mock_yacht_01.svg");
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.yacht-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yacht-tile:hover .yacht-tile-media {
  transform: scale(1.08);
}

.yacht-tile-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 100%),
    radial-gradient(420px 220px at 20% 30%, rgba(199, 168, 107, 0.10), transparent 70%),
    radial-gradient(460px 260px at 80% 50%, rgba(110, 164, 199, 0.05), transparent 70%);
  opacity: 0.95;
  z-index: 2;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.yacht-tile:hover .yacht-tile-media::before {
  opacity: 0.75;
}

.yacht-tile-media::after {
  content: "";
  display: none;
}

.yacht-tile-media.has-media::after {
  display: none;
}

.yacht-tile-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yacht-tile-title {
  font-size: 21px;
  letter-spacing: 0.04em;
  font-family: Cinzel, serif;
  font-weight: 500;
  margin-bottom: 8px;
  color: #FFFFFF;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.yacht-tile:hover .yacht-tile-title {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212, 194, 161, 0.3);
}

.yacht-tile-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.yacht-tile:hover .yacht-tile-specs {
  border-top-color: rgba(212, 194, 161, 0.2);
}

.yacht-spec-item {
  display: grid;
  gap: 2px;
}

.yacht-spec-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.yacht-spec-value {
  font-size: 14px;
  color: var(--fg);
  font-weight: 400;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.yacht-tile:hover .yacht-spec-value {
  color: #FFFFFF;
  transform: translateY(-2px);
}

.yacht-tile-meta {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 22px;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 96px;
}

.spec-card {
  border: 1px solid rgba(212, 194, 161, 0.12);
  border-radius: 18px;
  background: rgba(18, 29, 51, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(0, 0, 0, 0.40);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 194, 161, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 28px 80px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(212, 194, 161, 0.1);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: border-color 0.3s ease;
}

.spec-card:hover .spec-row {
  border-bottom-color: rgba(212, 194, 161, 0.15);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span:last-child {
  color: var(--fg);
  font-weight: 500;
  transition: color 0.3s ease;
}

.spec-row:hover span:last-child {
  color: var(--gold);
}

/* TECHNICAL SPECIFICATIONS GRID */
.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.tech-spec-category {
  background: rgba(18, 29, 51, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 194, 161, 0.12);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 15px 45px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-spec-category:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 194, 161, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 55px rgba(0, 0, 0, 0.32),
    0 0 20px rgba(212, 194, 161, 0.08);
}

.tech-spec-category-title {
  font-family: Cinzel, serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 194, 161, 0.15);
  margin-bottom: 4px;
}

.tech-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.tech-spec-item:hover {
  border-bottom-color: rgba(212, 194, 161, 0.2);
}

.tech-spec-item:last-child {
  border-bottom: 0;
}

.tech-spec-item-label {
  color: var(--muted);
  font-size: 13px;
}

.tech-spec-item-value {
  color: var(--fg);
  text-align: right;
  transition: color 0.3s ease, transform 0.3s ease;
}

.tech-spec-item:hover .tech-spec-item-value {
  color: var(--gold);
  transform: translateX(-3px);
}

.spec-details {
  border: 0;
  background: transparent;
}

.spec-details summary {
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: Cinzel, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-details summary:hover {
  color: var(--fg);
}

.spec-details summary::before {
  content: "↓";
  font-size: 14px;
  color: var(--gold);
}

.spec-details[open] summary::before {
  content: "↑";
}

.detail-cta {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(212, 194, 161, 0.15);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 18px 58px rgba(0, 0, 0, 0.28);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(212, 194, 161, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 24px 68px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(212, 194, 161, 0.15);
}

.detail-hero-bleed {
  position: relative;
  min-height: clamp(420px, 60vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 44px;
}

.detail-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 3.5s var(--ease-out-expo);
}

.detail-hero-media:not([style*="background-image"]) {
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(199, 168, 107, 0.22), transparent 60%),
    radial-gradient(820px 460px at 90% 40%, rgba(110, 164, 199, 0.12), transparent 60%),
    linear-gradient(120deg, rgba(18, 20, 28, 1), rgba(8, 9, 12, 1));
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Soft vertical fade to blend with the dark page body background */
    linear-gradient(to bottom,
      transparent 30%,
      rgba(5, 8, 15, 0.04) 50%,
      rgba(5, 8, 15, 0.12) 65%,
      rgba(5, 8, 15, 0.28) 78%,
      rgba(5, 8, 15, 0.52) 88%,
      rgba(5, 8, 15, 0.8) 95%,
      var(--bg) 100%),
    /* Subtly darken from top and add warmth radial glow */
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15), transparent 40%),
    radial-gradient(900px 520px at 20% 10%, rgba(199, 168, 107, 0.14), transparent 60%);
}

.detail-hero-bleed .container {
  position: relative;
}

.form {
  display: grid;
  gap: 14px;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: start;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.contact-panel {
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 22px 70px rgba(0, 0, 0, 0.30);
}

.contact-panel-head {
  margin-bottom: 14px;
}

.contact-panel-title {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.04em;
  font-family: Cinzel, ui-serif, Georgia, serif;
  font-weight: 600;
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.contact-info-row {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-row:last-child {
  border-bottom: 0;
}

.contact-info-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-value {
  color: rgba(244, 244, 244, 0.92);
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 58px rgba(0, 0, 0, 0.28);
}

.contact-map-iframe {
  width: 100%;
  height: clamp(320px, 42vh, 420px);
  border: 0;
  display: block;
}

.contact-map-actions {
  margin-top: 12px;
}

.contact-form-wrap {
  display: grid;
  justify-items: center;
}

.contact-form-panel {
  width: min(860px, 100%);
}

@media (max-width: 900px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.filters {
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: end;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 26px;
}

.input,
select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--fg);
  font-size: 14px;
  transition: all 0.24s var(--ease-out-expo);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.input:focus,
select:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 0 0 4px rgba(199, 168, 107, 0.12);
}

.textarea {
  resize: vertical;
  line-height: 1.5;
}

.field-error {
  color: #e05d5d;
  font-size: 12px;
}

.flash-wrap {
  display: grid;
  gap: 8px;
  padding: 12px 0 0;
}

.flash {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.flash-success {
  border-color: rgba(80, 180, 120, 0.35);
}

.flash-error {
  border-color: rgba(224, 93, 93, 0.35);
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.table {
  display: grid;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.6fr 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.table-head {
  color: rgba(244, 244, 244, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.table-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.table-actions form {
  margin: 0;
}

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

.media-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.media-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.media-meta {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pre,
.spec-json {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  overflow: auto;
  color: rgba(244, 244, 244, 0.9);
  line-height: 1.45;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 44px 52px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* RICH FOOTER */
.site-footer {
  padding: 64px 0 44px;
  background:
    linear-gradient(180deg, rgba(14, 30, 51, 0) 0%, rgba(14, 30, 51, 0.98) 100%);
  margin-top: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 64px;
}

.footer-col-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 22px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.footer-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-title {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 24px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.footer-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.8;
}

.footer-contact-value {
  font-size: 14px;
}

.footer-bottom {
  padding-top: 44px;
  border-top: 1px solid transparent;
  background-image: linear-gradient(to right, transparent, rgba(212, 194, 161, 0.15), transparent);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  gap: 22px;
}

.footer-legal-link {
  font-size: 13px;
  color: var(--muted);
  transition: color 180ms ease;
}

.footer-legal-link:hover {
  color: var(--fg);
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: all 220ms ease;
  color: var(--muted);
}

.footer-social-link:hover {
  background: rgba(199, 168, 107, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

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

  .hero-frames {
    height: 360px;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: 520px;
  }

  .mosaic-a {
    grid-row: auto;
    grid-column: auto;
  }

  .mosaic-b {
    grid-row: auto;
    grid-column: auto;
  }

  .mosaic-c {
    grid-row: auto;
    grid-column: auto;
  }

  .mosaic {
    grid-auto-rows: 1fr;
  }

  .yacht-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .filters-row {
    grid-template-columns: 1fr 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .narrow {
    width: calc(100% - 32px);
  }

  .yacht-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .header-left {
    gap: 8px;
  }

  .logo-img {
    height: 32px;
  }

  .section {
    padding: 56px 0;
  }

  .mosaic {
    width: calc(100% - 32px);
    height: 480px;
  }

  .sidebar-nav-grid {
    grid-template-columns: 1fr;
  }

  .lang-switch {
    padding: 4px;
  }

  .hero-dealer-bar {
    height: 66px;
  }

  .hero-dealer-label {
    display: none;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* FOOTER EXTENSIONS */
.footer-newsletter-subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: -12px;
  margin-bottom: 16px;
  font-weight: 300;
}

.footer-newsletter-form {
  position: relative;
  display: flex;
  margin-bottom: 20px;
}

.footer-newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 50px 12px 16px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 300;
  transition: all 300ms ease;
}

.footer-newsletter-input::placeholder {
  color: rgba(245, 246, 248, 0.35);
}

.footer-newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 194, 161, 0.1);
}

.footer-newsletter-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 40px;
  border-radius: 9px;
  background: var(--gold);
  border: 0;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 220ms var(--ease-soft);
}

.footer-newsletter-btn:hover {
  background: #FFFFFF;
  transform: scale(1.04);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-newsletter-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-meta-bar {
  width: 100%;
  padding-top: 24px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-company-info {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  opacity: 0.65;
  text-align: left;
  letter-spacing: 0.02em;
  font-weight: 300;
  max-width: 70%;
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.75;
}

.powered-by-text {
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 9px;
  opacity: 0.8;
}

.powered-by-logo {
  height: 14px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.1);
}

.powered-by-version {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-family: monospace;
}

.version-icon {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.version-text {
  color: var(--fg);
}

@media (max-width: 768px) {
  .footer-meta-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 18px;
    margin-top: 12px;
  }

  .footer-company-info {
    max-width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   HOME PILLAR CARD PREMIUM (MIRRORS ABOUT PREMIUM CARD)
   ========================================================================== */
.home-pillar-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.6s var(--ease-soft),
    border-color 0.6s var(--ease-soft),
    box-shadow 0.6s var(--ease-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none !important;
}

.home-pillar-card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 194, 161, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(212, 194, 161, 0.08);
}

.home-pillar-card-visual {
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.home-pillar-card-visual-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease-soft);
}

.home-pillar-card-premium:hover .home-pillar-card-visual-img {
  transform: scale(1.08);
}

.home-pillar-card-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 8, 15, 0.1) 0%, rgba(5, 8, 15, 0.5) 100%);
  transition: opacity 0.6s var(--ease-soft);
}

.home-pillar-card-premium:hover .home-pillar-card-visual-overlay {
  opacity: 0.4;
}

.home-pillar-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 12px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.home-pillar-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-pillar-card-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.home-pillar-card-premium:hover .home-pillar-card-title {
  color: #FFFFFF;
}

.home-pillar-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 20px;
  margin-top: 0;
}

.home-pillar-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s ease, color 0.3s ease;
}

.home-pillar-card-premium:hover .home-pillar-card-link {
  color: #FFFFFF;
  gap: 12px;
}

/* ==========================================================================
   HOME HISTORY CARD SECTION (MIRRORS ABOUT HISTORY SECTION)
   ========================================================================== */
.home-history-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: var(--bg-2);
}

.home-history-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 1.2s var(--ease-soft);
}

.home-history-card:hover .home-history-card-img {
  transform: scale(1.05);
}

.home-history-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.6s var(--ease-soft);
}

.home-history-card-left .home-history-card-overlay {
  background: linear-gradient(to right, rgba(5, 8, 15, 0.95) 0%, rgba(5, 8, 15, 0.65) 60%, rgba(5, 8, 15, 0.2) 100%);
}

.home-history-card-right .home-history-card-overlay {
  background: linear-gradient(to left, rgba(5, 8, 15, 0.95) 0%, rgba(5, 8, 15, 0.65) 60%, rgba(5, 8, 15, 0.2) 100%);
}

.home-history-card-right {
  display: flex;
  justify-content: flex-end;
}

.home-history-card-content-wrap {
  position: relative;
  z-index: 3;
  padding: 60px 80px;
  max-width: 680px;
  width: 100%;
}

.home-history-card .section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.home-history-card .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

.home-history-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 28px;
}

.home-history-card-text p {
  margin-bottom: 16px;
}

.home-history-card-text p:last-child {
  margin-bottom: 0;
}

.home-history-card-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .home-history-card-content-wrap {
    padding: 40px;
  }

  .home-history-card-left .home-history-card-overlay,
  .home-history-card-right .home-history-card-overlay {
    background: rgba(5, 8, 15, 0.9);
  }
}

/* Premium Yacht Gallery Slider */
.slider-wrapper {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}

.slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-item-wrap {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .slider-item-wrap {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .slider-item-wrap {
    flex: 0 0 100%;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 18, 30, 0.85);
  border: 1px solid rgba(212, 194, 161, 0.3);
  color: var(--gold);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 194, 161, 0.4);
}

.prev-btn {
  left: -25px;
}

.next-btn {
  right: -25px;
}

@media (max-width: 1200px) {
  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

/* Premium Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(5, 8, 15, 0.95);
  backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  border: 1px solid rgba(212, 194, 161, 0.2);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2010;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--gold);
  text-decoration: none;
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--gold);
  padding: 10px 0;
  font-family: Cinzel, serif;
  letter-spacing: 0.1em;
}

/* Global Loader Overlay */
.global-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5, 8, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: auto;
}

.global-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.global-loader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(212, 194, 161, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: globalLoaderSpin 1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
  box-shadow: 0 0 30px rgba(212, 194, 161, 0.2);
}

@keyframes globalLoaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body.loading-active {
  overflow: hidden;
}