@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #05070a;
  --navy: #071a2f;
  --navy2: #08243f;
  --cream: #f7f3ea;
  --muted: #b8c0c7;
  --gold: #c8a45d;
  --line: rgba(200, 164, 93, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 82px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(5, 7, 10, .76);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
}
.brand {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  font-size: 14px;
}

.brand-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-with-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 999px;
  opacity: .96;
}

.brand-with-logo span {
  line-height: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  transition: color .25s ease;
}
.nav a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: #071a2f !important;
  padding: 16px 20px;
  border-radius: 2px;
  font-weight: 800;
}
.menu-toggle { display: none; }

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 130px 22px 76px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9);
  transform: scale(1.04);
  opacity: .92;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,26,47,.64), rgba(7,26,47,.45), rgba(5,7,10,.98)),
    radial-gradient(circle at 50% 18%, rgba(200,164,93,.16), transparent 34%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}
.ornament { color: var(--gold); font-size: 34px; margin-bottom: 26px; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  font-weight: 500;
}
h1 {
  font-size: clamp(54px, 8vw, 108px);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
h1 span {
  display: block;
  color: var(--gold);
  font-style: italic;
  text-transform: none;
}
h2 { font-size: clamp(42px, 6vw, 82px); line-height: .96; letter-spacing: -.02em; }
h3 { font-size: 34px; line-height: 1; }
p {
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  font-size: clamp(15px, 2vw, 19px);
}
.hero-content p { max-width: 760px; margin: 28px auto 0; }
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.btn {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.primary { background: var(--gold); color: #071a2f; }
.ghost { border-color: var(--line); color: var(--cream); background: rgba(255,255,255,.035); }
.scroll-mark {
  position: absolute;
  bottom: 26px;
  z-index: 2;
  color: var(--muted);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: 10px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cream);
  color: #071a2f;
  padding: 30px clamp(18px, 5vw, 72px);
  gap: 20px;
}
.trust-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
  font-size: 12px;
}

.section { padding: clamp(86px, 12vw, 150px) clamp(18px, 5vw, 72px); position: relative; }
.section-head { max-width: 890px; margin: 0 auto 48px; text-align: center; }
.section-head strong { color: var(--gold); font-weight: 600; }
.eyebrow {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 18px;
}

.fleet-toolbar {
  max-width: 1260px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
}
.fleet-toolbar input, .fleet-toolbar select {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(200,164,93,.18);
  background: rgba(255,255,255,.035);
  color: var(--cream);
  padding: 0 18px;
}
.fleet-toolbar select option { background: #071a2f; color: var(--cream); }

.fleet-grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.boat-card {
  overflow: hidden;
  border-radius: 32px;
  background: #071a2f;
  border: 1px solid rgba(200,164,93,.18);
  box-shadow: 0 40px 110px rgba(0,0,0,.36);
}
.boat-image-wrap {
  width: 100%;
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.boat-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.boat-card:hover img { transform: scale(1.06); }
.boat-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,7,10,.12), rgba(5,7,10,.1), rgba(5,7,10,.92));
}
.pill {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  background: #071a2f;
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 16px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}
.tap-hint {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(200,164,93,.45);
  background: rgba(5,7,10,.44);
  color: var(--gold);
  padding: 16px 22px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  transition: opacity .25s ease;
}
.boat-title {
  position: absolute;
  z-index: 3;
  left: 26px;
  right: 26px;
  bottom: 26px;
  text-align: left;
}
.boat-title h3 { font-size: clamp(32px, 4vw, 44px); }
.boat-title p { font-size: 14px; margin-bottom: 0; }
.spec-overlay {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  right: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(5,7,10,.78);
  border: 1px solid rgba(200,164,93,.22);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.boat-card.open .spec-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.boat-card.open .tap-hint { opacity: 0; }
.close-spec {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: rgba(255,255,255,.08);
  color: var(--cream);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.mini-label {
  display: block;
  color: var(--gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 18px;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.spec-grid div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 12px;
  min-height: 70px;
}
.spec-grid small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 8px;
  margin-bottom: 6px;
}
.spec-grid strong { font-size: 13px; }
.overlay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.overlay-actions button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: var(--gold);
  border-radius: 999px;
  min-height: 42px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.boat-body { padding: 24px; }
.boat-body ul { margin: 0 0 24px; padding: 0; list-style: none; }
.boat-body li { color: var(--muted); margin: 12px 0; font-size: 14px; line-height: 1.55; }
.boat-body li::before { content: "✦"; color: var(--gold); margin-right: 10px; }
.card-btn { width: 100%; }

.addons { background: linear-gradient(180deg, #05070a, #071a2f); }
.addon-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.addon {
  min-height: 320px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(200,164,93,.18);
  background: rgba(255,255,255,.035);
}
.addon span { font-family: "Cormorant Garamond", serif; color: rgba(200,164,93,.52); font-size: 54px; }
.addon p { font-size: 14px; }

.route-card {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #071a2f;
  border: 1px solid rgba(200,164,93,.18);
  border-radius: 34px;
  overflow: hidden;
}
.route-image {
  min-height: 460px;
  background: linear-gradient(rgba(5,7,10,.1), rgba(5,7,10,.2)), url('/cdn-cgi/image/width=1400,quality=82,format=auto/assets/images/pershing_62/pershing_62_01.webp');
  background-size: cover;
  background-position: center;
}
.route-copy { padding: 48px; align-self: center; }

.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.why-item {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.why-item:last-child { border-right: 0; }
.why-item span { font-family: "Cormorant Garamond", serif; color: rgba(200,164,93,.3); font-size: 70px; }
.why-item h3 { text-transform: uppercase; letter-spacing: .24em; font-family: Inter, sans-serif; font-size: 14px; }

.bridge-panel, .request-panel {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  border-radius: 38px;
  border: 1px solid rgba(200,164,93,.22);
  background: radial-gradient(circle at top, rgba(200,164,93,.14), transparent 36%), rgba(7,26,47,.72);
  padding: clamp(40px, 7vw, 82px);
  box-shadow: 0 40px 120px rgba(0,0,0,.36);
}
form { display: grid; gap: 14px; max-width: 620px; margin: 34px auto 0; }
input, textarea {
  width: 100%;
  min-height: 54px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--cream);
  padding: 16px 18px;
  border-radius: 14px;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; margin-top: 18px; }

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

.footer {
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  background: radial-gradient(circle at top left, rgba(200,164,93,.10), transparent 30%), rgba(5,7,10,.96);
}
.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 28px;
  align-items: center;
}
.footer-brand {
  display: grid;
  gap: 10px;
}
.footer strong {
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
}
.footer-brand span {
  line-height: 1.7;
  font-size: 12px;
}
.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.footer-contact div {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 45px rgba(0,0,0,.18);
}
.footer-contact div::before {
  content: attr(data-icon);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(200,164,93,.14);
  font-size: 58px;
  line-height: 1;
  transform: translateY(3px);
  pointer-events: none;
  z-index: 0;
}
.footer-contact small,
.footer-contact span,
.footer-contact a {
  position: relative;
  z-index: 1;
}
.footer small {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
  font-weight: 900;
}
.footer-contact span,
.footer-contact a {
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.55;
}
.footer-contact a:hover { color: var(--gold); }
.footer-map {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(200,164,93,.24);
  background: rgba(5,7,10,.70);
  box-shadow: 0 28px 85px rgba(0,0,0,.56), inset 0 0 0 1px rgba(255,255,255,.04);
}
.footer-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,10,.16), rgba(5,7,10,.34));
  box-shadow: inset 0 0 70px rgba(0,0,0,.42);
}
.footer-map iframe {
  width: 100%;
  height: 170px;
  display: block;
  border: 0;
  filter: brightness(.58) saturate(.72) contrast(1.2);
}

