/*
Theme Name: HAVEN Starter
Theme URI: https://haven-retreat.hr
Author: BOGU Design
Author URI: https://bogu.design
Description: Awwwards-quality vacation rental WordPress theme. Organic luxury aesthetic with warm earth & ocean palette, glass morphism cards, sticky booking bar, fullbleed imagery, bilingual HR/EN, parallax hero, horizontal features timeline, floating navigation and rich micro-interactions. Built for holiday homes, villas and boutique retreats.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haven-starter
Tags: one-column, custom-menu, featured-images, translation-ready, holiday-rental

HAVEN Starter — Your escape begins here.
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Figtree:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

:root {
  --c-sand: #f7f3ee;
  --c-linen: #efe9e0;
  --c-parchment: #e6ddd2;
  --c-clay: #c4a882;
  --c-terracotta: #b87351;
  --c-rust: #9c5a3c;
  --c-ocean: #3d7a8a;
  --c-ocean-light: #6ba3b0;
  --c-ocean-deep: #2c5f6e;
  --c-ink: #1e2a2d;
  --c-ink-soft: #3d4f54;
  --c-ink-muted: #7a8e94;
  --c-white: #ffffff;
  --c-glass: rgba(255,255,255,0.65);
  --c-glass-border: rgba(255,255,255,0.25);
  --c-shadow: rgba(30,42,45,0.08);

  --f-serif: 'Libre Baskerville', 'Georgia', serif;
  --f-sans: 'Figtree', 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

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

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-sand); }
::-webkit-scrollbar-thumb { background: var(--c-clay); border-radius: 4px; }

body {
  font-family: var(--f-sans);
  font-weight: 400;
  background: var(--c-sand);
  color: var(--c-ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-ocean); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }

.bound {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ═══════ HAVEN CURSOR — WATER TRAIL ═══════ */
/*
  1. .cur-tip   — small leading droplet, instant
  2. .cur-trail — canvas overlay for fading water trail dots
*/
.cur-tip {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-ocean);
  box-shadow: 0 0 0 2px rgba(61,122,138,0.2);
  pointer-events: none;
  z-index: 2147483647;
  will-change: transform;
  backface-visibility: hidden;
  transition: width  0.15s var(--ease-bounce),
              height 0.15s var(--ease-bounce),
              background 0.15s,
              box-shadow 0.15s,
              border-radius 0.15s;
}

/* State: link hover — tipka postaje kapljica */
body.cur-link .cur-tip {
  width: 20px; height: 20px;
  background: var(--c-ocean-deep);
  box-shadow: 0 0 0 4px rgba(61,122,138,0.12);
}

/* State: drag */
body.cur-drag .cur-tip {
  width: 16px; height: 16px;
  background: var(--c-clay);
  box-shadow: 0 0 0 3px rgba(196,168,130,0.18);
}

/* State: text input */
body.cur-text .cur-tip {
  width: 2px; height: 20px;
  border-radius: 1px;
  background: var(--c-ocean);
  box-shadow: none;
}

/* Canvas za trail — fullscreen, iznad svega */
#cur-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483646; /* ispod cur-tip */
}

/* Hidden until first move */
.cur-tip.hidden { opacity: 0 !important; }
#cur-canvas.hidden { opacity: 0 !important; }

@media (hover: hover) and (pointer: fine) {
  body, body * { cursor: none !important; }
  .cur-tip { display: block; }
  #cur-canvas { display: block; }
}
@media (hover: none), (pointer: coarse) {
  .cur-tip, #cur-canvas { display: none !important; }
}

.ring-cursor { display: none !important; }



