/* === Lili Åsteby Monaco === */

:root {
  --blue: #1e3ea4;
  --blue-deep: #122468;
  --blue-soft: #e8edf8;
  --red: #e1252b;
  --red-deep: #b51d22;
  --ink: #0a1428;
  --ink-soft: #4a5568;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0a1428;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(10, 20, 40, 0.06);
  --shadow-md: 0 18px 40px -10px rgba(10, 20, 40, 0.18);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(48px, 7vw, 110px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; image-orientation: from-image; }

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: rgba(255,255,255,0.85); }

/* === Brand mark (logo en texte) === */
.brand-mark {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1;
}
.brand-mark__name {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.brand-mark__tag {
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-top: 3px;
}
.brand-mark--light .brand-mark__name { color: #fff; }
.brand-mark--light .brand-mark__tag { color: #fff; opacity: 0.75; }
.acirc { display: inline-block; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; }
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.nav__links a {
  color: var(--ink); position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__lang {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
}
.lang-btn {
  background: none; border: 0; cursor: pointer;
  padding: 4px 6px; font: inherit; color: var(--ink-soft);
  transition: color .2s;
}
.lang-btn:hover { color: var(--blue); }
.lang-btn.is-active { color: var(--blue); }
.lang-sep { color: var(--line); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
  padding: 10px;
}
.nav__burger span {
  display: block; width: 100%; height: 2px;
  background: var(--ink); margin: 4px 0;
  transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open .nav__links { max-height: 480px; }
  .nav__links a { padding: 16px var(--pad); border-top: 1px solid var(--line); width: 100%; }
  .nav__links a::after { display: none; }
  .nav__burger { display: block; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,40,0.45) 0%, rgba(10,20,40,0.15) 35%, rgba(10,20,40,0.85) 100%);
  z-index: -1;
}
.hero__content { max-width: 880px; }
.hero__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: #fff; opacity: 0.92;
  margin: 0 0 24px;
}
.hero__title {
  font-size: clamp(54px, 11vw, 160px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.85;
  margin: 0 0 28px;
  color: #fff;
  display: flex; flex-direction: column;
}
.hero__title span { display: block; }
.hero__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  max-width: 580px;
  margin: 0 0 36px;
  opacity: 0.95;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.7);
  border-radius: 12px; z-index: 1;
}
.hero__scroll span {
  position: absolute; top: 6px; left: 50%; width: 3px; height: 7px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: 0.3; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px;
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .2s ease, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(225, 37, 43, 0.6); }
.btn--red:hover { background: var(--red-deep); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(30, 62, 164, 0.5); }
.btn--blue:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* === SECTION BASE === */
.section {
  padding: var(--gap) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}

/* === SPLIT (about) === */
.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  object-position: 5% center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__text p { color: var(--ink-soft); font-size: 17px; }
@media (max-width: 800px) {
  .section--split { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 4/3; }
}

/* === SPECS === */
.section--specs { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); border-radius: var(--radius-lg); }
.specs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.spec {
  background: #fff;
  padding: 38px 22px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.spec__num {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800; color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.spec__num span {
  font-size: 0.32em; font-weight: 700;
  color: var(--ink-soft); margin-left: 6px;
  letter-spacing: 0.04em;
}
.spec__label {
  margin-top: 14px;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.spec__flag {
  height: clamp(40px, 4.4vw, 56px);
  display: flex; align-items: center; justify-content: center;
}
.flag-mc {
  display: inline-block;
  width: 64px; height: 42px;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  position: relative;
}
.flag-mc span {
  position: absolute; left: 0; right: 0; height: 50%;
}
.flag-mc span:nth-child(1) { top: 0; background: var(--red); }
.flag-mc span:nth-child(2) { bottom: 0; background: #fff; }

@media (max-width: 1000px) { .specs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .specs { grid-template-columns: repeat(2, 1fr); } }

/* === RENTAL === */
.rental {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.rental__media img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.ticks { list-style: none; padding: 0; margin: 22px 0 32px; }
.ticks li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-top: 1px solid var(--line);
  color: var(--ink); font-weight: 500;
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 18px;
  background:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%) center/100% 2px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--blue) 50%) center/100% 2px no-repeat;
  /* fallback: draw checkmark with SVG bg */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3ea4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  transform: translateY(-50%);
}
@media (max-width: 800px) {
  .rental { grid-template-columns: 1fr; }
}

/* === WILDLIFE / DOLPHINS === */
.section--wild {
  max-width: none;
  margin: 0;
  padding: var(--gap) var(--pad);
  background: linear-gradient(180deg, #06122d 0%, #0a1e4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--wild::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(30, 62, 164, 0.4), transparent 60%);
  pointer-events: none;
}
.wild__head { text-align: center; max-width: 720px; margin: 0 auto 50px; position: relative; }
.wild__head h2 { color: #fff; }
.wild__sub { color: rgba(255,255,255,0.78); font-size: 18px; }
.wild__videos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
}
.wild__videos video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
@media (max-width: 800px) {
  .wild__videos { grid-template-columns: 1fr; }
}

/* === PORT HERCULE === */
.port {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
}
.port__text p { color: var(--ink-soft); }
.port__addr {
  font-size: 16px; line-height: 1.6;
  background: var(--bg-alt); padding: 18px 22px; border-left: 3px solid var(--red);
  border-radius: 8px; color: var(--ink); margin: 22px 0 32px;
}
.port__h3 { margin-top: 28px; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--blue-soft); color: var(--blue);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.port__map {
  position: relative; min-height: 400px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.port__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .port { grid-template-columns: 1fr; }
  .port__map { min-height: 320px; }
}

/* === SUNSET === */
.section--sunset {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px var(--pad);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.sunset__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: -2;
}
.sunset__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,16,38,0.35) 0%, rgba(8,16,38,0.55) 100%);
  z-index: -1;
}
.sunset__content { text-align: center; max-width: 820px; }
.sunset__content h2 {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 56px);
  margin-bottom: 14px;
}
.sunset__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  opacity: 0.9;
  margin: 0;
}

/* === GALLERY === */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,12,30,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.14); border: 0; border-radius: 50%;
  color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* === CONTACT === */
.section--contact {
  max-width: none;
  margin: 0;
  padding: var(--gap) var(--pad);
  background: var(--bg-dark);
  color: #fff;
}
.contact { max-width: var(--max); margin: 0 auto; }
.contact__head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.contact__head h2 { color: #fff; }
.contact__head p { color: rgba(255,255,255,0.72); font-size: 18px; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.contact__card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: #fff;
  transition: background .2s, transform .2s, border-color .2s;
}
.contact__card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.contact__icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); border-radius: 50%;
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__card:nth-child(1) .contact__icon { background: #25D366; }
.contact__card:nth-child(2) .contact__icon { background: var(--blue); }
.contact__card:nth-child(3) .contact__icon { background: var(--red); }
.contact__body { display: flex; flex-direction: column; min-width: 0; }
.contact__label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}
.contact__value {
  font-size: 16px; font-weight: 600;
  word-break: break-word;
}
@media (max-width: 800px) { .contact__grid { grid-template-columns: 1fr; } }

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 30px var(--pad);
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: #fff; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

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