.footer-bottom {
  max-width: 1260px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(248,242,231,.62);
  font-size: 11px;
  line-height: 1.5;
}
.footer-bottom a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-bottom a:hover { color: var(--gold); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5,7,10,.86);
  backdrop-filter: blur(16px);
}
.modal.active { display: flex; }
.modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #071a2f;
  padding: clamp(30px, 5vw, 64px);
  box-shadow: 0 60px 160px rgba(0,0,0,.58);
}
.modal-card h2 { color: var(--gold); margin-bottom: 20px; }
.modal-card h3 { font-size: 28px; color: var(--cream); margin-top: 28px; }
.modal-card p { font-size: 15px; }
.modal-close {
  position: sticky;
  float: right;
  top: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.detail-grid div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
}
.detail-grid small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  margin-bottom: 8px;
}
.list-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.list-columns ul { padding-left: 18px; color: var(--muted); line-height: 1.8; }
.price-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 10px;
  color: var(--muted);
}
.price-list strong { color: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-grid figcaption {
  padding: 12px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: block;
    background: transparent;
    border: 0;
    color: var(--cream);
    font-size: 30px;
  }
  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: rgba(5,7,10,.96);
    padding: 26px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.open { display: flex; }
  .fleet-grid, .addon-grid, .route-card, .why, .fleet-toolbar {
    grid-template-columns: 1fr;
  }
  .trust-strip { grid-template-columns: 1fr; }
  .why-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .route-image { min-height: 300px; }
  .detail-grid, .list-columns, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: auto; }
}
@media (max-width: 520px) {
  .site-header { height: 72px; }
  .nav { top: 72px; }
  .brand { font-size: 12px; }
  .spec-grid { grid-template-columns: 1fr; }
  .overlay-actions { grid-template-columns: 1fr; }
  .spec-overlay {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 18px;
  }
}


