/* ── Adriatic Yacht Guide — Global Stylesheet v2 ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:      #0d2640;
  --navy-mid:  #163650;
  --aegean:    #1e6fa8;
  --aegean-dk: #155a8a;
  --aegean-lt: #3a8ec4;
  --terracotta:#c4522a;
  --terra-dk:  #a84323;
  --gold:      #c8973a;
  --gold-lt:   #e2b86a;
  --ivory:     #faf8f4;
  --cream:     #f2ede4;
  --muted:     #536271;
  --muted-lt:  #7a8fa0;
  --border:    #ddd8cf;
  --border-lt: #eee9e0;
  --white:     #ffffff;
  --text:      #0d2640;

  --radius:    12px;
  --radius-sm: 7px;
  --shadow:    0 8px 32px rgba(13,38,64,.12);
  --shadow-sm: 0 2px 12px rgba(13,38,64,.08);
  --shadow-lg: 0 16px 56px rgba(13,38,64,.18);
  --transition:0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--aegean); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--aegean-dk); }

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.18; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
  display: block;
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section     { padding: 80px 0; }
.section--light { background: var(--ivory); }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--navy); color: var(--white); }
.section-title  { margin-bottom: 0.8rem; }
.section-intro  { max-width: 600px; color: var(--muted); margin-bottom: 2.8rem; font-size: 1.02rem; line-height: 1.7; }
.section--dark .section-intro { color: rgba(255,255,255,.65); }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  border: 2px solid transparent; white-space: nowrap;
}
.btn-primary   { background: var(--terracotta); color: var(--white); box-shadow: 0 4px 14px rgba(196,82,42,.35); }
.btn-primary:hover { background: var(--terra-dk); color: var(--white); box-shadow: 0 6px 20px rgba(196,82,42,.45); transform: translateY(-1px); }
.btn-affiliate { background: var(--aegean); color: var(--white); box-shadow: 0 4px 14px rgba(30,111,168,.3); }
.btn-affiliate:hover { background: var(--aegean-dk); color: var(--white); box-shadow: 0 6px 20px rgba(30,111,168,.4); transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-gold      { background: var(--gold); color: var(--white); box-shadow: 0 4px 14px rgba(200,151,58,.3); }
.btn-gold:hover { background: #a87a2e; color: var(--white); transform: translateY(-1px); }
.btn-ghost     { background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); border: 1.5px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-sm        { padding: 9px 18px; font-size: 0.83rem; }
.btn-lg        { padding: 17px 36px; font-size: 0.97rem; }

/* ── Sticky Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,38,64,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px; max-width: 1160px; margin: 0 auto;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 9px;
}
.site-logo span { color: var(--gold); }
.logo-anchor { font-size: 1.1rem; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.75); font-size: 0.86rem; font-weight: 500;
  padding: 7px 13px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.nav-links .nav-cta {
  background: var(--terracotta); color: var(--white) !important;
  margin-left: 6px; padding: 8px 18px;
}
.nav-links .nav-cta:hover { background: var(--terra-dk); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 94vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero-adriatic.webp');
  background-size: cover; background-position: center 35%;
  transform: scale(1.04);
  transition: transform 12s ease-out;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,25,44,.62) 0%,
    rgba(10,25,44,.38) 40%,
    rgba(10,25,44,.55) 80%,
    rgba(10,25,44,.85) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 860px; padding: 0 28px;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 1.4rem; display: block;
}
.hero h1 { color: var(--white); margin-bottom: 1.3rem; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero h1 em { color: var(--gold-lt); font-style: italic; }
.hero-desc {
  font-size: 1.08rem; color: rgba(255,255,255,.8);
  max-width: 580px; margin: 0 auto 2.4rem;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; }
.chip {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.88);
  font-size: 0.78rem; font-weight: 500;
  padding: 7px 15px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,.22);
  transition: all var(--transition);
}
.chip:hover { background: rgba(255,255,255,.2); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,.45); font-size: 0.68rem; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollFade 2s ease-in-out infinite;
}
@keyframes scrollFade { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ── Stats band ──────────────────────────────────────────────────────────────── */
.stats-band {
  background: linear-gradient(135deg, var(--aegean) 0%, var(--navy-mid) 100%);
  padding: 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  text-align: center;
}
.stat-item {
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.07); }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem; font-weight: 800; color: var(--white); display: block;
  line-height: 1;
}
.stat-label { font-size: 0.77rem; color: rgba(255,255,255,.65); font-weight: 500; margin-top: 6px; display: block; }

/* ── Card grid ───────────────────────────────────────────────────────────────── */
.card-grid     { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card-grid--2  { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.card-grid--2x2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4  { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border); }

.card-img {
  width: 100%; height: 200px; object-fit: cover;
  display: block; transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.04); }