/* ═══════ INTRO LOADER ═══════ */
.intro-loader {
  position: fixed; inset: 0;
  background: var(--c-sand);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-direction: column;
}
.intro-loader.bye {
  animation: loaderSplit 0.8s var(--ease-smooth) 0.15s forwards;
}
@keyframes loaderSplit {
  to { clip-path: polygon(0 0,100% 0,100% 0,0 0); }
}
.intro-loader__name {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem,5vw,3rem);
  font-weight: 400;
  color: var(--c-ink);
  letter-spacing: 0.06em;
}
.intro-loader__wave {
  width: 48px; height: 24px;
  position: relative;
}
.intro-loader__wave span {
  position: absolute;
  bottom: 0;
  width: 4px;
  background: var(--c-ocean);
  border-radius: 2px;
  animation: waveBar 1s ease-in-out infinite;
}
.intro-loader__wave span:nth-child(1) { left: 0; animation-delay: 0s; }
.intro-loader__wave span:nth-child(2) { left: 11px; animation-delay: 0.15s; }
.intro-loader__wave span:nth-child(3) { left: 22px; animation-delay: 0.3s; }
.intro-loader__wave span:nth-child(4) { left: 33px; animation-delay: 0.45s; }
.intro-loader__wave span:nth-child(5) { left: 44px; animation-delay: 0.6s; }
@keyframes waveBar {
  0%,100% { height: 6px; }
  50% { height: 22px; }
}

/* ═══════ DEMO BAR ═══════ */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10001;
  background: var(--c-ink);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 var(--gutter);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-bar__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-clay);
  flex-shrink: 0;
  animation: demoPulse 2s ease-in-out infinite;
}
@keyframes demoPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.demo-bar__text { color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; }
.demo-bar__cta {
  flex-shrink: 0;
  background: var(--c-terracotta);
  color: #fff !important;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  text-decoration: none;
}
.demo-bar__cta:hover { background: var(--c-rust); }

@media(max-width:600px) {
  .demo-bar__text { display: none; }
}