.zoom-image-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: var(--cream);
  overflow: hidden;
}

.zoom-image-btn span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(5, 7, 10, .68);
  border: 1px solid rgba(200, 164, 93, .32);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.zoom-image-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(5, 7, 10, .22));
  opacity: 0;
  transition: opacity .25s ease;
}

.zoom-image-btn:hover span,
.zoom-image-btn:focus-visible span,
.zoom-image-btn:hover::after,
.zoom-image-btn:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.image-zoom {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 10, .94);
  backdrop-filter: blur(18px);
}

.image-zoom.active {
  display: flex;
}

.image-zoom-inner {
  width: min(1200px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-zoom-inner img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  border: 1px solid rgba(200, 164, 93, .24);
}

.image-zoom-inner p {
  max-width: 900px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.image-zoom-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 201;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(200, 164, 93, .28);
  border-radius: 999px;
  background: rgba(7, 26, 47, .84);
  color: var(--cream);
  font-size: 26px;
  cursor: pointer;
}

body.zoom-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .image-zoom {
    padding: 12px;
  }

  .image-zoom-inner img {
    max-height: 78vh;
    border-radius: 18px;
  }

  .image-zoom-close {
    top: 12px;
    right: 12px;
  }

  .zoom-image-btn span {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .brand-with-logo {
    gap: 10px;
  }

  .brand-with-logo img {
    width: 34px;
    height: 34px;
  }

  .brand-with-logo span {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* Desktop gallery: one image at a time with arrows */
.gallery-carousel {
  position: relative;
  display: block;
  margin-top: 26px;
}

.gallery-stage {
  position: relative;
  min-height: 62vh;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(200, 164, 93, .18);
}

.gallery-slide {
  display: none;
  margin: 0;
  width: 100%;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide .zoom-image-btn {
  height: 62vh;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(5, 7, 10, .36);
}

.gallery-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(5, 7, 10, .66);
  backdrop-filter: blur(12px);
  font-size: 12px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(200, 164, 93, .3);
  border-radius: 999px;
  background: rgba(5, 7, 10, .72);
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.gallery-counter {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(5, 7, 10, .7);
  color: var(--gold);
  border: 1px solid rgba(200, 164, 93, .22);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.gallery-mobile-scroll {
  display: none;
}

/* Mobile gallery: scroll all images normally */
@media (max-width: 960px) {
  .gallery-carousel {
    display: none;
  }

  .gallery-mobile-scroll {
    display: grid;
  }
}

.image-zoom-nav {
  position: fixed;
  top: 50%;
  z-index: 202;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 1px solid rgba(200, 164, 93, .3);
  border-radius: 999px;
  background: rgba(7, 26, 47, .82);
  color: var(--gold);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.image-zoom-prev {
  left: 22px;
}

.image-zoom-next {
  right: 22px;
}

.image-zoom-counter {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 202;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(7, 26, 47, .82);
  color: var(--gold);
  border: 1px solid rgba(200, 164, 93, .25);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

@media (max-width: 640px) {
  .image-zoom-nav {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .image-zoom-prev {
    left: 10px;
  }

  .image-zoom-next {
    right: 10px;
  }

  .image-zoom-counter {
    top: 14px;
  }
}


/* v12 route image fix: local asset instead of external background */
.route-image {
  position: relative;
  background-color: #071a2f;
}

.route-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,7,10,.08), rgba(5,7,10,.36));
  pointer-events: none;
}


/* v13 fix: make Why SOL numbers visible and premium */
.why-item {
  background: radial-gradient(circle at center, rgba(200,164,93,.055), transparent 54%);
}

.why-item span {
  color: rgba(200, 164, 93, .72) !important;
  text-shadow: 0 0 24px rgba(200, 164, 93, .16);
  font-weight: 500;
}

.why-item h3 {
  color: rgba(247, 243, 234, .96);
}

@media (max-width: 960px) {
  .why-item span {
    color: rgba(200, 164, 93, .82) !important;
  }
}


/* v14: remove central Tap for Specs visual button */
.tap-hint {
  display: none !important;
}


/* v15 dynamic add-ons section */
.addon-toolbar {
  margin-bottom: 32px;
}

.dynamic-addons {
  grid-template-columns: repeat(3, 1fr);
}

.addon-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(200,164,93,.18);
  background: #071a2f;
  box-shadow: 0 34px 100px rgba(0,0,0,.28);
}

.addon-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.addon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.addon-card:hover .addon-image img {
  transform: scale(1.06);
}

.addon-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,7,10,.08), rgba(5,7,10,.2), rgba(5,7,10,.9));
}

.addon-title {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
}

.addon-title h3 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.addon-title p {
  font-size: 13px;
  margin-bottom: 0;
}

.addon-body {
  padding: 24px;
}

.addon-price {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(200,164,93,.13);
  color: var(--gold);
  border: 1px solid rgba(200,164,93,.2);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
}

.addon-body ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.addon-body li {
  color: var(--muted);
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.55;
}

.addon-body li::before {
  content: "✦";
  color: var(--gold);
  margin-right: 10px;
}

.addon-request-btn {
  border: 1px solid var(--line);
  background: var(--gold);
  color: #071a2f;
  border-radius: 999px;
  min-height: 42px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.addon-details-btn {
  background: rgba(255,255,255,.035) !important;
}

@media (max-width: 1100px) {
  .dynamic-addons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .dynamic-addons {
    grid-template-columns: 1fr;
  }
}


/* v16 secret routes image and copy section */
.route-image {
  background: linear-gradient(rgba(5,7,10,.05), rgba(5,7,10,.18)), url('/cdn-cgi/image/width=1400,quality=82,format=auto/assets/images/routes/sol-secret-routes.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
}

.route-copy h3 {
  color: var(--gold);
}

.route-copy p {
  max-width: 520px;
}


/* v17: show the full Secret Route image without cropping */
.route-image {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: #05070A !important;
}

.route-card {
  background: linear-gradient(135deg, #05070A 0%, #071a2f 48%, #08243f 100%);
}

@media (min-width: 961px) {
  .route-image {
    min-height: 520px;
  }
}

@media (max-width: 960px) {
  .route-image {
    min-height: 520px;
    background-size: contain !important;
  }
}

@media (max-width: 560px) {
  .route-image {
    min-height: 430px;
  }
}


/* v18: square-composed Secret Route image fills desktop and mobile cards */
.route-image {
  background: linear-gradient(rgba(5,7,10,.04), rgba(5,7,10,.18)), url('/cdn-cgi/image/width=1400,quality=82,format=auto/assets/images/routes/sol-secret-routes.webp') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: #05070A !important;
}

@media (min-width: 961px) {
  .route-image {
    min-height: 520px;
  }
}

@media (max-width: 960px) {
  .route-image {
    min-height: 520px;
    background-size: cover !important;
    background-position: center center !important;
  }
}

@media (max-width: 560px) {
  .route-image {
    min-height: 500px;
  }
}


/* v22: compact technical snapshot area — same working structure, less dead space */
.spec-overlay {
  padding: 18px 18px 16px !important;
}

.spec-overlay h4 {
  margin: 0 0 14px !important;
  font-size: 11px !important;
  letter-spacing: .24em !important;
}

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

.spec-grid div {
  min-height: 76px !important;
  padding: 14px 14px !important;
  border-radius: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.spec-grid small {
  font-size: 8px !important;
  letter-spacing: .20em !important;
  margin-bottom: 8px !important;
  opacity: .78 !important;
}

.spec-grid strong {
  font-size: 14px !important;
  line-height: 1.25 !important;
}

/* Add subtle icon-style labels without touching the JS/HTML */
.spec-grid div:nth-child(1) small::before { content: "↔ "; color: var(--gold); }
.spec-grid div:nth-child(2) small::before { content: "◌ "; color: var(--gold); }
.spec-grid div:nth-child(3) small::before { content: "▣ "; color: var(--gold); }
.spec-grid div:nth-child(4) small::before { content: "◫ "; color: var(--gold); }
.spec-grid div:nth-child(5) small::before { content: "✦ "; color: var(--gold); }
.spec-grid div:nth-child(6) small::before { content: "€ "; color: var(--gold); }

.overlay-actions {
  gap: 10px !important;
  margin-top: 14px !important;
}

.overlay-actions button {
  min-height: 42px !important;
  font-size: 9px !important;
  letter-spacing: .14em !important;
}

/* Make the card body start closer after specs */
.boat-body {
  padding-top: 20px !important;
}

.boat-body ul {
  margin-top: 0 !important;
}

/* Mobile: two columns, still much shorter than the old stacked layout */
@media (max-width: 760px) {
  .spec-overlay {
    padding: 16px 14px 14px !important;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .spec-grid div {
    min-height: 68px !important;
    padding: 12px 12px !important;
    border-radius: 18px !important;
  }

  .spec-grid strong {
    font-size: 13px !important;
  }

  .overlay-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .overlay-actions button {
    min-height: 40px !important;
  }
}

@media (max-width: 420px) {
  .spec-grid div {
    min-height: 64px !important;
    padding: 11px 10px !important;
  }

  .spec-grid small {
    font-size: 7.5px !important;
  }

  .spec-grid strong {
    font-size: 12.5px !important;
  }
}


/* v27: visible Mediterranean sea hero — brighter, less movie-dark */
.hero {
  position: relative !important;
  overflow: hidden !important;
  background:
    linear-gradient(to bottom, rgba(5,7,10,.28), rgba(5,7,10,.10) 42%, rgba(5,7,10,.52) 100%),
    radial-gradient(circle at center, rgba(5,7,10,.00), rgba(5,7,10,.20) 62%, rgba(5,7,10,.64) 100%),
    url('/assets/images/hero/sol-hero-sea-desktop.webp') center center / cover no-repeat !important;
}

.hero-video-bg,
.hero-video-overlay {
  display: none !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5,7,10,.50), rgba(5,7,10,.08) 50%, rgba(5,7,10,.52)),
    radial-gradient(circle at 50% 38%, rgba(200,164,93,.035), transparent 36%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(5,7,10,.06), rgba(5,7,10,.44));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(to bottom, rgba(5,7,10,.24), rgba(5,7,10,.08) 42%, rgba(5,7,10,.50) 100%),
      radial-gradient(circle at center, rgba(5,7,10,.00), rgba(5,7,10,.18) 62%, rgba(5,7,10,.60) 100%),
      url('/assets/images/hero/sol-hero-sea-desktop.webp') center center / cover no-repeat !important;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5,7,10,.44), rgba(5,7,10,.06) 50%, rgba(5,7,10,.44)),
      radial-gradient(circle at 50% 36%, rgba(200,164,93,.025), transparent 36%);
  }

  .hero::after {
    background: linear-gradient(to bottom, rgba(5,7,10,.06), rgba(5,7,10,.42));
  }
}

/* v28: fixed uploaded yacht cockpit hero image */
.hero-image {
  background-image: url('/assets/images/hero/sol-hero-sea-desktop.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
}

@media (max-width: 760px) {
  .hero-image {
    background-image: url('/assets/images/hero/sol-hero-sea-desktop.webp') !important;
    background-position: center center !important;
  }
}

@media (max-width: 960px) {
  .footer-inner,
  .footer-contact {
    grid-template-columns: 1fr;
  }
  .footer-map iframe {
    height: 160px;
  }
}


/* v43: hero uses uploaded video instead of static image */
.hero {
  background: #05070a !important;
}
.hero-image {
  background-image: none !important;
  overflow: hidden !important;
}
.hero-video-bg {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.95) contrast(1.03) brightness(.82);
  transform: scale(1.02);
}
.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(5,7,10,.48), rgba(5,7,10,.24) 42%, rgba(5,7,10,.92) 100%),
    radial-gradient(circle at 50% 18%, rgba(200,164,93,.14), transparent 34%) !important;
}
@media (max-width: 760px) {
  .hero-video-bg {
    object-position: center center;
  }
}

