/* ==========================================================================
   By the Beach – nový vzhled 2026
   ========================================================================== */
:root {
  --navy: #0b2a3c;
  --navy-2: #12384f;
  --sea: #0f8a9b;
  --turq: #2fbfbe;
  --turq-soft: #d9f3f1;
  --sand: #f7f2ea;
  --sand-2: #efe6d8;
  --coral: #ff7a59;
  --sun: #ffb547;
  --ink: #17262f;
  --muted: #5c6d77;
  --line: rgba(11, 42, 60, .1);
  --white: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 42, 60, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 60, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: linear-gradient(135deg, var(--coral), #ff9b5e); color: #fff; box-shadow: 0 12px 24px -10px rgba(255, 122, 89, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(255, 122, 89, .8); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--sea); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translate(3px, -1px); }
.link-arrow.light { color: var(--turq); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled, .nav-open .site-header {
  background: rgba(11, 42, 60, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.nav {
  width: min(1320px, 100% - 32px); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem; color: #fff;
}
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3em;
  padding: .5rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 600;
  color: rgba(255, 255, 255, .88); transition: color .25s, background .25s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-cta { background: var(--turq); color: var(--navy) !important; margin-left: .3rem; }
.nav-cta:hover { background: #fff; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 200px;
  background: #fff; border-radius: var(--radius-sm); padding: .5rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .3s var(--ease);
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown .nav-link { display: flex; color: var(--ink); border-radius: 10px; padding: .6rem .9rem; }
.dropdown .nav-link:hover, .dropdown .nav-link.active { background: var(--turq-soft); color: var(--navy); }

.lang { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: .85rem; font-weight: 700;
  transition: background .25s;
}
.lang-current:hover, .lang.open .lang-current { background: rgba(255, 255, 255, .14); }
.flag { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); padding: .4rem; min-width: 170px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-btn { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .55rem .75rem; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.lang-btn:hover { background: var(--sand); }
.lang-btn.active { background: var(--turq-soft); color: var(--navy); }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Waves ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 90px; pointer-events: none; }
.wave-hero { bottom: -1px; color: var(--sand); }
.wave-contact { top: -89px; color: var(--navy); }
.wave-footer { top: -89px; color: #08202e; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--navy);
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center 65%;
  opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease, transform 9s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 32, 46, .55) 0%, rgba(8, 32, 46, .15) 35%, rgba(8, 32, 46, .25) 65%, rgba(8, 32, 46, .75) 100%),
    radial-gradient(ellipse at 20% 60%, rgba(8, 32, 46, .45), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 120px; max-width: 1200px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.6rem;
}
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 600; max-width: 14ch; margin-bottom: .35em; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 36ch; opacity: .92; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-dots { position: absolute; z-index: 3; right: max(20px, calc((100% - 1200px) / 2)); bottom: 130px; display: flex; gap: .5rem; }
.hero-dots span { width: 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero-dots span.active::after { content: ""; position: absolute; inset: 0; background: #fff; animation: dot 7s linear forwards; transform-origin: left; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 110px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.page-hero-bg { position: absolute; inset: -5%; background-size: cover; background-position: center; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 32, 46, .55), rgba(8, 32, 46, .35) 45%, rgba(8, 32, 46, .8)); }
.page-hero-content { position: relative; z-index: 2; padding: 150px 0 130px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: .25em; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; font-weight: 700; font-size: .9rem; opacity: .85; transition: opacity .2s, gap .3s var(--ease); }
.back-link:hover { opacity: 1; gap: .8rem; }

/* ---------- Section heads ---------- */
section { position: relative; }
.section-head { margin-bottom: 3rem; max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--navy); margin: 0; }
.section-head.light h2 { color: #fff; }
.section-num {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .2em;
  color: var(--sea); margin-bottom: 1rem;
}
.section-num::before, .section-num::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .5; border-radius: 2px; }
.section-head.light .section-num { color: var(--turq); }
.section-sub { color: var(--muted); margin: 1rem 0 0; font-size: 1.05rem; }

/* ---------- About ---------- */
.about { padding: 110px 0 90px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 1.5rem; align-items: stretch; }
.about-card {
  background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-card h3 { font-size: 1.5rem; color: var(--navy); }
.about-card p { color: var(--muted); margin: 0; }
.about-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--turq-soft); color: var(--sea); margin-bottom: 1.4rem; }
.about-icon .ico { width: 28px; height: 28px; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.06); }

.stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: var(--navy); border-radius: var(--radius); padding: 1.8rem; color: #fff; }
.stat { display: flex; align-items: center; gap: 1rem; padding: .4rem .8rem; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat > .ico { width: 34px; height: 34px; color: var(--turq); }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.stat div > span { display: block; font-size: .9rem; opacity: .75; }

/* ---------- Apartments ---------- */
.apartments { padding: 90px 0 110px; background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.apt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.apt-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.apt-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.apt-card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.apt-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.apt-card:hover .apt-card-img img { transform: scale(1.08); }
.apt-card-img::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(8, 32, 46, .55)); }
.apt-card-num { position: absolute; z-index: 1; left: 1.1rem; bottom: .6rem; font-family: var(--serif); font-size: 3.2rem; color: #fff; line-height: 1; opacity: .95; }
.apt-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.apt-card-body h3 { font-size: 1.4rem; color: var(--navy); margin: 0; }
.apt-card-meta { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; margin: 0 0 .8rem; }
.apt-card-meta .ico { color: var(--sea); }
.apt-card .link-arrow { margin-top: auto; }
.apt-card:hover .link-arrow .ico { transform: translateX(4px); }

/* ---------- Premium ---------- */
.premium { padding: 130px 0; color: #fff; text-align: center; overflow: hidden; background: var(--navy); }
.premium-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; opacity: .45; }
.premium::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 138, 155, .55), rgba(11, 42, 60, .85)); }
.premium-inner { position: relative; z-index: 1; max-width: 820px; }
.premium-icons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.8rem; }
.premium-icons span { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); animation: bob 4s ease-in-out infinite; }
.premium-icons span:nth-child(2) { animation-delay: .4s; }
.premium-icons span:nth-child(3) { animation-delay: .8s; }
.premium-icons .ico { width: 30px; height: 30px; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.premium h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.premium-text { font-size: clamp(1.15rem, 2vw, 1.45rem); opacity: .95; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { padding: 110px 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: -1rem 0 2.5rem; }
.filter { padding: .6rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .92rem; background: #fff; color: var(--navy); box-shadow: 0 4px 14px -8px rgba(11, 42, 60, .4); transition: all .3s var(--ease); }
.filter:hover { transform: translateY(-2px); }
.filter.active { background: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 1rem; }
.g-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand-2); animation: gIn .6s var(--ease) both; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(8, 32, 46, .6)); opacity: 0; transition: opacity .4s; }
.g-item:hover::after { opacity: 1; }
.g-pin { position: absolute; z-index: 2; top: .7rem; right: .7rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--coral); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.g-pin:hover { transform: scale(1.12); }
@keyframes gIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.gallery-more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 18, 26, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: min(1200px, 92vw); max-height: 82vh; }
.lb-figure img { max-width: 100%; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .3s, transform .4s var(--ease); }
.lb-figure img.loading { opacity: 0; transform: scale(.97); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background .25s, transform .25s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lb-prev { left: 2vw; top: 50%; translate: 0 -50%; }
.lb-next { right: 2vw; top: 50%; translate: 0 -50%; }
.lb-close { right: 2vw; top: 2vh; }
.lb-bar { position: absolute; bottom: 2.5vh; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 1rem; color: #fff; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.lb-map { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: var(--coral); color: #fff; }

/* ---------- Island ---------- */
.island { padding: 110px 0; background: #fff; }
.island-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.island-intro.reverse { grid-template-columns: .9fr 1.1fr; margin: 4rem 0 0; }
.island-text h3 { font-size: 1.7rem; color: var(--navy); }
.island-text h3:not(:first-child) { margin-top: 1.6em; }
.island-text p { color: var(--muted); }
.island-photo { margin: 0; position: relative; }
.island-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.island-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); background: var(--turq-soft); }
.island-intro.reverse .island-photo::before { inset: 24px 24px -24px -24px; background: var(--sand-2); }
.island-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.island-card { background: var(--sand); border-radius: var(--radius); padding: 2rem; transition: transform .4s var(--ease), background .4s; }
.island-card:hover { transform: translateY(-6px); background: var(--turq-soft); }
.island-card > .ico { width: 34px; height: 34px; color: var(--coral); margin-bottom: 1rem; }
.island-card h3 { font-size: 1.35rem; color: var(--navy); }
.island-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; padding: 90px 0 120px; margin-top: 90px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.8rem; transition: background .3s, transform .4s var(--ease); }
.contact-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.contact-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.contact-card p { color: rgba(255, 255, 255, .78); margin-bottom: .6rem; }
.contact-card p a:hover { color: var(--turq); }
.contact-sub { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--turq); }
.contact-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--turq); color: var(--navy); margin-bottom: 1.2rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-lg); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer { position: relative; background: #08202e; color: rgba(255, 255, 255, .75); padding: 40px 0 0; margin-top: 90px; }
.contact + .footer, .cta + .footer { margin-top: 0; }
.contact + .footer .wave-footer, .cta + .footer .wave-footer { display: none; }
.contact + .footer { border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding: 2rem 0 3rem; }
.brand-light { color: #fff; margin-bottom: 1rem; }
.footer h4 { color: #fff; font-size: 1.1rem; }
.footer-links li + li { margin-top: .4rem; }
.footer-links a, .footer-contact a { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--turq); }
.footer-contact { display: flex; flex-direction: column; gap: .7rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .7rem; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--turq); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { background: var(--turq); color: var(--navy); transform: translateY(-3px); }

/* ---------- Apartment detail ---------- */
.apt-detail { padding: 70px 0 90px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: .8rem; margin-bottom: 4rem; }
.mosaic-tile { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; background: var(--sand-2); }
.mosaic-tile.main { grid-row: span 2; border-radius: var(--radius) var(--radius-sm) var(--radius-sm) var(--radius); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic-tile:hover img { transform: scale(1.07); }
.mosaic-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; background: rgba(8, 32, 46, .55); color: #fff; font-weight: 800; font-size: 1.3rem; transition: background .3s; }
.mosaic-tile:hover .mosaic-more { background: rgba(8, 32, 46, .7); }
.apt-layout { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; }
.apt-main > div + div { margin-top: 2.8rem; }
.apt-main h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--navy); }
.apt-main h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px -8px rgba(11, 42, 60, .35); font-weight: 600; font-size: .94rem; transition: transform .3s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip .ico { color: var(--sea); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.feature-list .ico { color: var(--coral); margin-top: .2rem; }
.apt-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: .8rem; }
.aside-row { display: flex; align-items: flex-start; gap: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.aside-row .ico { color: var(--sea); margin-top: .15rem; }
.aside-row strong { display: block; font-family: var(--sans); }
.aside-row div span { font-weight: 500; color: var(--muted); }
.aside-card .btn { margin-top: .3rem; }

.pricing { padding: 100px 0; background: var(--navy); color: #fff; overflow: hidden; }
.pricing::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 191, 190, .25), transparent 70%); }
.pricing .section-head h2 { color: #fff; }
.pricing .section-num { color: var(--turq); }
.price-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .8rem; position: relative; }
.price-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm); padding: 1.4rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: transform .35s var(--ease), background .3s; }
.price-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); }
.price-card .ico { color: var(--turq); }
.price-period { font-size: .88rem; opacity: .8; font-weight: 600; }
.price-value { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.price-card:last-child .price-value { font-size: 1.15rem; padding-top: .5rem; }
.price-card.peak { background: linear-gradient(160deg, var(--coral), var(--sun)); border-color: transparent; box-shadow: 0 20px 40px -18px rgba(255, 122, 89, .8); }
.price-card.peak .ico { color: #fff; }
.price-card.peak .price-period { opacity: 1; }
.price-note { text-align: center; opacity: .75; margin: 1.5rem 0 3rem; }
.price-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255, 255, 255, .06); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; }
.info-item .ico { color: var(--sun); margin-top: .2rem; }
.info-item p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.apt-switch { padding: 0; background: #08202e; }
.apt-switch-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 0; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.apt-switch-link { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.25rem; transition: color .2s, gap .3s var(--ease); }
.apt-switch-link:hover { color: var(--turq); gap: .9rem; }
.apt-switch-all { font-size: .9rem; font-weight: 700; opacity: .7; }
.apt-switch-all:hover { opacity: 1; }
.apt-switch + .footer { margin-top: 0; }
.apt-switch + .footer .wave-footer { display: none; }

/* ---------- Trips ---------- */
.trips-intro { padding: 90px 0 40px; }
.trips-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.trips-intro h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); }
.trips-quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--sea); border-left: 3px solid var(--coral); padding-left: 1.3rem; margin-top: 1.5rem; }
.trips-intro-text p { color: var(--muted); }
.trips-intro-text p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.2rem; line-height: .85; padding: .3rem .6rem 0 0; color: var(--coral); }
.trips { padding: 60px 0 110px; }
.trip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trip-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.trip-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--turq), var(--sea)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.trip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trip-card:hover::before { transform: scaleX(1); }
.trip-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--turq); opacity: .55; margin-bottom: .8rem; transition: opacity .3s, color .3s; }
.trip-card:hover .trip-num { opacity: 1; color: var(--coral); }
.trip-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; }
.trip-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }
.trip-map { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--sea); }

