/* Guía Costa Rica al Día — brand palette from the official logo files */
:root {
  --navy: #2b2963;
  --navy-deep: #1e1c4a;
  --ink: #23214d;
  --yellow: #fbcc48;
  --yellow-hover: #f6bd22;
  --blue: #3562ac;
  --light: #f2f2f2;
  --white: #ffffff;
  --text: #45436a;
  --muted: #6b6987;
  --line: #e2e1ea;
  --on-navy: #ffffff;
  --on-navy-soft: #cfcee6;

  --font-display: "Nunito", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: var(--on-navy-soft); }
.section--navy h2, .section--navy h3 { color: var(--on-navy); }

/* Section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.eyebrow img { width: 14px; height: auto; }
.section--navy .eyebrow { color: var(--yellow); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 900; }
.section-head p { margin-top: 14px; font-size: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--yellow); color: var(--navy); }
.btn--wa:hover { background: var(--yellow-hover); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--on-navy); }
.btn--ghost:hover { border-color: var(--on-navy); background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--on-navy); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--blue); text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: var(--pill);
}
.nav a:hover { background: rgba(255,255,255,.1); }
.nav .lang { border: 1px solid rgba(255,255,255,.35); padding: 6px 12px; font-size: 13px; letter-spacing: .06em; }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--on-navy); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy-soft); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(251,204,72,.12); color: var(--yellow);
  border: 1px solid rgba(251,204,72,.35);
  padding: 7px 14px 7px 10px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
}
.badge img { width: 16px; height: auto; }
.hero h1 { color: var(--on-navy); font-weight: 900; font-size: clamp(38px, 5.6vw, 62px); letter-spacing: -.01em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lede { font-size: clamp(18px, 1.6vw, 20px); margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.attrs { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.attrs li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--on-navy); }
.attrs svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }

.hero-media { position: relative; min-width: 0; }
.hero-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--navy-deep); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; top: 16px; right: 16px; background: rgba(30,28,74,.78); color: var(--on-navy); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: var(--pill); }
.leader-card {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: -28px;
  max-width: 300px; background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 16px 18px;
  box-shadow: 0 18px 40px -16px rgba(20, 18, 60, .55);
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
}
.leader-card img { width: 26px; height: auto; margin-top: 2px; }
.leader-card strong { display: block; font-family: var(--font-display); font-weight: 900; color: var(--ink); font-size: 16px; line-height: 1.25; }
.leader-card span { display: block; font-size: 14px; line-height: 1.45; margin-top: 4px; }

/* Who we are */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-grid > * { min-width: 0; }
.about-copy p + p { margin-top: 16px; }
.about-copy .lead { font-size: 20px; color: var(--ink); }
.guarantees { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.guarantees li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.guarantees svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.together {
  background: var(--navy); color: var(--on-navy-soft); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
.together .motto { font-family: var(--font-display); font-weight: 900; color: var(--yellow); font-size: clamp(30px, 3.4vw, 38px); line-height: 1.05; }
.together .motto-en { color: var(--on-navy); font-weight: 700; margin-top: 6px; }
.together p.small { margin-top: 18px; font-size: 15px; }
.pillars { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; }
.pillars li { display: flex; gap: 10px; align-items: center; color: var(--on-navy); font-weight: 600; font-size: 15px; }
.pillars img { width: 14px; height: auto; }

/* Services */
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service { background: var(--white); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.service .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; margin-bottom: 6px; }
.service .icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 20px; font-weight: 800; }
.service p { font-size: 15.5px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%;
  border-top: 3px dashed var(--line);
}
.step { position: relative; text-align: center; padding-inline: 6px; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  box-shadow: 0 0 0 8px var(--white);
}
.step h3 { font-size: 19px; font-weight: 800; }
.step p { font-size: 15.5px; margin-top: 8px; }
.steps-cta { text-align: center; margin-top: 40px; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dest {
  background: var(--white); border-radius: var(--radius); padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent;
  transition: border-color .2s;
}
.dest:hover { border-color: var(--line); }
.dest-top { display: flex; align-items: center; gap: 10px; }
.dest-top img { width: 22px; height: auto; flex: none; }
.dest h3 { font-size: 21px; font-weight: 900; }
.dest .region { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dest .drive {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  background: rgba(53,98,172,.1); color: var(--blue);
  font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 10px;
  font-variant-numeric: tabular-nums; line-height: 1.35;
}
.dest .drive svg { width: 15px; height: 15px; }
.dest p { font-size: 15px; }
.dest .text-link { margin-top: auto; padding-top: 6px; }
.dest--featured { background: var(--navy); }
.dest--featured h3 { color: var(--on-navy); }
.dest--featured p { color: var(--on-navy-soft); }
.dest--featured .region { color: var(--on-navy-soft); }
.dest--featured .drive { background: rgba(251,204,72,.16); color: var(--yellow); }
.dest--featured .text-link { color: var(--yellow); }
.dest-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Video cards */
.video { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-deep); aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0; cursor: pointer; background: transparent;
}
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b2963' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 56% 50% / 26px no-repeat;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.6);
  transition: transform .2s;
}
.video-play:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.video-len { position: absolute; right: 10px; bottom: 10px; background: rgba(20,18,50,.85); color: #fff; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; pointer-events: none; font-variant-numeric: tabular-nums; }

.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.exp { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.exp h3 { font-size: 20px; font-weight: 800; }
.exp p { font-size: 15.5px; }
.exp .text-link { margin-top: auto; }
.exp--featured { grid-column: span 2; grid-row: span 2; }
.exp--featured h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; }
.exp--featured p { font-size: 17px; }
.views { display: inline-flex; align-self: flex-start; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: var(--pill); }

/* Leader */
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.leader-grid > * { min-width: 0; }
.leader-grid h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; }
.leader-grid p { margin-top: 16px; font-size: 17.5px; }
.quote {
  margin: 26px 0 0; padding: 0 0 0 20px; border-left: 4px solid var(--yellow);
  font-family: var(--font-display); font-weight: 800; color: var(--on-navy); font-size: 21px; line-height: 1.35;
}
.quote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--on-navy-soft); }
.leader-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Community in action */
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.action { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.action h3 { font-size: 19px; font-weight: 800; }
.action p { font-size: 15.5px; }
.join {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--light); border-radius: var(--radius); padding: 22px 26px;
}
.join p { font-weight: 600; color: var(--ink); max-width: 46em; }