/* v44: definitive hero video visibility fix */
.hero {
  position: relative !important;
  background: #05070a !important;
  overflow: hidden !important;
}
.hero-image,
#heroImage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background: none !important;
  background-image: none !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  overflow: hidden !important;
}
.hero-video-bg {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  opacity: 1 !important;
  filter: saturate(.98) contrast(1.04) brightness(.78) !important;
  transform: scale(1.02) !important;
}
.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(to bottom, rgba(5,7,10,.50), rgba(5,7,10,.22) 42%, rgba(5,7,10,.94) 100%),
    radial-gradient(circle at 50% 18%, rgba(200,164,93,.12), transparent 34%) !important;
}
.hero-content,
.scroll-mark {
  position: relative !important;
  z-index: 2 !important;
}


/* v45: SOL Instagram section after Why SOL */
.instagram-showcase {
  background:
    radial-gradient(circle at 50% 0%, rgba(200,164,93,.10), transparent 36%),
    linear-gradient(to bottom, rgba(5,7,10,.98), rgba(7,26,47,.64), rgba(5,7,10,.96));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.instagram-grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.instagram-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(200,164,93,.22);
  background: rgba(7,26,47,.72);
  box-shadow: 0 34px 95px rgba(0,0,0,.34);
}

.instagram-reel-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(5,7,10,.96), rgba(8,36,63,.92)),
    radial-gradient(circle at center, rgba(200,164,93,.12), transparent 44%);
}

