/* FastTrack Hanoi — design system
   Brand: deep navy + warm gold, premium-travel.
   Mobile-first, no JS dependencies, system fonts for instant LCP. */

:root {
  --navy-900: #0a2540;
  --navy-800: #0f2f50;
  --navy-700: #14406b;
  --gold-500: #c8a44a;
  --gold-400: #d8b561;
  --gold-100: #f7eed1;
  --teal-500: #1ea7a0;
  --whatsapp:  #25d366;
  --bg:        #ffffff;
  --bg-light:  #f6f8fb;
  --text:      #0f172a;
  --text-mute: #475569;
  --line:      #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, .14);
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--navy-900); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2rem, 4.5vw + 1rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--text); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -1000px; top: 0; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy-900); font-size: 1.05rem;
}
.logo:hover { text-decoration: none; color: var(--navy-900); }
.logo strong { font-weight: 800; }
.primary-nav { display: none; gap: 22px; margin-left: auto; }
.primary-nav a {
  font-weight: 500; color: var(--navy-800); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--navy-900); border-bottom-color: var(--gold-500); text-decoration: none; }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--gold-500); }
.header-cta { margin-left: auto; padding: 10px 18px; font-size: .95rem; }

@media (min-width: 880px) {
  .primary-nav { display: flex; }
  .header-cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--gold-500); color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(200,164,74,.35);
}
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); }
.btn-ghost {
  background: transparent; color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-ghost:hover { background: var(--navy-900); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-xl { padding: 18px 36px; font-size: 1.15rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -100px, rgba(200,164,74,.18), transparent 70%),
    linear-gradient(180deg, #fbf9f3 0%, #ffffff 60%);
  padding: 56px 0 32px;
}
.hero-sub { padding: 40px 0 24px; }
.hero-grid {
  display: grid; gap: 36px; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; padding-top: 24px; padding-bottom: 24px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--navy-700); margin: 0 0 16px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.accent { color: var(--gold-500); }
.lede { font-size: 1.18rem; color: var(--text-mute); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }

.hero-prices {
  display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 22px 0 8px;
}
.price-card {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--navy-900);
}
.price-card:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); transition: all .15s ease; }
.price-icon { font-size: 1.4rem; }
.price-label { font-size: .85rem; font-weight: 600; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.price-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.price-value small { font-size: .85rem; font-weight: 600; color: var(--text-mute); }
.price-meta { font-size: .85rem; color: var(--text-mute); }

.single-price { margin: 16px 0 24px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-900); color: #fff; display: inline-block; }
.price-mega { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--gold-400); }
.price-mega small { font-size: 1rem; color: #cbd5e1; font-weight: 600; }
.single-price .price-meta { color: #cbd5e1; }

.hero-trust {
  display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
  list-style: none; padding: 0; margin: 18px 0 0;
}
@media (min-width: 540px) { .hero-trust { grid-template-columns: repeat(4, 1fr); } }
.hero-trust li { display: grid; gap: 2px; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-900); }
.hero-trust span { font-size: .82rem; color: var(--text-mute); }

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9f6ec 100%);
  border: 1px solid var(--gold-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 14px; }
.hero-card-wide { max-width: 720px; margin: 0 auto; }
.card-note { font-size: .9rem; color: var(--text-mute); margin-top: 16px; }

/* hero photo (right column on desktop) */
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #eee;
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
}
.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 980px) {
  .hero-media { aspect-ratio: 4 / 5; max-width: 100%; }
}

/* full-width landscape figure (about page) */
.hero-figure {
  margin: 0 auto;
  max-width: 1024px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #eee;
}
.hero-figure picture, .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-figure figcaption {
  padding: 14px 20px;
  font-size: .9rem;
  color: var(--text-mute);
  background: #fff;
  text-align: center;
}

/* ---------- Lists & sections ---------- */
.section { padding: 64px 0; }
.bg-light { background: var(--bg-light); }
.section-title { text-align: center; margin: 0 0 36px; }
.section-title.left { text-align: left; }
.center { text-align: center; }
.subtle { color: var(--text-mute); font-size: .9rem; }
.max-narrow { max-width: 720px; margin: 0 auto 36px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px; line-height: 1.5;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230a2540' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feature-num {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  color: var(--gold-500); letter-spacing: .15em;
}
.feature h3 { margin: 6px 0 8px; font-size: 1.08rem; }
.feature p { color: var(--text-mute); font-size: .95rem; margin: 0; }

.steps { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--navy-900); color: var(--gold-400);
  font-weight: 800; font-family: var(--font-display); margin-bottom: 10px;
}

.two-col { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .two-col { grid-template-columns: 1fr 1fr; } }