/* Travel tips */
.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tip { background: var(--white); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tip .tag { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip h3 { font-size: 20px; font-weight: 800; }
.tip p { font-size: 15.5px; }
.tip .text-link { margin-top: auto; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq details[open] { border-color: var(--navy); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2963' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p + p { margin-top: 10px; }

/* Closing */
.closing { text-align: center; }
.closing h2 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 900; max-width: 18em; margin-inline: auto; }
.closing p { max-width: 38em; margin: 18px auto 0; font-size: 18px; }
.closing .hero-actions { justify-content: center; }
.closing .phone { margin-top: 22px; font-size: 15px; }
.closing .phone strong { color: var(--on-navy); font-variant-numeric: tabular-nums; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding-block: 56px 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-grid h3 { color: var(--on-navy); font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy-soft); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 26em; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--navy); text-decoration: none;
  font-family: var(--font-display); font-weight: 900; font-size: 15px;
  padding: 12px 18px 12px 14px; border-radius: var(--pill);
  box-shadow: 0 12px 28px -10px rgba(20,18,60,.6);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: var(--yellow-hover); }

/* Responsive */
@media (max-width: 1080px) {
  .cards-4, .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy); padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .lang { align-self: flex-start; }
  .nav .btn { margin: 8px 0 0; }
  .hero .wrap, .about-grid, .leader-grid { grid-template-columns: 1fr; }
  .hero-media { margin-bottom: 28px; }
  .leader-card { left: 12px; right: 12px; max-width: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .exp-grid, .action-grid, .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp--featured { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 40px; }
  .cards-4, .dest-grid, .exp-grid, .action-grid, .tips-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .exp--featured { grid-column: auto; }
  .hero-actions .btn { width: 100%; }
  .hero-media { margin-bottom: 0; }
  .leader-card { position: relative; left: auto; right: auto; bottom: auto; margin: -40px 12px 0; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- Landscape photography (v2) ---- */
.hero--photo, .closing--photo { position: relative; isolation: isolate; overflow: hidden; }
.cover-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(30,28,74,.94) 0%, rgba(43,41,99,.78) 42%, rgba(43,41,99,.2) 100%); }
.closing--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(30,28,74,.74); }
.hero--photo { min-height: min(88vh, 780px); display: flex; align-items: center; }
.hero--photo .wrap { width: 100%; grid-template-columns: minmax(0, 640px) 1fr; align-items: end; }
.leader-card--hero { position: static; justify-self: end; max-width: 340px; grid-template-columns: 64px 1fr; align-items: center; }
.leader-card--hero img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0; border: 3px solid var(--yellow); }
.photo-place { position: absolute; right: var(--gutter); bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--on-navy); font-size: 13px; font-weight: 600; background: rgba(30,28,74,.6); padding: 4px 10px; border-radius: var(--pill); }
.photo-place img { width: 10px; height: auto; }