.instagram-reel-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5,7,10,.10), transparent 38%, rgba(5,7,10,.20)),
    radial-gradient(circle at center, rgba(5,7,10,.00), rgba(5,7,10,.12) 62%);
}

.instagram-reel-frame::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  border: 1px solid rgba(200,164,93,.68);
  background: rgba(5,7,10,.38);
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 0 38px rgba(200,164,93,.28), inset 0 0 18px rgba(200,164,93,.10);
  pointer-events: none;
}

.instagram-reel-frame .instagram-media {
  min-width: 0 !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.instagram-follow {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

@media (max-width: 960px) {
  .instagram-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .instagram-reel-frame {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .instagram-reel-frame {
    min-height: 500px;
  }

  .instagram-reel-frame::after {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }
}

/* Villas interactive showcase */
.villas-showcase {
  padding-top: clamp(86px, 10vw, 130px);
}

.villa-stage {
  position: relative;
  min-height: 760px;
  border: 1px solid rgba(200,164,93,.20);
  border-radius: 34px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  isolation: isolate;
}

.villa-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  filter: saturate(.9) contrast(1.05);
  transform: scale(1.02);
  transition: background-image .45s ease, transform .45s ease;
}

.villa-bg-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,10,.92) 0%, rgba(5,7,10,.70) 38%, rgba(5,7,10,.18) 78%),
    linear-gradient(to top, rgba(5,7,10,.88), rgba(5,7,10,.10) 55%, rgba(7,26,47,.52));
  pointer-events: none;
}

