/* =========================================================
   Kotor Compass — Mediterranean / Adriatic travel brand
   Shared stylesheet for all pages
   ========================================================= */

:root {
  /* Palette */
  --navy: #0f2d4a;         /* deep Adriatic */
  --navy-deep: #0a1f36;
  --aegean: #1e6fa8;       /* bay water / links */
  --aegean-soft: #4a8bbf;
  --terracotta: #c4552a;   /* tile roofs / primary CTA */
  --terracotta-deep: #a8451f;
  --gold: #e8a84c;         /* sunlit limestone */
  --olive: #6b7a4b;        /* cypress / olive */
  --olive-deep: #4d5836;
  --ivory: #faf7f2;        /* limestone */
  --cream: #f3ede4;        /* aged plaster */
  --ink: #1a2233;
  --muted: #5a6478;
  --line: #e3dccf;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 45, 74, 0.06), 0 2px 8px rgba(15, 45, 74, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 45, 74, 0.08), 0 12px 32px rgba(15, 45, 74, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 45, 74, 0.18);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--aegean); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--navy); }
.brand-logo {
  width: 34px;
  height: 34px;
  color: var(--terracotta);
  flex-shrink: 0;
}
.brand-mark {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--terracotta-deep); color: #fff !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; transform: translateY(-1px); }
.btn-affiliate { background: var(--aegean); color: #fff; }
.btn-affiliate:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-affiliate-sm { padding: 10px 16px; font-size: 0.88rem; background: var(--aegean); color: #fff; border-radius: 999px; }
.btn-affiliate-sm:hover { background: var(--navy); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(250, 247, 242, 0.7);
}
.btn-outline:hover { background: rgba(250, 247, 242, 0.12); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 25% 30%, rgba(232, 168, 76, 0.32), transparent 60%),
    radial-gradient(ellipse 80% 60% at 75% 75%, rgba(30, 111, 168, 0.55), transparent 65%),
    linear-gradient(165deg, #0a1f36 0%, #0f2d4a 35%, #1e6fa8 70%, #4a8bbf 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    /* mountain silhouette */
    linear-gradient(to top, rgba(10, 31, 54, 0.85) 0%, rgba(10, 31, 54, 0.4) 28%, transparent 55%),
    /* bay gleam */
    radial-gradient(ellipse 100% 30% at 50% 78%, rgba(232, 168, 76, 0.18), transparent 70%);
}
.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.95;
  pointer-events: none;
}
.hero-inner { padding: 90px 0 80px; max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 0.4em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(250, 247, 242, 0.92);
  max-width: 620px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(250, 247, 242, 0.12);
  border: 1px solid rgba(250, 247, 242, 0.22);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.chip:hover { background: rgba(250, 247, 242, 0.22); color: #fff; }

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  color: #fff;
  padding: 100px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(232, 168, 76, 0.28), transparent 65%),
    radial-gradient(ellipse 70% 60% at 85% 80%, rgba(30, 111, 168, 0.5), transparent 65%),
    linear-gradient(160deg, #0a1f36 0%, #0f2d4a 50%, #1e4f7a 100%);
}
.page-hero h1 { color: #fff; margin-bottom: 0.4em; text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.page-hero p.lede { color: rgba(250, 247, 242, 0.92); max-width: 680px; font-size: 1.1rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.78);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(250, 247, 242, 0.78); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 88px 0; }
.section--light { background: var(--ivory); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy); color: var(--ivory); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--olive { background: var(--olive-deep); color: var(--ivory); }
.section--olive h2, .section--olive h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title { max-width: 760px; margin-bottom: 0.4em; }
.section-lede { max-width: 720px; color: var(--muted); font-size: 1.08rem; margin-bottom: 48px; }
.section--dark .section-lede, .section--olive .section-lede { color: rgba(250, 247, 242, 0.84); }

/* =========================================================
   Cards
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__category {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 10px;
}
.card__title { margin: 0 0 8px; font-size: 1.18rem; }
.card__desc { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; flex: 1; }
.card__cta {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--aegean);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__cta::after { content: "→"; transition: transform 0.18s ease; }
.card__cta:hover::after { transform: translateX(4px); }

/* SVG image placeholders inside cards */
.media-svg { width: 100%; height: 100%; display: block; }

/* =========================================================
   CTA box
   ========================================================= */
.cta-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--aegean);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.cta-box--terracotta { border-left-color: var(--terracotta); }
.cta-box--gold { border-left-color: var(--gold); }
.cta-box--olive { border-left-color: var(--olive); }
.cta-box__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 700;
}
.cta-box__desc { color: var(--muted); margin: 0 0 16px; font-size: 0.98rem; }
.cta-box__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   Comparison table
   ========================================================= */
.month-table-wrap { overflow-x: auto; margin: 24px 0 12px; }
.month-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
}
.month-table th, .month-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.month-table th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.month-table tr:last-child td { border-bottom: 0; }
.month-table tr:hover td { background: var(--cream); }
.dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.dot--green { background: #5a8a4c; }
.dot--yellow { background: var(--gold); }
.dot--red { background: var(--terracotta); }
.dot--grey { background: #9ba3af; }

/* =========================================================
   Season / persona cards
   ========================================================= */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.season-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.season-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge--peak { background: rgba(196, 85, 42, 0.14); color: var(--terracotta-deep); }
.badge--sweet { background: rgba(107, 122, 75, 0.18); color: var(--olive-deep); }
.badge--shoulder { background: rgba(232, 168, 76, 0.22); color: #8b5e1a; }
.badge--offpeak { background: rgba(30, 111, 168, 0.14); color: var(--navy); }
.season-card h3 { margin-bottom: 6px; }
.season-stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.season-stat {
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}
.season-stat strong { display: block; color: var(--navy); font-size: 0.95rem; }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.persona-card {
  padding: 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--aegean);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.persona-card--couples { border-left-color: var(--terracotta); }
.persona-card--adventure { border-left-color: var(--olive); }
.persona-card--luxury { border-left-color: var(--gold); }
.persona-card--family { border-left-color: var(--aegean); }
.persona-card h4 { margin: 0 0 8px; color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; }
.persona-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.persona-card p strong { color: var(--ink); }

/* =========================================================
   Editorial / blog post
   ========================================================= */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 0;
}
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { font-size: 1.05rem; line-height: 1.78; }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin-bottom: 0.5em; }
.article blockquote {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--navy);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(250, 247, 242, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.article-meta span::before { content: "•"; margin-right: 8px; opacity: 0.5; }
.article-meta span:first-child::before { display: none; }

.faq {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--terracotta); transition: transform 0.18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* =========================================================
   Related / internal link grid
   ========================================================= */
.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.related a {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related a strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.related a span { color: var(--muted); font-size: 0.92rem; }

/* =========================================================
   Quick-fact / planner panel
   ========================================================= */
.fact-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.fact-panel .fact { text-align: left; }
.fact-panel .fact strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 2px;
}
.fact-panel .fact span { color: var(--muted); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 247, 242, 0.78);
  padding: 64px 0 28px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p { color: rgba(250, 247, 242, 0.7); margin-top: 12px; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(250, 247, 242, 0.78); }
.footer-col a:hover { color: var(--gold); }
.footer-disclosure {
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  padding-top: 22px;
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.82rem;
  line-height: 1.6;
}
.footer-disclosure strong { color: var(--gold); }
.footer-bottom { margin-top: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(250, 247, 242, 0.5); }

/* =========================================================
   Decorative SVG image art (used inline)
   ========================================================= */
.scene { width: 100%; height: 100%; display: block; }

/* =========================================================
   Two-column content (page content + planner)
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.two-col aside { position: sticky; top: 90px; }
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.aside-card h4 { margin: 0 0 14px; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-body); color: var(--terracotta); font-weight: 700; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.aside-card li:last-child { border-bottom: 0; }

/* =========================================================
   Hotel pick cards (where to stay)
   ========================================================= */
.pick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.pick-card__body h3 { margin: 0 0 6px; font-size: 1.25rem; }
.pick-card__tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; margin-bottom: 6px; }
.pick-card__body p { margin: 0 0 10px; color: var(--muted); font-size: 0.96rem; }
.pick-card__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 0.86rem; }
.pick-card__meta span strong { color: var(--navy); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col aside { position: static; }
  .pick-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
    padding: 18px 22px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 10px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-cta { display: inline-block; padding: 11px 18px; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 64px 0 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .fact-panel { grid-template-columns: 1fr 1fr; margin-top: -32px; padding: 22px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { min-height: 76vh; }
  .hero-ctas .btn { width: 100%; }
  .fact-panel { grid-template-columns: 1fr; }
}

/* =========================================================
   UPGRADE — Premium components (added in 2026 refresh)
   ========================================================= */

/* Trust bar — sits under hero on homepage */
.trust-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin: 28px auto 0;
  max-width: 980px;
  overflow: hidden;
}
.trust-bar__item {
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-right: 1px solid var(--line);
}
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
}
.trust-bar__icon svg { width: 18px; height: 18px; }
.trust-bar__body strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 2px;
}
.trust-bar__body span { font-size: 0.84rem; color: var(--muted); }
@media (max-width: 900px) {
  .trust-bar__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-bar__item:last-child { border-bottom: 0; }
}