.dest { padding: 0; overflow: hidden; gap: 0; }
.dest-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); }
.dest-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest:hover .dest-photo img { transform: scale(1.05); }
.dest-badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-weight: 900; font-size: 12.5px; padding: 4px 10px; border-radius: var(--pill); }
.dest-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dest-top img { width: 16px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.post { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.post-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-tag { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.post h3 { font-size: 20px; font-weight: 800; }
.post p { font-size: 15.5px; }
.post-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }

@media (max-width: 920px) {
  .hero--photo .wrap { grid-template-columns: 1fr; }
  .leader-card--hero { justify-self: start; margin-top: 28px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(30,28,74,.9) 0%, rgba(43,41,99,.72) 100%); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .leader-card--hero { margin: 24px 0 0; }
  .photo-place { display: none; }
}

/* ---- v3: travel tips cards + centered hero ---- */
.tip { padding: 26px 24px 24px; gap: 12px; border: 1px solid transparent; transition: border-color .2s; }
.tip:hover { border-color: var(--line); }
.tip-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px dashed var(--line); margin-bottom: 4px; }
.tip-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; }
.tip-icon svg { width: 22px; height: 22px; }
.tip h3 { font-size: 21px; font-weight: 900; }
.tip p { font-size: 15.5px; }
.tip .text-link { margin-top: auto; padding-top: 8px; }


.hero--photo .cover-bg { object-position: 50% 68%; }

/* ---- Inner pages ---- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--on-navy-soft); padding-block: clamp(40px, 6vw, 72px) clamp(44px, 6vw, 76px); }
.page-hero .cover-bg { object-position: 50% 55%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,28,74,.94) 0%, rgba(43,41,99,.84) 55%, rgba(43,41,99,.55) 100%); }
.page-hero h1 { color: var(--on-navy); font-weight: 900; font-size: clamp(34px, 5vw, 54px); max-width: 17em; margin-top: 14px; }
.page-hero .lede { font-size: clamp(17px, 1.5vw, 19.5px); max-width: 40em; margin-top: 16px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: var(--on-navy-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--yellow); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); padding: 10px 14px; min-width: 150px; }
.facts strong { display: block; color: var(--yellow); font-family: var(--font-display); font-weight: 900; font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.facts span { font-size: 13px; }
.updated { margin-top: 18px; font-size: 13.5px; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article { min-width: 0; max-width: 720px; }
.article > * + * { margin-top: 18px; }
.article h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 900; margin-top: 44px; scroll-margin-top: 96px; }
.article h3 { font-size: 21px; font-weight: 800; margin-top: 28px; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article strong { color: var(--ink); }
.article .video { margin-top: 24px; }
.article figure { margin: 24px 0 0; }
.article figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.answer-box { background: var(--light); border-left: 5px solid var(--yellow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 22px; }
.answer-box strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.answer-box p { color: var(--ink); font-size: 17.5px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--on-navy); font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; color: var(--ink); }
.compare tr.is-us td { background: rgba(251,204,72,.16); }

.stops { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.stops li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; margin: 0 !important; }
.stops img { width: 22px; margin-top: 3px; }
.stops strong { display: block; font-family: var(--font-display); font-size: 18px; }

.day { list-style: none; padding: 0 !important; counter-reset: day; display: grid; gap: 16px; }
.day li { counter-increment: day; display: grid; grid-template-columns: 40px 1fr; gap: 14px; margin: 0 !important; }
.day li::before { content: counter(day); width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; }
.day strong { display: block; font-family: var(--font-display); font-size: 18px; }

.sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px !important; }
.sources ul { margin-top: 8px; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.cta-card { background: var(--navy); color: var(--on-navy-soft); border-radius: var(--radius); padding: 26px 24px; }
.cta-card h2 { color: var(--on-navy); font-size: 23px; font-weight: 900; }
.cta-card p { margin-top: 10px; font-size: 15.5px; }
.cta-card .btn { width: 100%; margin-top: 18px; }
.cta-card .leader { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.cta-card .leader img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--yellow); object-fit: cover; }
.side-card { background: var(--light); border-radius: var(--radius); padding: 20px 22px; }
.side-card h3 { font-size: 17px; font-weight: 800; }
.side-card ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 15px; }
.side-card a { text-decoration: none; font-weight: 700; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mv { background: var(--white); border-radius: var(--radius); padding: 26px 24px; }
.mv h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.action-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mv-grid, .action-grid--2 { grid-template-columns: 1fr; }
  .facts li { min-width: 0; flex: 1 1 140px; }
}