.villa-active-panel {
  position: relative;
  z-index: 2;
  width: min(610px, calc(100% - 38px));
  padding: clamp(28px, 5vw, 58px);
  margin: clamp(22px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  background: rgba(5,7,10,.50);
  backdrop-filter: blur(15px);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.villa-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 800;
}

.villa-active-panel h3 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .93;
  margin-bottom: 18px;
}

.villa-active-panel p {
  color: rgba(247,243,234,.82);
  font-size: 16px;
  line-height: 1.8;
  max-width: 560px;
}

.villa-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 18px;
}

.villa-specs div {
  min-height: 78px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.villa-specs small {
  display: block;
  color: rgba(184,192,199,.86);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 7px;
}

.villa-specs strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--cream);
}

.villa-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 26px;
}

.villa-highlights span {
  border: 1px solid rgba(200,164,93,.28);
  color: rgba(247,243,234,.88);
  background: rgba(200,164,93,.08);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 11px;
  letter-spacing: .06em;
}

.villa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.villa-actions-clean {
  margin-top: 30px;
}

.villa-actions-clean .btn {
  flex: 1 1 220px;
  min-height: 58px;
  justify-content: center;
}

.villa-rail-wrap {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px clamp(18px, 4vw, 42px) 28px;
  background: linear-gradient(to top, rgba(5,7,10,.96), rgba(5,7,10,.70), transparent);
}

.villa-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.villa-card {
  position: relative;
  flex: 0 0 214px;
  height: 156px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  color: var(--cream);
  background: #111;
  text-align: left;
  padding: 0;
  scroll-snap-align: start;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.villa-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62) saturate(.92);
  transition: transform .35s ease, filter .25s ease;
}

.villa-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,7,10,.90), rgba(5,7,10,.16));
}

.villa-card span,
.villa-card strong,
.villa-card small {
  position: relative;
  z-index: 2;
  display: block;
  margin-left: 16px;
  margin-right: 14px;
}

.villa-card span {
  margin-top: 16px;
  color: var(--gold);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .20em;
  font-weight: 800;
}

.villa-card strong {
  margin-top: 46px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: 1;
}

.villa-card small {
  margin-top: 5px;
  color: rgba(247,243,234,.74);
  font-size: 11px;
}

.villa-card:hover,
.villa-card.active {
  transform: translateY(-5px);
  border-color: rgba(200,164,93,.82);
  box-shadow: 0 18px 42px rgba(0,0,0,.42), 0 0 0 1px rgba(200,164,93,.18);
}

.villa-card:hover img,
.villa-card.active img {
  filter: brightness(.82) saturate(1.05);
  transform: scale(1.06);
}

@media (max-width: 1120px) {
  .nav { gap: 18px; }
  .nav a { font-size: 10px; letter-spacing: .16em; }
  .villa-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .villa-stage {
    min-height: 860px;
    border-radius: 26px;
  }

  .villa-bg-shade {
    background:
      linear-gradient(to bottom, rgba(5,7,10,.30), rgba(5,7,10,.72) 32%, rgba(5,7,10,.98) 70%),
      linear-gradient(to top, rgba(5,7,10,.92), rgba(5,7,10,.08));
  }

  .villa-active-panel {
    width: auto;
    margin: 18px;
    padding: 25px 21px;
  }

  .villa-active-panel h3 {
    font-size: 43px;
  }

  .villa-active-panel p {
    font-size: 14px;
    line-height: 1.65;
  }

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

  .villa-specs strong {
    font-size: 18px;
  }

  .villa-card {
    flex-basis: 196px;
    height: 146px;
  }

  .villa-card strong {
    font-size: 22px;
  }
}