.card-img-wrap { overflow: hidden; }

.card-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--aegean) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
}

.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 0.5rem; display: block;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.55rem; color: var(--navy); }
.card p  { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; flex: 1; line-height: 1.6; }
.card-link {
  font-size: 0.84rem; font-weight: 600; color: var(--aegean);
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto;
  transition: all var(--transition);
}
.card-link::after { content: '→'; transition: transform var(--transition); }
.card-link:hover { color: var(--terracotta); }
.card-link:hover::after { transform: translateX(3px); }

/* Photo card variant — large image cards for destinations */
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow); cursor: pointer;
  transition: all var(--transition);
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.photo-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,38,64,.88) 0%, rgba(13,38,64,.2) 55%, transparent 100%);
  z-index: 1;
}
.photo-card-body {
  position: relative; z-index: 2; padding: 28px;
}
.photo-card-body .card-tag { color: var(--gold-lt); }
.photo-card-body h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.4rem; }
.photo-card-body p  { color: rgba(255,255,255,.75); font-size: 0.87rem; margin-bottom: 1rem; line-height: 1.55; }
.photo-card-body .card-link { color: var(--gold-lt); }
.photo-card-body .card-link:hover { color: var(--white); }

/* ── CTA Box ─────────────────────────────────────────────────────────────────── */
.cta-box {
  background: var(--ivory);
  border-left: 4px solid var(--aegean);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.cta-box--gold  { border-left-color: var(--gold); }
.cta-box--terra { border-left-color: var(--terracotta); }
.cta-box--dark  { background: rgba(255,255,255,.06); border-left-color: var(--gold); }
.cta-box__title { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 0.4rem; color: var(--navy); }
.cta-box--dark .cta-box__title { color: var(--white); }
.cta-box__desc  { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.6; }
.cta-box--dark .cta-box__desc { color: rgba(255,255,255,.62); }
.cta-box__buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Route card ──────────────────────────────────────────────────────────────── */
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.route-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 26px;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.route-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); transform: translateY(-3px); }
.route-card::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 110px; height: 110px;
  background: radial-gradient(circle, rgba(200,151,58,.18) 0%, transparent 70%);
}
.route-card .eyebrow { color: var(--gold-lt); }
.route-card h3 { color: var(--white); margin-bottom: 0.6rem; }
.route-card p  { color: rgba(255,255,255,.68); font-size: 0.89rem; margin-bottom: 1.3rem; line-height: 1.6; }
.route-stops { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.stop-chip {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.82);
  font-size: 0.75rem; font-weight: 500; padding: 4px 11px; border-radius: 30px;
  border: 1px solid rgba(255,255,255,.18);
}

/* ── Persona grid ────────────────────────────────────────────────────────────── */
.persona-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.persona-card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 26px;
  border-top: 4px solid var(--aegean);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.persona-card--couples   { border-top-color: var(--gold); }
.persona-card--adventure { border-top-color: var(--terracotta); }
.persona-card--luxury    { border-top-color: var(--navy); }
.persona-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.persona-card h4 { margin-bottom: 0.4rem; color: var(--navy); font-size: 1.05rem; }
.persona-card p  { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

/* ── Comparison table ────────────────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.89rem; border-radius: var(--radius); overflow: hidden; }
.compare-table thead { background: var(--navy); }
.compare-table th { color: var(--white); padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.83rem; letter-spacing: .03em; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-lt); color: var(--text); }
.compare-table tr:nth-child(even) td { background: var(--ivory); }
.compare-table tr:hover td { background: var(--cream); }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 30px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: .04em;
}
.badge--best { background: #d4f0d8; color: #236a2e; }
.badge--good { background: #daeefa; color: #1a5f94; }
.badge--note { background: #fef3dc; color: #7a5500; }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border-lt); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 19px 0; font-family: 'Inter', sans-serif; font-size: 0.96rem;
  font-weight: 600; color: var(--navy); display: flex; justify-content: space-between;
  align-items: center; gap: 16px; transition: color var(--transition);
}
.faq-q:hover { color: var(--aegean); }
.faq-q .faq-icon { font-size: 1.4rem; color: var(--aegean); flex-shrink: 0; transition: transform .25s; font-weight: 300; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 18px; font-size: 0.91rem; color: var(--muted); line-height: 1.72; }
.faq-item.open .faq-a { display: block; }

/* ── Featured callout band ───────────────────────────────────────────────────── */
.feature-band {
  background: linear-gradient(135deg, #071828 0%, var(--navy) 100%);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.feature-band::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,111,168,.2) 0%, transparent 65%);
}
.feature-band::after {
  content: ''; position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,151,58,.12) 0%, transparent 65%);
}

