
/* ============================================
   RESET & BASE &mdash; matching the brand system
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1f26;
  background: #faf7f2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --ink: #0f1419;
  --ink-soft: #2a3038;
  --ink-mute: #5a6470;
  --cream: #faf7f2;
  --cream-deep: #f3ede2;
  --gold: #c9a961;
  --gold-deep: #a8884a;
  --gold-pale: #e8dcc0;
  --whatsapp: #25D366;
  --burgundy: #6b2737;
  --green: #2f6b3f;
  --amber: #c47525;
  --red: #a83232;
  --max-w: 1180px;
  --content-w: 760px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: all .25s ease; }
a:hover { color: var(--burgundy); }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.18;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 3.5rem 0 1.2rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 2.2rem 0 .8rem; }
h4 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1.1rem; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; color: var(--ink-soft); }

/* Topbar / header / nav reused from brand system */
.topbar { background: var(--ink); color: #ffffff; padding: .55rem 1rem; font-size: .82rem; text-align: center; letter-spacing: .04em; font-weight: 500; }
.topbar, .topbar * { color: #ffffff !important; }
.topbar a { color: #ffd700 !important; font-weight: 700 !important; }
.topbar a:hover { color: #ffed4e !important; }

.header { background: rgba(250, 247, 242, .92); border-bottom: 1px solid rgba(0,0,0,.06); position: sticky; top: 0; z-index: 90; backdrop-filter: blur(10px); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; letter-spacing: .15em; color: var(--ink); text-transform: uppercase; }
.logo span { color: var(--gold-deep); }
.nav-cta { background: var(--ink); color: #ffffff; padding: .65rem 1.3rem; border-radius: 2px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-cta:hover { background: var(--gold-deep); color: #ffffff; }

/* Ensure button text is always visible */
.nav-cta, .nav-cta * { color: #ffffff !important; font-weight: 700 !important; }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(15,20,25,.85) 0%, rgba(15,20,25,.55) 65%, rgba(15,20,25,.7) 100%),
    url('https://images.unsplash.com/photo-1542296332-2e4473faf563?w=2000&q=85&auto=format&fit=crop') center/cover;
  color: var(--cream);
  padding: 4rem 1.5rem;
  overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top, transparent 0%, rgba(15,20,25,.4) 100%); pointer-events: none; }
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; width: 100%; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; font-weight: 600; border-left: 2px solid var(--gold); padding-left: 1rem; }
.hero h1 { color: white; max-width: 900px; }
.hero h1 em { color: var(--gold-pale); font-style: italic; font-weight: 400; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 720px; margin-top: 1.5rem; color: rgba(255,255,255,.92); line-height: 1.6; font-weight: 300; }
.hero-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .05em; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.8rem; border-radius: 3px; font-weight: 600; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; transition: all .3s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--gold); color: #0f1419; font-weight: 700; }
.btn-primary:hover { background: #e8dcc0; color: #0f1419; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,169,97,.4); }
.btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,.6); font-weight: 700; }
.btn-secondary:hover { background: white; color: #0f1419; }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #1da851; color: white; transform: translateY(-2px); }

/* ============================================
   QUICK COMPARE CARDS (above the fold)
============================================ */
.quick-compare {
  background: var(--cream);
  padding: 3rem 1.5rem;
  border-bottom: 1px solid rgba(168,136,74,.15);
}
.quick-compare-inner { max-width: var(--max-w); margin: 0 auto; }
.qc-title {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: .85rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2rem;
  font-weight: 600;
}
.qc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.qc-card {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: 3px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 30px rgba(15,20,25,.06);
  transition: transform .3s, box-shadow .3s;
}
.qc-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(15,20,25,.12); }
.qc-code {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.qc-code small { font-size: 0.9rem; color: var(--gold-deep); font-weight: 500; letter-spacing: .15em; display: block; margin-bottom: .3rem; font-style: italic; }
.qc-name { font-size: .95rem; color: var(--ink-mute); margin: .6rem 0 1.2rem; }
.qc-stat { display: flex; justify-content: space-between; padding: .5rem 0; border-top: 1px solid #eee; font-size: .85rem; }
.qc-stat:last-child { border-bottom: 1px solid #eee; }
.qc-stat-label { color: var(--ink-mute); }
.qc-stat-val { color: var(--ink); font-weight: 600; }
.qc-card a {
  display: block; text-align: center;
  margin-top: 1.2rem; padding: .65rem 0; border: 1px solid var(--ink);
  color: var(--ink); font-size: .75rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
}
.qc-card a:hover { background: var(--ink); color: var(--cream); }

/* ============================================
   ARTICLE LAYOUT
============================================ */
.article-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
}
.article { min-width: 0; }
.article-content { max-width: var(--content-w); }
.article p { color: var(--ink-soft); }
.article .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 2rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
}
.article .lead::first-letter {
  float: left;
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: .85;
  padding: .35rem .55rem 0 0;
  color: var(--gold-deep);
  font-weight: 700;
  font-style: normal;
}

.breadcrumb { font-size: .82rem; color: var(--ink-mute); margin-bottom: 2rem; letter-spacing: .05em; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb .sep { margin: 0 .5rem; color: var(--gold); }

.toc-sidebar { position: sticky; top: 90px; align-self: start; background: var(--cream-deep); border: 1px solid rgba(168,136,74,.2); padding: 1.8rem 1.5rem; border-radius: 2px; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc-title { font-family: 'Fraunces', serif; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--gold-pale); }
.toc-sidebar ol { list-style: none; counter-reset: toc; }
.toc-sidebar li { counter-increment: toc; margin-bottom: .65rem; font-size: .87rem; line-height: 1.4; }
.toc-sidebar li::before { content: counter(toc, decimal-leading-zero); font-family: 'Fraunces', serif; color: var(--gold); font-weight: 600; margin-right: .6rem; font-size: .8rem; }
.toc-sidebar a { color: var(--ink-soft); }
.toc-sidebar a:hover { color: var(--gold-deep); }

.tldr { background: linear-gradient(135deg, var(--cream-deep) 0%, #efe6d4 100%); border-left: 3px solid var(--gold); padding: 1.8rem 2rem; margin: 2rem 0 3rem; border-radius: 0 4px 4px 0; }
.tldr-label { font-family: 'Fraunces', serif; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: .8rem; }
.tldr p { color: var(--ink); font-size: 1.05rem; line-height: 1.65; margin-bottom: 0; }

/* warning callout */
.warning {
  background: #fff5e9;
  border: 1px solid #f0d4a8;
  border-left: 3px solid var(--amber);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}
.warning-label {
  font-family: 'Fraunces', serif;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.warning p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 0; }

/* route detail block */
.route {
  margin: 3.5rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(168,136,74,.15);
}
.route-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.route-code {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  letter-spacing: .25em;
  font-weight: 700;
  background: var(--ink);
  color: var(--gold);
  padding: .35rem .8rem;
  border-radius: 2px;
}
.route h2 { margin: 0; flex: 1; }
.route-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  background: var(--cream-deep);
  padding: 1.3rem 1.5rem;
  border-radius: 3px;
  margin: 1.5rem 0 2rem;
}
.route-meta-item { font-size: .85rem; }
.route-meta-label { color: var(--gold-deep); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 700; margin-bottom: .3rem; }
.route-meta-val { color: var(--ink); font-weight: 600; font-size: 1.05rem; }

/* mode table for each route */
.modes-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 4px; box-shadow: 0 8px 24px rgba(15,20,25,.08); }
.modes-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: white; }
.modes-table th, .modes-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid #eee; vertical-align: top; }
.modes-table thead th { background: var(--ink); color: var(--cream); font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: .05em; font-size: .85rem; }
.modes-table tbody tr:hover { background: var(--cream-deep); }
.modes-table td:first-child { font-weight: 600; color: var(--ink); }
.modes-table .badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-best { background: var(--green); color: white; }
.badge-cheap { background: var(--gold); color: var(--ink); }
.badge-avoid { background: var(--red); color: white; }
.badge-ok { background: #ddd; color: #333; }

/* image */
figure { margin: 2.5rem 0; }
figure img { width: 100%; border-radius: 3px; box-shadow: 0 20px 60px rgba(15,20,25,.15); }
figcaption { font-size: .82rem; color: var(--ink-mute); margin-top: .8rem; text-align: center; font-style: italic; letter-spacing: .03em; }

.pullquote { font-family: 'Fraunces', serif; font-size: 1.55rem; line-height: 1.4; font-style: italic; color: var(--ink); padding: 2rem 0 2rem 2rem; border-left: 3px solid var(--gold); margin: 2.5rem 0; font-weight: 500; }
.pullquote::before { content: '"'; font-size: 3rem; color: var(--gold); line-height: 0; vertical-align: -.4em; margin-right: .2rem; }

.article ul, .article ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--ink-soft); }
.article ul li, .article ol li { margin-bottom: .6rem; padding-left: .5rem; }
.article ul li::marker { color: var(--gold); }

/* CTA */
.cta-block { background: linear-gradient(135deg, var(--ink) 0%, #1a2128 100%); color: var(--cream); padding: 3rem 2.5rem; border-radius: 4px; margin: 3.5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,169,97,.15) 0%, transparent 70%); pointer-events: none; }
.cta-block h3 { color: white; font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0 0 1rem; }
.cta-block p { color: rgba(255,255,255,.8); margin-bottom: 1.8rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-block .btn { margin: .3rem; }

/* MCT calculator */
.mct-calc {
  background: var(--cream-deep);
  padding: 2rem;
  border-radius: 4px;
  margin: 2.5rem 0;
}
.mct-calc h4 { margin-top: 0; color: var(--ink); font-size: 1.15rem; }
.mct-row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px dashed rgba(168,136,74,.3); font-size: .95rem; }
.mct-row:last-of-type { border-bottom: 2px solid var(--gold); font-weight: 700; padding-top: 1rem; margin-top: .5rem; }
.mct-row-label { color: var(--ink-soft); }
.mct-row-val { color: var(--ink); font-weight: 600; font-family: 'Fraunces', serif; }
.mct-total .mct-row-val { color: var(--gold-deep); font-size: 1.3rem; }

/* FAQ */
.faq-section { margin-top: 4rem; }
.faq-item { border-bottom: 1px solid rgba(168,136,74,.2); padding: 1.5rem 0; cursor: pointer; }
.faq-q { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; line-height: 1.4; }
.faq-q::after { content: '+'; font-size: 1.8rem; color: var(--gold-deep); font-weight: 300; flex-shrink: 0; transition: transform .3s; line-height: 1; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { margin-top: 1rem; color: var(--ink-soft); line-height: 1.7; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 4rem 1.5rem 2rem; font-size: .9rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; }
.footer h3 { color: #ffd700; font-family: 'Fraunces', serif; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer h4 { color: #ffd700; font-family: 'Fraunces', serif; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer p { color: rgba(255,255,255,.85); }
.footer a { color: rgba(255,255,255,.85); display: block; padding: .25rem 0; }
.footer a:hover { color: #ffd700; }
.footer-bottom { max-width: var(--max-w); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .8rem; color: rgba(255,255,255,.7); }

/* sticky mobile bar */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: white; box-shadow: 0 -8px 30px rgba(0,0,0,.12); z-index: 100; padding: .65rem .75rem env(safe-area-inset-bottom); display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; transition: transform .3s; }
.sticky-btn { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem .5rem; border-radius: 3px; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sticky-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.sticky-whatsapp { background: var(--whatsapp); color: white; }
.sticky-whatsapp:hover { background: #1da851; color: white; }
.sticky-book { background: var(--ink); color: var(--cream); }
.sticky-book:hover { background: var(--gold-deep); color: white; }

.float-whatsapp { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(37,211,102,.5); z-index: 95; transition: all .3s; }
.float-whatsapp:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 12px 35px rgba(37,211,102,.6); }
.float-whatsapp svg { width: 30px; height: 30px; fill: white; }
.float-whatsapp::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--whatsapp); opacity: .5; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.4); opacity: 0; } }

/* responsive */
@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .toc-sidebar { position: static; max-height: none; }
  .toc-sidebar ol { columns: 2; column-gap: 1.5rem; }
}
@media (max-width: 768px) {
  body { font-size: 16px; padding-bottom: 70px; }
  .header-inner { padding: .8rem 1rem; }
  .nav-cta { padding: .55rem .9rem; font-size: .72rem; }
  .logo { font-size: 1.15rem; letter-spacing: .12em; }
  .hero { min-height: 68vh; padding: 3rem 1.25rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .article-wrap { padding: 2.5rem 1.25rem; }
  .toc-sidebar { padding: 1.4rem 1.25rem; }
  .toc-sidebar ol { columns: 1; }
  .pullquote { font-size: 1.25rem; padding-left: 1.2rem; margin: 2rem 0; }
  .cta-block { padding: 2.2rem 1.5rem; }
  .float-whatsapp { display: none; }
  .article .lead::first-letter { font-size: 3.8rem; }
  .topbar { font-size: .72rem; }
  .qc-card { padding: 1.4rem 1.2rem; }
  .qc-code { font-size: 2rem; }
  .route-header { gap: .6rem; }
  .route-code { font-size: .85rem; padding: .25rem .65rem; }
  .modes-table th, .modes-table td { padding: .7rem .8rem; font-size: .82rem; }
  .mct-calc { padding: 1.4rem 1.2rem; }
}
@media (min-width: 769px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
  h3 { font-size: 1.2rem; }
  .article .lead { font-size: 1.1rem; }
  .qc-grid { gap: 1rem; }
}
@media print {
  .header, .hero-buttons, .cta-block, .sticky-bar, .float-whatsapp, .footer { display: none; }
  body { font-size: 12pt; color: black; background: white; }
}
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* FIX: White text on white/light backgrounds */
.topbar { color: #1a1f26; }
.nav-cta { color: #1a1f26; }
.footer h4 { color: #c9a961; }
.callout.takeaways,.callout.takeaways p,.callout.takeaways li{color:#14213d !important}.callout.takeaways,.callout.takeaways p,.callout.takeaways li{color:#14213d !important}