/* ZIP 47: villa highlight chips removed from public layout */
.villa-highlights { display: none !important; }

/* ZIP 48: Villa section compact layout for desktop + mobile */
.villa-stage {
  min-height: 650px;
  border-radius: 28px;
}

.villa-active-panel {
  width: min(540px, calc(100% - 42px));
  padding: clamp(24px, 3.6vw, 42px);
  margin: clamp(18px, 3.5vw, 38px);
  border-radius: 24px;
}

.villa-active-panel h3 {
  font-size: clamp(38px, 4.8vw, 62px);
  margin-bottom: 14px;
}

.villa-active-panel p {
  font-size: 15px;
  line-height: 1.65;
}

.villa-specs {
  gap: 9px;
  margin: 20px 0 14px;
}

.villa-specs div {
  min-height: 66px;
  padding: 12px 11px;
  border-radius: 16px;
}

.villa-specs small {
  font-size: 9px;
  letter-spacing: .16em;
  margin-bottom: 5px;
}

.villa-specs strong {
  font-size: 19px;
}

.villa-actions-clean {
  margin-top: 22px;
}

.villa-actions-clean .btn {
  min-height: 52px;
  flex: 1 1 190px;
}

.villa-rail-wrap {
  padding: 18px clamp(16px, 3vw, 34px) 22px;
}

.villa-rail {
  gap: 12px;
  padding-bottom: 8px;
}

.villa-card {
  flex-basis: 184px;
  height: 132px;
  border-radius: 18px;
}

.villa-card span,
.villa-card strong,
.villa-card small {
  margin-left: 13px;
  margin-right: 12px;
}

.villa-card span {
  margin-top: 13px;
  font-size: 8px;
  letter-spacing: .18em;
}

.villa-card strong {
  margin-top: 36px;
  font-size: 21px;
}

.villa-card small {
  font-size: 10px;
}

@media (max-width: 760px) {
  .villas-showcase {
    padding-top: 74px;
  }

  .villa-stage {
    min-height: 710px;
    border-radius: 22px;
  }

  .villa-active-panel {
    margin: 12px;
    padding: 20px 17px;
    border-radius: 21px;
    width: auto;
  }

  .villa-kicker {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: .20em;
  }

  .villa-active-panel h3 {
    font-size: 36px;
    line-height: .96;
  }

  .villa-active-panel p {
    font-size: 13px;
    line-height: 1.52;
  }

  .villa-specs {
    gap: 8px;
    margin: 17px 0 10px;
  }

  .villa-specs div {
    min-height: 58px;
    padding: 10px 9px;
    border-radius: 15px;
  }

  .villa-specs small {
    font-size: 8px;
    letter-spacing: .15em;
  }

  .villa-specs strong {
    font-size: 16px;
  }

  .villa-actions-clean {
    margin-top: 18px;
    gap: 10px;
  }

  .villa-actions-clean .btn {
    min-height: 48px;
    font-size: 10px;
    letter-spacing: .18em;
  }

  .villa-rail-wrap {
    padding: 14px 12px 18px;
  }

  .villa-rail {
    gap: 10px;
  }

  .villa-card {
    flex-basis: 152px;
    height: 112px;
    border-radius: 17px;
  }

  .villa-card span {
    margin-top: 11px;
    font-size: 7px;
    letter-spacing: .16em;
  }

  .villa-card strong {
    margin-top: 28px;
    font-size: 18px;
  }

  .villa-card small {
    margin-top: 4px;
    font-size: 9px;
  }
}

@media (max-width: 390px) {
  .villa-stage {
    min-height: 690px;
  }

  .villa-active-panel {
    margin: 10px;
    padding: 18px 15px;
  }

  .villa-active-panel h3 {
    font-size: 33px;
  }

  .villa-card {
    flex-basis: 142px;
    height: 106px;
  }
}


/* ZIP 50: more transparent villa active card for stronger background visibility */
.villa-active-panel {
  background: rgba(5,7,10,.30);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 54px rgba(0,0,0,.20);
}

.villa-specs div {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.12);
}

@media (max-width: 760px) {
  .villa-active-panel {
    background: rgba(5,7,10,.26);
  }

  .villa-specs div {
    background: rgba(255,255,255,.03);
  }
}