/* ═══════ NAV ═══════ */
.topbar {
  position: fixed; top: 36px; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 9999;
  transition: background 0.5s var(--ease), box-shadow 0.5s;
  /* Subtle dark gradient so links always visible on any hero image */
  background: linear-gradient(180deg, rgba(20,30,33,0.55) 0%, rgba(20,30,33,0.0) 100%);
}
.topbar.pinned {
  background: rgba(247,243,238,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(30,42,45,0.08);
}

/* Links white on hero, dark when pinned */
.topbar__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  position: relative;
  transition: color 0.3s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.topbar__link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.topbar__link:hover,
.topbar__link.here { color: #fff; }
.topbar__link:hover::before,
.topbar__link.here::before { transform: scaleX(1); }

/* When pinned — dark links again */
.topbar.pinned .topbar__link {
  color: var(--c-ink-soft);
  text-shadow: none;
}
.topbar.pinned .topbar__link::before { background: var(--c-ocean); }
.topbar.pinned .topbar__link:hover,
.topbar.pinned .topbar__link.here { color: var(--c-ink); }

.topbar__row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__nav { display: flex; gap: 2rem; align-items: center; }
@media(max-width:1024px) { .topbar__nav { display: none; } }

.topbar__end { display: flex; align-items: center; gap: 1rem; }

/* Brand — white on hero */
.topbar__brand {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  transition: color 0.3s, text-shadow 0.3s;
}
.topbar__brand em { color: rgba(196,168,130,0.95); font-style: italic; }
.topbar.pinned .topbar__brand { color: var(--c-ink); text-shadow: none; }
.topbar.pinned .topbar__brand em { color: var(--c-ocean); }

/* Lang capsule — white border on hero */
.lang-cap {
  display: flex;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color 0.3s;
}
.topbar.pinned .lang-cap { border-color: var(--c-parchment); }

.lang-cap__btn {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  transition: background 0.25s, color 0.25s;
  color: rgba(255,255,255,0.7);
}
.topbar.pinned .lang-cap__btn { color: var(--c-ink-muted); }
.lang-cap__btn.live {
  background: var(--c-ocean);
  color: #fff;
}

/* Burger — white on hero */
.burger span { background: #fff; transition: background 0.3s, transform 0.4s var(--ease), opacity 0.3s; }
.topbar.pinned .burger span { background: var(--c-ink); }

/* CTA */
.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}
.cta-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--c-shadow); }
.cta-chip--ocean { background: var(--c-ocean); color: #fff; }
.cta-chip--ocean:hover { background: var(--c-ocean-deep); }
.cta-chip--ghost { border: 1.5px solid var(--c-ink); color: var(--c-ink); background: transparent; }
.cta-chip--ghost:hover { background: var(--c-ink); color: var(--c-sand); }
.cta-chip--sand { background: var(--c-sand); color: var(--c-ink); }
.cta-chip--sand:hover { background: var(--c-linen); }
.cta-chip--terra { background: var(--c-terracotta); color: #fff; }
.cta-chip--terra:hover { background: var(--c-rust); }
.cta-chip__arrow { font-size: 0.9rem; transition: transform 0.3s; }
.cta-chip:hover .cta-chip__arrow { transform: translateX(3px); }

@media(max-width:768px) { .cta-chip--nav { display: none; } }

/* Burger */
.burger { display: none; width: 26px; height: 18px; position: relative; flex-direction: column; justify-content: space-between; z-index: 100; }
@media(max-width:1024px) { .burger { display: flex; } }
.burger span { width: 100%; height: 2px; border-radius: 1px; transform-origin: center; }
.burger.on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ═══════ MOBILE OVERLAY ═══════ */
.mob-overlay {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
}
.mob-overlay.on { pointer-events: all; }
.mob-overlay__bg {
  position: absolute; inset: 0;
  background: rgba(247,243,238,0.97);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.45s;
}
.mob-overlay.on .mob-overlay__bg { opacity: 1; }
.mob-overlay__body {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 0.6rem;
}
.mob-overlay__item {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem,5vw,3rem);
  font-weight: 400;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}
.mob-overlay.on .mob-overlay__item { opacity: 1; transform: translateY(0); }
.mob-overlay.on .mob-overlay__item:nth-child(1) { transition-delay: 0.05s; }
.mob-overlay.on .mob-overlay__item:nth-child(2) { transition-delay: 0.1s; }
.mob-overlay.on .mob-overlay__item:nth-child(3) { transition-delay: 0.15s; }
.mob-overlay.on .mob-overlay__item:nth-child(4) { transition-delay: 0.2s; }
.mob-overlay.on .mob-overlay__item:nth-child(5) { transition-delay: 0.25s; }
.mob-overlay.on .mob-overlay__item:nth-child(6) { transition-delay: 0.3s; }
.mob-overlay__item:hover { color: var(--c-ocean); }

/* ═══════ HERO — FULLBLEED WITH GLASS CARD ═══════ */
.hero-full {
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-full__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 20s ease-in-out alternate infinite;
}
@keyframes heroDrift {
  from { transform: scale(1) translate(0,0); }
  to { transform: scale(1.04) translate(-0.5%,-0.5%); }
}
.hero-full__dim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,42,45,0.15) 0%, rgba(30,42,45,0.05) 30%, rgba(30,42,45,0.35) 70%, rgba(30,42,45,0.75) 100%);
}
.hero-full__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-full__text { max-width: 600px; color: #fff; }
.hero-full__tag {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-clay);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-full__tag-dot { width: 6px; height: 6px; background: var(--c-clay); border-radius: 50%; }
.hero-full__h {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem,6vw,4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-full__h em { font-style: italic; color: var(--c-clay); }
.hero-full__p {
  font-size: clamp(0.9rem,1.2vw,1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 2rem;
}
.hero-full__btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Glass info card */
.glass-card {
  background: var(--c-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  min-width: 260px;
  color: var(--c-ink);
}
.glass-card__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
}
.glass-card__row + .glass-card__row { border-top: 1px solid rgba(30,42,45,0.06); }
.glass-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(61,122,138,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.glass-card__label { font-size: 0.7rem; color: var(--c-ink-muted); }
.glass-card__value { font-weight: 600; font-size: 0.88rem; }

@media(max-width:900px) {
  .hero-full__inner { flex-direction: column; align-items: flex-start; }
  .glass-card { width: 100%; }
}

/* ═══════ STICKY BOOKING BAR ═══════ */
.booking-bar {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 12px 14px 12px 28px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 12px 40px rgba(30,42,45,0.25);
  transition: bottom 0.5s var(--ease);
  white-space: nowrap;
}
.booking-bar.show { bottom: 1.5rem; }
.booking-bar__text { font-size: 0.82rem; font-weight: 500; }
.booking-bar__price {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-clay);
}
.booking-bar__sep { width: 1px; height: 28px; background: rgba(255,255,255,0.15); }
@media(max-width:600px) {
  .booking-bar { padding: 10px 10px 10px 20px; gap: 0.75rem; max-width: calc(100vw - 2rem); }
  .booking-bar__text { display: none; }
  .booking-bar__price { font-size: 0.95rem; }
}

/* ═══════ SECTIONS ═══════ */
.sec { padding: clamp(5rem,10vw,9rem) 0; }
.sec--linen { background: var(--c-linen); }
.sec--ink { background: var(--c-ink); color: #fff; }

.sec-tag {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ocean);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.sec-tag__line { width: 20px; height: 1.5px; background: var(--c-ocean); border-radius: 1px; }

.sec-h {
  font-family: var(--f-serif);
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 400;
  line-height: 1.15;
}
.sec-h em { font-style: italic; color: var(--c-ocean); }

.sec-p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-ink-soft);
  max-width: 520px;
  line-height: 1.9;
  margin-top: 1rem;
}

/* ═══════ ABOUT — TWO COL WITH ORGANIC IMAGE ═══════ */
.about-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,5rem);
  align-items: center;
}
@media(max-width:900px) { .about-duo { grid-template-columns: 1fr; } }