/* ── Trust bar ───────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--cream); border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.trust-item {
  font-size: 0.8rem; font-weight: 600; color: var(--muted-lt);
  display: flex; align-items: center; gap: 7px; letter-spacing: .02em;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Blog preview cards ─────────────────────────────────────────────────────── */
.blog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border-lt);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img {
  width: 100%; height: 210px; object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.75rem; color: var(--muted-lt); margin-bottom: 0.6rem; display: flex; gap: 12px; align-items: center; }
.blog-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ── Breadcrumb ─────────────────────────────────────────────────────────────── */
.breadcrumb { font-size: 0.83rem; color: var(--muted-lt); margin-bottom: 2rem; }
.breadcrumb a { color: var(--muted-lt); }
.breadcrumb a:hover { color: var(--aegean); }
.breadcrumb-sep { margin: 0 6px; opacity: .5; }

/* ── Breadcrumb bar (page top) ───────────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--cream); border-bottom: 1px solid var(--border-lt);
  padding: 10px 0; font-size: 0.82rem;
}

/* ── Active nav link ─────────────────────────────────────────────────────────── */
.nav-active { color: var(--white) !important; background: rgba(255,255,255,.12) !important; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer { background: #060e17; color: rgba(255,255,255,.55); padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .site-logo { font-size: 1.15rem; margin-bottom: 14px; }
.footer-desc { font-size: 0.85rem; line-height: 1.65; margin-bottom: 18px; max-width: 280px; }
.footer-col h5 {
  font-family: 'Inter', sans-serif; font-size: 0.72rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,.88); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px; display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 12px;
}
.footer-disclosure {
  font-size: 0.73rem; color: rgba(255,255,255,.3);
  max-width: 600px; line-height: 1.55;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,.28); white-space: nowrap; }

/* ── Section divider ─────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border-lt); margin: 0; }

/* ── Scroll-reveal ───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ── Inner page hero backgrounds ────────────────────────────────────────────── */
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-color: #071828;
  background-size: cover; background-position: center 35%;
  transform: scale(1.04);
  /* Fallback gradient when image loads slowly */
  background-image: linear-gradient(160deg, #071828 0%, #0d3a5c 40%, #1a5a82 70%, #0d2640 100%);
}
.hero-bg-pattern::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,25,44,.55) 0%,
    rgba(10,25,44,.28) 40%,
    rgba(10,25,44,.48) 80%,
    rgba(10,25,44,.82) 100%
  );
}
.hero--croatia    .hero-bg-pattern { background-image: url('card-croatia.webp'); }
.hero--montenegro .hero-bg-pattern { background-image: url('card-montenegro.webp'); }
.hero--routes     .hero-bg-pattern { background-image: url('card-bareboat.webp'); }
.hero--villa      .hero-bg-pattern { background-image: url('card-villa-yacht.webp'); }
.hero--blog       .hero-bg-pattern { background-image: url('hero-adriatic.webp'); background-position: center 55%; }
.hero--getting-there .hero-bg-pattern { background-image: url('card-crewed.webp'); }
/* Fallback for any hero without a specific bg */
.hero .hero-bg-pattern:not([class*='--']) {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--aegean-dk) 100%);
}

/* ── Card image placeholder — rich gradient variants ─────────────────────────── */
.card-img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0; /* hide emoji text */
  position: relative; overflow: hidden;
}
/* Base gradient — Croatian blue */
.card-img-placeholder {
  background: linear-gradient(135deg, #0d2640 0%, #1e6fa8 60%, #3a8ec4 100%);
}
/* Variant by nth-child for visual variety */
.card:nth-child(2n) .card-img-placeholder   { background: linear-gradient(135deg, #163650 0%, #1e6fa8 55%, #c8973a 100%); }
.card:nth-child(3n) .card-img-placeholder   { background: linear-gradient(135deg, #071828 0%, #155a8a 60%, #2a7ab8 100%); }
.card:nth-child(4n) .card-img-placeholder   { background: linear-gradient(135deg, #0d2640 0%, #c4522a 60%, #c8973a 100%); }
.card:nth-child(5n) .card-img-placeholder   { background: linear-gradient(135deg, #163650 0%, #1a6a3e 60%, #2a8a52 100%); }
/* Add subtle shimmer line */
.card-img-placeholder::before {
  content: '';
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: skewX(-15deg);
}
/* Decorative wave icon */
.card-img-placeholder::after {
  content: '⚓';
  font-size: 2.8rem; opacity: 0.18; color: white;
  position: absolute;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(13,38,64,.98); backdrop-filter: blur(12px);
    padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.1);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .card-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .card-grid, .card-grid--4, .card-grid--2x2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .trust-bar-inner { gap: 18px; }
  .container { padding: 0 18px; }
  .hero h1 { font-size: 2.1rem; }
}