/* Planner — 3-step trip flow */
.planner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
  counter-reset: step;
}
.planner-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: step;
}
.planner-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -16px; left: 22px;
  background: var(--terracotta);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(196, 85, 42, 0.35);
}
.planner-step h4 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--navy);
}
.planner-step p { color: var(--muted); margin: 0 0 14px; font-size: 0.95rem; }
.planner-step .planner-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Decision matrix — comparison cards in a row */
.decision-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.decision {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--aegean);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.decision--terracotta { border-top-color: var(--terracotta); }
.decision--gold { border-top-color: var(--gold); }
.decision--olive { border-top-color: var(--olive); }
.decision__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 6px;
}
.decision h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--navy);
}
.decision p { color: var(--muted); font-size: 0.92rem; margin: 0 0 10px; }
.decision__pick {
  font-size: 0.82rem;
  color: var(--navy);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.decision__pick strong { color: var(--terracotta); }

/* Comparison table (generic, denser than month-table) */
.compare-table-wrap { overflow-x: auto; margin: 24px 0; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
}
.compare-table th, .compare-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:hover td { background: var(--cream); }
.compare-table .pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill--green { background: rgba(90, 138, 76, 0.16); color: #3d5e2f; }
.pill--yellow { background: rgba(232, 168, 76, 0.22); color: #8b5e1a; }
.pill--red { background: rgba(196, 85, 42, 0.16); color: var(--terracotta-deep); }
.pill--blue { background: rgba(30, 111, 168, 0.14); color: var(--navy); }

/* Map-style area legend (Bay of Kotor) */
.bay-map {
  background: linear-gradient(160deg, #0a1f36 0%, #0f2d4a 60%, #1e4f7a 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.bay-map h3 { color: #fff; margin: 0 0 6px; }
.bay-map p.lede { color: rgba(250, 247, 242, 0.82); margin-bottom: 18px; }
.bay-map__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: center;
}
.bay-map__svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: rgba(250, 247, 242, 0.04);
}
.bay-map__legend {
  display: grid;
  gap: 10px;
}
.bay-legend-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(250, 247, 242, 0.06);
  border: 1px solid rgba(250, 247, 242, 0.12);
  border-radius: 8px;
  align-items: flex-start;
}
.bay-legend-item:hover { background: rgba(250, 247, 242, 0.1); }
.bay-legend-item .dot-big {
  width: 18px; height: 18px;
  border-radius: 50%;
  margin-top: 3px;
  border: 2px solid #fff;
}
.bay-legend-item strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.bay-legend-item span { font-size: 0.84rem; color: rgba(250, 247, 242, 0.75); }
@media (max-width: 800px) {
  .bay-map__grid { grid-template-columns: 1fr; }
}

/* Bay-day timeline (cruise / itinerary) */
.timeline {
  position: relative;
  padding-left: 28px;
  margin: 24px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--terracotta), var(--gold));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 18px 6px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 14px; height: 14px;
  background: #fff;
  border: 3px solid var(--terracotta);
  border-radius: 50%;
}
.timeline-item .time {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.timeline-item .what {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 2px;
}

/* Best-for tags / pills */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(30, 111, 168, 0.1);
  color: var(--navy);
}
.tag--terracotta { background: rgba(196, 85, 42, 0.12); color: var(--terracotta-deep); }
.tag--olive { background: rgba(107, 122, 75, 0.16); color: var(--olive-deep); }
.tag--gold { background: rgba(232, 168, 76, 0.22); color: #8b5e1a; }

/* Editor's note callout (E-E-A-T) */
.editor-note {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.editor-note__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.editor-note p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.editor-note p strong { color: var(--navy); }

/* Section divider — wave / ridgeline */
.divider-ridge {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: -1px;
}

/* Sticky mobile CTA (booking nudge) */
.sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 12px; right: 12px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 28px rgba(10, 31, 54, 0.4);
  font-size: 0.92rem;
}
.sticky-cta a {
  background: var(--terracotta);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  white-space: nowrap;
}
.sticky-cta a:hover { background: var(--terracotta-deep); color: #fff; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* Active nav state — stronger */
.nav-links a.is-active {
  color: var(--terracotta);
  position: relative;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
@media (max-width: 720px) {
  .nav-links a.is-active::after { display: none; }
}

/* Author / trust block */
.author-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.author-block__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.author-block strong { color: var(--navy); display: block; font-family: var(--font-display); }
.author-block span { color: var(--muted); font-size: 0.88rem; }

/* Cluster heading + intro for blog */
.cluster-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cluster-head h2 { margin: 0; }
.cluster-head .cluster-meta {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Topical authority planning list */
.topic-plan {
  list-style: none;
  padding: 0;
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.topic-plan li {
  background: #fff;
  border: 1px dashed var(--line);
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
}
.topic-plan li strong { color: var(--navy); display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: 2px; }

/* Mini itinerary day blocks */
.itinerary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.itin-day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.itin-day__num {
  font-family: var(--font-display);
  color: var(--terracotta);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.itin-day h4 { margin: 0 0 8px; font-size: 1.1rem; color: var(--navy); }
.itin-day ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.itin-day li { margin-bottom: 4px; }

/* Hero — additional polish */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: rgba(250, 247, 242, 0.85);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}
.hero-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-row span::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
}

/* Bay map area accent colors */
.dot-old { background: var(--terracotta); }
.dot-dobrota { background: var(--aegean); }
.dot-muo { background: var(--olive); }
.dot-perast { background: var(--gold); }
.dot-tivat { background: #b48ec9; }