.about-duo__img-wrap {
  position: relative;
}
.about-duo__img {
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  overflow: hidden;
  aspect-ratio: 5/6;
  animation: organicMorph 12s ease-in-out infinite alternate;
}
@keyframes organicMorph {
  0% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  33% { border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%; }
  66% { border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%; }
  100% { border-radius: 60% 40% 45% 55% / 40% 55% 45% 60%; }
}
.about-duo__img img { width: 100%; height: 100%; object-fit: cover; }

.about-duo__badge {
  position: absolute;
  bottom: 1rem; right: -0.5rem;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 32px var(--c-shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-duo__badge-num {
  font-family: var(--f-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-ocean);
  line-height: 1;
}
.about-duo__badge-label { font-size: 0.72rem; color: var(--c-ink-muted); line-height: 1.3; }

.about-duo__body p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-ink-soft);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

/* Highlights strip */
.hl-strip {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-parchment);
  flex-wrap: wrap;
}
.hl-strip__item {}
.hl-strip__num {
  font-family: var(--f-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-terracotta);
  line-height: 1;
}
.hl-strip__label {
  font-size: 0.72rem;
  color: var(--c-ink-muted);
  margin-top: 0.25rem;
}

/* ═══════ FEATURES — HORIZONTAL SCROLL CARDS ═══════ */
.feat-scroll { overflow: hidden; }
.feat-scroll__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem var(--gutter) 2rem;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
}
.feat-scroll__track:active { cursor: grabbing; }
.feat-scroll__track::-webkit-scrollbar { display: none; }

.feat-card {
  flex: 0 0 auto;
  width: clamp(260px,26vw,320px);
  scroll-snap-align: start;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--c-shadow);
}
.feat-card__emoji { font-size: 2rem; margin-bottom: 1rem; }
.feat-card__title {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feat-card__desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-ink-soft);
  line-height: 1.7;
}

.feat-scroll__hint {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--c-ink-muted);
  margin-top: 1rem;
}

/* ═══════ GALLERY — STAGGERED GRID ═══════ */
.stagger-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.stagger-grid__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.stagger-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.stagger-grid__item:hover img { transform: scale(1.06); }
.stagger-grid__item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.stagger-grid__item:nth-child(2) { grid-column: 8 / 13; }
.stagger-grid__item:nth-child(3) { grid-column: 8 / 13; }
.stagger-grid__item:nth-child(4) { grid-column: 1 / 5; }
.stagger-grid__item:nth-child(5) { grid-column: 5 / 9; }
.stagger-grid__item:nth-child(6) { grid-column: 9 / 13; }
@media(max-width:768px) {
  .stagger-grid { grid-template-columns: 1fr 1fr; }
  .stagger-grid__item { grid-column: auto!important; grid-row: auto!important; }
}