/* v52 - SkiElit bridge logo image + Snowevo footer link cleanup */
.skielit-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.skielit-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5,7,10,.72), rgba(7,26,47,.78)),
    radial-gradient(circle at 50% 26%, rgba(200,164,93,.16), transparent 36%);
  z-index: -2;
}
.skielit-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -42% -8%;
  height: 62%;
  background:
    linear-gradient(135deg, transparent 48%, rgba(248,243,231,.08) 49%, transparent 51%),
    linear-gradient(225deg, transparent 48%, rgba(200,164,93,.10) 49%, transparent 51%);
  opacity: .55;
  z-index: -1;
  pointer-events: none;
}
.skielit-logo-play {
  width: clamp(86px, 12vw, 132px);
  height: clamp(86px, 12vw, 132px);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 999px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(200,164,93,.22);
  transition: transform .35s ease, filter .35s ease;
}
.skielit-logo-play:hover { transform: scale(1.035); filter: brightness(1.08); }
.skielit-logo-play img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
}

/* v57 mobile-first product rails: boats, jet skis, sea toys */
.product-rail-section {
  padding-top: clamp(42px, 7vw, 86px);
  padding-bottom: clamp(42px, 7vw, 86px);
}
.product-rail-section.core-rail {
  background: linear-gradient(180deg, #05070a, #071a2f 58%, #05070a);
}
.toys-rail-section {
  background: linear-gradient(180deg, #071a2f, #05070a);
}
.rail-head {
  margin-bottom: 22px;
}
.rail-head h2 {
  margin-bottom: 10px;
}
.rail-head p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.rail-shell {
  max-width: 1320px;
  margin: 0 auto;
}
.rail-note {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  font-weight: 900;
  margin: 0 0 14px 4px;
  opacity: .9;
}
.product-rail.fleet-grid,
.product-rail.addon-grid,
.product-rail.dynamic-addons {
  max-width: none;
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 6px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.product-rail::-webkit-scrollbar { height: 7px; }
.product-rail::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 999px; }
.product-rail::-webkit-scrollbar-thumb { background: rgba(200,164,93,.45); border-radius: 999px; }
.product-rail .boat-card,
.product-rail .addon-card {
  flex: 0 0 clamp(270px, 28vw, 370px);
  scroll-snap-align: start;
}
.product-rail .boat-image-wrap {
  aspect-ratio: 4 / 4.65;
}
.product-rail .addon-image {
  aspect-ratio: 4 / 3;
}
.product-rail .boat-title h3,
.product-rail .addon-title h3 {
  font-size: clamp(25px, 2.2vw, 34px);
}
.product-rail .boat-title p,
.product-rail .addon-title p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rail .boat-body,
.product-rail .addon-body {
  padding: 18px;
}
.product-rail .boat-body ul,
.product-rail .addon-body ul {
  margin-bottom: 18px;
}
.product-rail .boat-body li,
.product-rail .addon-body li {
  font-size: 13px;
  margin: 8px 0;
}
.product-rail .overlay-actions {
  gap: 10px;
}
.product-rail .addon-request-btn,
.product-rail .addon-details-btn,
.product-rail .card-btn {
  min-height: 44px;
}
@media (max-width: 960px) {
  .product-rail-section {
    padding-left: 16px;
    padding-right: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .product-rail-section .section-head {
    padding-right: 16px;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .product-rail-section .section-head p {
    margin-left: 0;
    margin-right: 0;
  }
  .rail-shell { margin-right: 0; }
  .product-rail.fleet-grid,
  .product-rail.addon-grid,
  .product-rail.dynamic-addons {
    padding-right: 18px;
    gap: 14px;
  }
  .product-rail .boat-card,
  .product-rail .addon-card {
    flex-basis: min(78vw, 315px);
  }
  .product-rail .boat-image-wrap {
    aspect-ratio: 4 / 4.55;
  }
  .product-rail .addon-image {
    aspect-ratio: 4 / 3.15;
  }
  .product-rail .pill {
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    font-size: 9px;
  }
  .product-rail .boat-title,
  .product-rail .addon-title {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
@media (max-width: 520px) {
  .product-rail-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .rail-head { margin-bottom: 16px; }
  .rail-note { font-size: 9px; margin-bottom: 10px; }
  .product-rail .boat-card,
  .product-rail .addon-card {
    flex-basis: 82vw;
    border-radius: 24px;
  }
  .product-rail .boat-body,
  .product-rail .addon-body {
    padding: 16px;
  }
}

/* ZIP 59: SOL villa gallery modal actions - PDF + smaller request button */
.villa-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.villa-modal-actions .btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .16em;
  width: auto;
  max-width: 100%;
}

.villa-modal-actions .villa-pdf-btn {
  min-width: 170px;
}

.villa-modal-actions .villa-request-btn {
  min-width: 220px;
}

@media (max-width: 760px) {
  .villa-modal-actions {
    gap: 10px;
  }

  .villa-modal-actions .btn {
    flex: 1 1 100%;
    min-height: 42px;
    padding: 0 18px;
    font-size: 10px;
  }
}