.data-table { width: 100%; border-collapse: collapse; margin-top: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .9rem; }
.data-table tr:last-child td { border-bottom: 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: #fff; border-radius: var(--radius); padding: 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; padding: 0; font-style: italic; color: var(--text); }
.review footer { font-size: .88rem; color: var(--text-mute); }

.rating-summary {
  display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center;
  background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  margin-bottom: 28px;
}
@media (min-width: 720px) { .rating-summary { grid-template-columns: 200px 1fr; } }
.rating-big { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--navy-900); text-align: center; }
.rating-big small { font-size: 1.2rem; color: var(--text-mute); font-weight: 500; }
.rating-bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: 28px 1fr 40px; gap: 10px; align-items: center; font-size: .85rem; }
.bar > span:first-child { color: var(--text-mute); }
.bar-fill { height: 8px; background: var(--gold-500); border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq-list-wide { max-width: 980px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 4px 4px 4px;
  transition: box-shadow .15s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; padding: 16px 18px; font-weight: 600;
  list-style: none; position: relative; padding-right: 44px; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold-500); font-weight: 400; transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 18px; color: var(--text-mute); }
.faq-answer p { margin: 0; }

/* ---------- CTA ---------- */
.cta-section {
  padding: 56px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff; margin: 24px auto;
}
.cta-section h2 { color: #fff; }
.cta-section .lede { color: #cbd5e1; }
.cta-section .subtle { color: #94a3b8; margin-top: 14px; }

/* ---------- Booking form ---------- */
.booking-grid {
  display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 980px) { .booking-grid { grid-template-columns: 2fr 1fr; } }
.booking-form fieldset {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
}
.booking-form legend {
  padding: 0 8px; font-weight: 700; color: var(--navy-900); font-size: 1.05rem;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: .92rem; }
.field span { color: var(--navy-800); font-weight: 600; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(200,164,74,.18);
}
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: repeat(3, 1fr); } }

.radio-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }
.radio-cards label { cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card {
  border: 2px solid var(--line); border-radius: var(--radius); padding: 16px;
  display: grid; gap: 4px; transition: border-color .15s, background .15s;
}
.radio-cards input:checked + .radio-card {
  border-color: var(--gold-500); background: var(--gold-100);
}
.radio-row { display: grid; gap: 10px; }
.radio-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; }