/* ═══════ REVIEWS — INLINE MARQUEE OF CARDS ═══════ */
.rev-belt { overflow: hidden; padding: 2rem 0; }
.rev-belt__track {
  display: flex;
  width: max-content;
  animation: beltSlide 40s linear infinite;
}
.rev-belt:hover .rev-belt__track { animation-play-state: paused; }
@keyframes beltSlide { to { transform: translateX(-50%); } }

.rev-chip {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 0 0.75rem;
  min-width: 320px;
  max-width: 380px;
  flex-shrink: 0;
}
.rev-chip__stars { color: var(--c-terracotta); font-size: 0.8rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.rev-chip__text { font-size: 0.92rem; font-weight: 300; color: var(--c-ink-soft); line-height: 1.75; font-style: italic; margin-bottom: 1rem; }
.rev-chip__who { font-weight: 600; font-size: 0.85rem; }
.rev-chip__from { font-size: 0.7rem; color: var(--c-ink-muted); margin-top: 2px; }

/* ═══════ MAP ═══════ */
.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  margin: 0 var(--gutter);
}
.map-block iframe {
  width: 100%; height: 100%; border: 0;
  filter: saturate(0.8) contrast(1.05);
  transition: filter 0.5s;
}
.map-block:hover iframe { filter: saturate(1); }

/* ═══════ CTA SECTION ═══════ */
.cta-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 var(--gutter);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-image__bg {
  position: absolute; inset: 0;
}
.cta-image__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-image__bg::after { content:''; position: absolute; inset: 0; background: rgba(30,42,45,0.55); }
.cta-image__body { position: relative; z-index: 2; padding: 3rem 2rem; color: #fff; }
.cta-image__h {
  font-family: var(--f-serif);
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-image__h em { font-style: italic; color: var(--c-clay); }
.cta-image__p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.7); max-width: 460px; margin: 0 auto 2rem; line-height: 1.8; }

/* ═══════ CONTACT — FORM CARD ═══════ */
.form-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem,4vw,3rem);
  box-shadow: 0 8px 32px var(--c-shadow);
}
.field { margin-bottom: 1.5rem; }
.field__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  margin-bottom: 0.4rem;
  display: block;
}
.field__input, .field__textarea, .field__select {
  width: 100%;
  background: var(--c-sand);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--f-sans);
  font-size: 0.92rem;
  color: var(--c-ink);
  transition: border-color 0.3s;
  outline: none;
}
.field__input:focus, .field__textarea:focus, .field__select:focus { border-color: var(--c-ocean); }
.field__textarea { min-height: 110px; resize: vertical; }
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L1 3h8z' fill='%233d7a8a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Contact info */
.contact-block { margin-bottom: 2rem; }
.contact-block__tag {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ocean);
  margin-bottom: 0.4rem;
}
.contact-block__val {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 400;
}
.contact-block__val a:hover { color: var(--c-ocean); }

/* ═══════ INNER PAGE HERO ═══════ */
.pg-top {
  padding: calc(var(--nav-h) + 36px + 4rem) 0 4rem;
  background: var(--c-linen);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pg-top__orb {
  position: absolute;
  border-radius: 50%;
  background: var(--c-ocean-light);
  opacity: 0.04;
}
.pg-top__orb--a { width: 350px; height: 350px; top: -100px; left: -60px; }
.pg-top__orb--b { width: 250px; height: 250px; bottom: -80px; right: -40px; }
.pg-top__crumb { font-size: 0.78rem; color: var(--c-ink-muted); margin-bottom: 0.75rem; }
.pg-top__crumb a:hover { color: var(--c-ocean); }
.pg-top__title {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem,5vw,4rem);
  font-weight: 400;
}
.pg-top__title em { font-style: italic; color: var(--c-ocean); }

/* ═══════ PRICING ═══════ */
.rate-box {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s;
}
.rate-box:hover { box-shadow: 0 8px 24px var(--c-shadow); }
.rate-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.rate-box__season {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 700;
}
.rate-box__price {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-ocean);
}
.rate-box__price small { font-size: 0.7rem; font-weight: 400; color: var(--c-ink-muted); }
.rate-box__dates { font-size: 0.82rem; color: var(--c-ink-muted); }
.rate-box__includes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.rate-box__tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(61,122,138,0.06);
  color: var(--c-ocean);
}