/* ---------- CTA ---------- */
.cta { padding: 130px 0 150px; text-align: center; color: #fff; overflow: hidden; background: var(--navy); }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 42, 60, .85), rgba(15, 138, 155, .6)); }
.cta-inner { position: relative; z-index: 1; max-width: 720px; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta p { font-size: 1.2rem; opacity: .92; margin-bottom: 2rem; }

/* ---------- Shops ---------- */
.shops { padding: 90px 0 40px; }
.shop-group + .shop-group { margin-top: 4.5rem; }
.shop-group-head { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 1.8rem; max-width: 820px; }
.shop-group-icon { width: 64px; height: 64px; border-radius: 20px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--turq); }
.shop-group-icon .ico { width: 30px; height: 30px; }
.shop-group-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--navy); margin-bottom: .2em; }
.shop-group-head p { color: var(--muted); margin: 0; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shop-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; background: #fff; border-radius: var(--radius-sm); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shop-card h3 { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; color: var(--navy); margin-bottom: .3rem; }
.shop-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.shop-go { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--turq-soft); color: var(--sea); transition: background .3s, color .3s, transform .3s var(--ease); }
.shop-card:hover .shop-go { background: var(--coral); color: #fff; transform: rotate(45deg); }
.holidays { padding: 90px 0 110px; }
.holiday-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.holiday { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: 0 6px 18px -12px rgba(11, 42, 60, .4); }
.holiday-day { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; background: var(--sand); color: var(--coral); }
.holiday strong { display: block; font-size: .85rem; color: var(--sea); }
.holiday span:not(.holiday-day) { font-weight: 600; font-size: .95rem; line-height: 1.35; display: block; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: .5rem .55rem; font-size: .88rem; }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .trip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .hamburger { display: block; }
  .nav { gap: .8rem; }
  .lang { margin-left: auto; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100svh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: .2rem; margin: 0; padding: 1.5rem 20px 3rem;
    background: rgba(11, 42, 60, .97); backdrop-filter: blur(14px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .35s var(--ease);
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-menu .nav-link { font-size: 1.25rem; font-family: var(--serif); padding: .8rem 1rem; border-radius: 12px; display: flex; justify-content: space-between; }
  .nav-cta { margin: .8rem 0 0; justify-content: center !important; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; background: rgba(255, 255, 255, .05); box-shadow: none; display: none; margin: .2rem 0 .4rem; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.open .dropdown-toggle .ico { transform: rotate(180deg); }
  .dropdown .nav-link { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
  .dropdown .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }

  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { grid-column: 1 / -1; grid-row: 1; min-height: 280px; max-height: 360px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .apt-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
  .island-intro, .island-intro.reverse { grid-template-columns: 1fr; gap: 3rem; }
  .island-intro.reverse .island-photo { order: 2; }
  .island-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .apt-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .apt-aside { position: static; }
  .price-info { grid-template-columns: 1fr; }
  .trips-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .trip-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .holiday-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .premium-bg, .cta-bg { background-attachment: scroll; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand span { display: none; }
  .hero-content { padding: 120px 0 150px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-dots { left: 16px; right: auto; bottom: 120px; }
  .scroll-cue { display: none; }
  .wave { height: 50px; }
  .wave-contact, .wave-footer { top: -49px; }
  .about, .apartments, .gallery, .island { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { padding: 1.6rem; }
  .stats { grid-template-columns: 1fr 1fr; padding: 1.2rem; gap: .5rem; }
  .stat { flex-direction: column; align-items: flex-start; gap: .4rem; padding: .6rem; border-left: 0 !important; }
  .stat strong { font-size: 1.6rem; }
  .apt-grid { grid-template-columns: 1fr; }
  .apt-card-img { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: .6rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 300px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px 120px; }
  .mosaic-tile.main { grid-column: 1 / -1; grid-row: auto; border-radius: var(--radius); }
  .mosaic-tile:nth-child(n+6) { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card:last-child { grid-column: 1 / -1; }
  .trip-grid, .shop-grid, .holiday-grid { grid-template-columns: 1fr; }
  .shop-group-head { flex-direction: column; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .apt-switch-inner { flex-wrap: wrap; justify-content: center; }
  .apt-switch-all { order: 3; width: 100%; text-align: center; }
  .lb-prev, .lb-next { top: auto; bottom: 2vh; translate: none; }
  .lb-bar { bottom: calc(2vh + 64px); }
  .page-hero { min-height: 52vh; }
  .page-hero-content { padding: 130px 0 90px; }
}