.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 18px; }
.alert-success { background: #ecfdf5; color: #064e3b; border: 1px solid #a7f3d0; }

.booking-side {
  background: var(--bg-light); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  position: sticky; top: 80px;
}
.booking-side h3 { margin-top: 0; }
.booking-side .btn { width: 100%; margin-bottom: 10px; }

/* ---------- About / contact ---------- */
.big-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.big-stats strong { display: block; font-size: 1.6rem; color: var(--navy-900); font-family: var(--font-display); font-weight: 800; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.highlight-card { border-left: 4px solid var(--gold-500); }

.contact-grid { gap: 18px; }
.contact-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  color: var(--navy-900); text-align: center; transition: all .15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.contact-icon { font-size: 2.2rem; margin-bottom: 10px; }
.contact-card h2 { font-size: 1.2rem; margin: 0 0 6px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.timeline li {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.timeline h3 { margin-top: 0; color: var(--navy-900); }
.timeline p { margin: 0; color: var(--text-mute); }

/* illustrated timeline — image left, copy right */
.timeline-illustrated li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.timeline-illustrated li > div { padding: 22px 26px; align-self: center; }
.timeline-illustrated picture {
  display: block;
  background: #eee;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.timeline-illustrated picture img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
@media (min-width: 720px) {
  .timeline-illustrated li {
    grid-template-columns: 360px 1fr;
  }
  .timeline-illustrated picture { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .timeline-illustrated li:nth-child(even) { grid-template-columns: 1fr 360px; }
  .timeline-illustrated li:nth-child(even) picture { order: 2; }
  .timeline-illustrated li:nth-child(even) > div { order: 1; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 16px; padding-bottom: 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--text-mute); }
.breadcrumbs a { color: var(--text-mute); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900); color: #cbd5e1;
  padding: 48px 0 24px; margin-top: 48px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid {
  display: grid; gap: 32px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.author-block {
  margin-top: 28px; padding: 18px 0 0; border-top: 1px solid #1e3a5f;
  color: #94a3b8; font-size: .85rem; line-height: 1.6;
}
.author-block p { margin: 0 0 8px; }
.author-block a { color: var(--gold-400); }
.ai-feeds a { margin-right: 4px; }
.footer-legal { margin-top: 16px; padding-top: 16px; border-top: 1px solid #1e3a5f; color: #94a3b8; font-size: .82rem; text-align: center; }
.data-table caption { caption-side: top; padding: 12px 16px; font-size: .85rem; color: var(--text-mute); text-align: left; background: #fff; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- Blog ---------- */
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.post-grid {
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-link { display: block; color: inherit; text-decoration: none; }
.post-card-link:hover { text-decoration: none; color: inherit; }
.post-card-media {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-fallback { font-size: 3rem; color: var(--gold-400); opacity: .5; }
.post-card-body { padding: 20px 22px; }
.post-card-body h2, .post-card-body h3 {
  font-size: 1.1rem; margin: .35em 0 .35em; line-height: 1.3;
}
.post-card-body p { color: var(--text-mute); font-size: .94rem; margin: 0 0 12px; }
.post-meta { font-size: .8rem; color: var(--text-mute); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  background: var(--gold-100); color: var(--navy-900); padding: 3px 9px; border-radius: 999px;
}

/* Post detail */
.post-header {
  background: linear-gradient(180deg, #fbf9f3 0%, #ffffff 100%);
  padding: 56px 0 28px;
}
.post-header h1 { font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem); }
.post-header .eyebrow { margin-bottom: 12px; }
.post-header .eyebrow a { color: var(--text-mute); }
.post-byline {
  color: var(--text-mute); font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.post-byline strong { color: var(--navy-900); }
.post-cover {
  margin: 24px 0 32px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.post-cover img { width: 100%; height: auto; display: block; }
.post-body {
  font-size: 1.08rem; line-height: 1.75; color: var(--text);
  padding-bottom: 48px;
}
.post-body h2 {
  font-size: 1.55rem; margin: 2em 0 .6em;
  padding-top: .4em; border-top: 1px solid var(--line);
}
.post-body h2:first-child { padding-top: 0; border-top: 0; margin-top: 1em; }
.post-body h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.post-body p { margin: 0 0 1em; }
.post-body ul, .post-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.post-body li { margin-bottom: .35em; }
.post-body blockquote {
  border-left: 4px solid var(--gold-500);
  padding: .2em 0 .2em 1.2em; margin: 1.4em 0;
  color: var(--text-mute); font-style: italic;
  background: var(--bg-light); border-radius: 0 var(--radius) var(--radius) 0;
}
.post-body code {
  background: var(--bg-light); padding: 2px 7px; border-radius: 4px;
  font-size: .92em; font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.post-body pre {
  background: var(--navy-900); color: #e2e8f0;
  padding: 18px; border-radius: var(--radius); overflow-x: auto; line-height: 1.5;
}
.post-body pre code { background: transparent; padding: 0; color: inherit; }
.post-body table {
  width: 100%; border-collapse: collapse; margin: 1.6em 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: .95rem;
}
.post-body th, .post-body td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.post-body th { background: var(--navy-900); color: #fff; font-weight: 600; }
.post-body tr:last-child td { border-bottom: 0; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.2em 0; }
.post-body a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 3px; }
.post-body a:hover { color: var(--navy-900); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-cta {
  margin: 32px 0 48px; padding: 28px 32px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg); text-align: center;
}
.post-cta h3 { color: #fff; margin: 0 0 .5em; }
.post-cta p { color: #cbd5e1; margin: 0 0 .8em; }

/* ---------- Key takeaways (GEO summary box) ---------- */
.key-takeaways {
  margin: 22px 0 4px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #fffaea 0%, #ffffff 100%);
  border: 1px solid var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
}
.key-takeaways .kt-title {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--navy-900); margin: 0 0 10px;
}
.key-takeaways ul { list-style: disc; padding-left: 1.2em; margin: 0; }
.key-takeaways li { margin-bottom: 6px; color: var(--text); }

/* ---------- Definition (glossary) ---------- */
.definition {
  margin: 18px 0 4px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius); border: 1px solid var(--line);
}
.definition dt { font-weight: 700; color: var(--navy-900); margin: 0 0 4px; }
.definition dd { margin: 0; color: var(--text-mute); font-size: .95rem; line-height: 1.6; }

/* ---------- Limitations card (Exp10) ---------- */
.limitations-card {
  max-width: 880px; margin: 0 auto;
  padding: 28px 32px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border-top: 4px solid #cbd5e1;
}
.limitations-card .neg-list li::before {
  background: #cbd5e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%230f172a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Author / reviewed-by block ---------- */
.author-section { padding: 48px 0; }
.author-card {
  display: grid; gap: 24px; grid-template-columns: 1fr;
  margin: 0; padding: 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
@media (min-width: 720px) { .author-card { grid-template-columns: 220px 1fr; } }
.author-photo {
  border-radius: var(--radius); overflow: hidden; background: #eee;
  aspect-ratio: 4 / 5;
}
.author-photo img, .author-photo picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-card figcaption { margin: 0; }
.author-card .eyebrow { font-size: .82rem; color: var(--text-mute); margin: 0 0 6px; }
.author-name { font-size: 1.1rem; color: var(--navy-900); margin: 0 0 8px; }
.author-bio { color: var(--text-mute); margin: 0 0 10px; font-size: .95rem; }
.author-sources { font-size: .85rem; color: var(--text-mute); margin: 0; line-height: 1.6; }

/* ---------- Floating WhatsApp ---------- */
.floating-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 999px;
  background: var(--whatsapp); color: #fff; font-weight: 600;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 4px 10px rgba(0,0,0,.15);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.floating-wa:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(37, 211, 102, .55), 0 6px 14px rgba(0,0,0,.18); }
.floating-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.4s infinite;
}
.floating-wa span { font-size: .95rem; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 540px) {
  .floating-wa { right: 14px; bottom: 14px; padding: 12px; }
  .floating-wa span { display: none; }
}

/* ---------- Legal pages typography ---------- */
.legal-prose { max-width: 820px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.25rem; margin: 2em 0 .6em; color: var(--navy-900); }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-prose li { margin-bottom: .35em; }
.legal-prose code { background: var(--bg-light); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.legal-prose .data-table { margin: 12px 0 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .floating-wa::before { animation: none; }
}