/* ═══════ FOOTER ═══════ */
.site-ft {
  background: var(--c-ink);
  color: var(--c-sand);
  padding: clamp(4rem,8vw,6rem) 0 2rem;
  margin-top: clamp(4rem,8vw,6rem);
}
.site-ft__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media(max-width:900px) { .site-ft__grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .site-ft__grid { grid-template-columns: 1fr; } }

.site-ft__brand { font-family: var(--f-serif); font-size: 1.4rem; margin-bottom: 1rem; }
.site-ft__brand em { color: var(--c-ocean-light); font-style: italic; }
.site-ft__blurb { font-size: 0.85rem; font-weight: 300; color: var(--c-ink-muted); line-height: 1.8; max-width: 300px; }
.site-ft__col-title { font-family: var(--f-serif); font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.site-ft__link { display: block; font-size: 0.82rem; font-weight: 300; color: var(--c-ink-muted); padding: 0.3rem 0; transition: color 0.3s; }
.site-ft__link:hover { color: var(--c-sand); }
.site-ft__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(247,243,238,0.08); font-size: 0.72rem; color: var(--c-ink-muted); }
@media(max-width:600px) { .site-ft__bottom { flex-direction: column; gap: 1rem; text-align: center; } }
.site-ft__top-link { color: var(--c-ocean-light); transition: opacity 0.3s; }
.site-ft__top-link:hover { opacity: 0.7; }

/* ═══════ SCROLL REVEALS ═══════ */
.sr { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.sr.in { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.07s; }
.sr-d2 { transition-delay: 0.14s; }
.sr-d3 { transition-delay: 0.21s; }
.sr-d4 { transition-delay: 0.28s; }

.sr-zoom { opacity: 0; transform: scale(0.94); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.sr-zoom.in { opacity: 1; transform: scale(1); }

.sr-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.sr-left.in { opacity: 1; transform: translateX(0); }

.sr-right { opacity: 0; transform: translateX(30px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.sr-right.in { opacity: 1; transform: translateX(0); }

/* ═══════ BILINGUAL ═══════ */
[data-lang="en"] [data-show="hr"] { display: none!important; }
[data-lang="hr"] [data-show="en"] { display: none!important; }

/* ═══════ MODALS ═══════ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(30,42,45,0.5);
  backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.modal-backdrop.vis { opacity: 1; pointer-events: all; }

.modal-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.95);
  z-index: 99999;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem,4vw,3rem);
  max-width: 520px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
  box-shadow: 0 24px 60px rgba(30,42,45,0.2);
}
.modal-box.vis { opacity: 1; transform: translate(-50%,-50%) scale(1); pointer-events: all; }
.modal-box__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.modal-box__close:hover { background: var(--c-parchment); }

/* ═══════ RESPONSIVE MOBILE FIXES ═══════ */
@media(max-width:768px) {
  /* Hero */
  .hero-full { height: 100svh; min-height: 580px; }
  .hero-full__inner { padding-bottom: 6rem; }
  .hero-full__btns { flex-direction: column; align-items: flex-start; }
  .glass-card { display: none; } /* hide glass card on mobile, booking bar covers it */

  /* About */
  .about-duo__badge { right: 0; }

  /* HL strip */
  .hl-strip { gap: 1.5rem; }

  /* Feat card */
  .feat-card { width: clamp(240px,75vw,300px); }

  /* Contact page grid */
  .contact-grid-2col { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Rates */
  .rate-box__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Sections */
  .sec { padding: clamp(3rem,8vw,5rem) 0; }
  .sec-h { font-size: clamp(1.8rem,5.5vw,2.5rem); }
}

@media(max-width:480px) {
  .hero-full__h { font-size: clamp(2rem,9vw,3rem); }
  .stagger-grid { grid-template-columns: 1fr; }
  .stagger-grid__item { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4/3; }
  .modal-box { padding: 1.5rem; }
  .pg-top__title { font-size: clamp(1.8rem,7vw,2.5rem); }
}

/* ═══════ WP defaults ═══════ */
.screen-reader-text { position: absolute!important; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }