/* ==========================================================================
   Henao Legal — Design System & Site Styles
   Rebuilt from live site (henaolegal.com), Qode "Leroux" theme reference.
   Single shared stylesheet for the whole static site.
   See docs/DESIGN-SYSTEM.md for tokens & rationale.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand: #7c2f54;          /* burgundy — header, links, buttons */
  --brand-dark: #5e2340;     /* hover / pressed */
  --brand-tint: #f7eef2;     /* pale burgundy wash for section backgrounds */

  /* Ink & neutrals */
  --ink: #333333;            /* body text */
  --heading: #404040;        /* headings */
  --muted: #6b6b6b;          /* secondary text */
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --line: #e7e7e7;

  /* Accent */
  --gold: #c9a227;           /* star ratings */

  /* In-content link colour (blue — clearly recognisable as a link) */
  --link: #1763c2;
  --link-hover: #0f4a94;

  /* Buttons (live theme uses a dark charcoal button, not burgundy) */
  --btn-dark: #32373c;
  --btn-dark-hover: #20242a;

  /* Typography */
  --font-heading: "Montserrat", "Heebo", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;   /* matches live site body font */

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);

  /* Header height (used for scroll offset) */
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;   /* long URLs/words wrap instead of forcing horizontal scroll on mobile */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }

/* ---------- Focus visibility (keyboard) ---------- */
/* One consistent, high-contrast ring for everything keyboard-focusable. */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
/* On burgundy / dark / photo backgrounds a white ring stays visible. */
.site-header :focus-visible,
.site-footer :focus-visible,
.section--brand :focus-visible,
.cta-band :focus-visible,
.post-cta :focus-visible,
.price-card--highlight :focus-visible,
.page-hero :focus-visible { outline-color: #fff; }

/* ---------- Skip to content (keyboard bypass) ---------- */
.skip-link {
  position: absolute; left: 8px; top: -64px; z-index: 200;
  background: #fff; color: var(--brand);
  font-family: var(--font-heading); font-weight: 600;
  padding: 10px 18px; border-radius: 6px; box-shadow: var(--shadow);
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 500;          /* live theme uses Montserrat 500 for headings */
  letter-spacing: .3px;
}
h4, h5, h6 { font-weight: 600; }   /* small headings a touch heavier for legibility */

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding: clamp(48px, 7vw, 90px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--brand-tint); }

/* Collapse doubled padding when two SAME-background sections stack,
   so consecutive white (or consecutive grey) sections read as one rhythm
   instead of leaving a huge gap. Different backgrounds keep full padding. */
.section:not(.section--alt):not(.cta-band):not(.section--tint):not(.section--brand) + .section:not(.section--alt):not(.cta-band):not(.section--tint):not(.section--brand) { padding-top: 0; }
.section--alt + .section--alt { padding-top: 0; }

/* Full-width burgundy statement band (white text) */
.section--brand { background: var(--brand); }
.section--brand h2, .section--brand p { color: #fff; }
.section--brand .subhead { color: rgba(255,255,255,.85); }

.section-head { text-align: center; max-width: none; margin: 0 auto 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Reusable brand subheading (under a section H2) */
.subhead { color: var(--brand); font-size: 1.2rem; font-weight: 600; margin-bottom: 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--brand);
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: 14px 30px;
  border-radius: 4px;                 /* live theme uses near-rectangular buttons */
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
}
/* Primary = dark charcoal (live theme button colour #32373c) */
.btn--primary { background: var(--btn-dark); border-color: var(--btn-dark); color: #fff; }
/* Hover inverts to a light button. On a light/white background -> near-white fill. */
.btn--primary:hover { background: #f2f2f2; color: var(--btn-dark); border-color: #e0e0e0; box-shadow: 0 6px 16px rgba(0, 0, 0, .10); }
/* On grey backgrounds -> white fill + charcoal outline so it stays distinct. */
.section--alt .btn--primary:hover,
.price-card--highlight .btn--primary:hover { background: #fff; color: var(--btn-dark); border-color: var(--btn-dark); box-shadow: none; }
/* Soft = light grey filled (live "Find Out More" style) */
.btn--soft { background: #f0f0f0; border-color: #f0f0f0; color: var(--btn-dark); }
.btn--soft:hover { background: #e3e3e3; border-color: #e3e3e3; color: var(--btn-dark); }
/* Ghost = burgundy outline (secondary accent) */
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
/* Light = white button for dark / burgundy / photo backgrounds.
   Hover swaps to solid charcoal with white text. */
.btn--light { background: #fff; color: var(--btn-dark); border-color: #fff; }
.btn--light:hover { background: var(--btn-dark); color: #fff; border-color: var(--btn-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.site-logo img { height: 52px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .98rem;
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #fff;
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  background: #2a2a2a;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(94,35,64,.78), rgba(40,20,30,.82));
}
.hero__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(90px, 16vw, 170px) 24px;
}
.hero .eyebrow { color: #f0d6e2; }
.hero h1 { color: #fff; margin-bottom: .25em; }
.hero__subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: #f3e6ec;
  margin-bottom: 1.1em;
}
.hero__lead { font-size: 1.12rem; color: #f3eef0; max-width: 660px; margin: 0 auto 2em; }

/* ==========================================================================
   Intro / about split
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Hover: the photo pans inside its frame (no zoom, no block movement) — the
   crop shifts so a little more of one side shows and the other is hidden. */
.split__media--slide img { object-position: 50% center; transition: object-position .5s ease; }
.split__media--slide:hover img { object-position: 20% center; }
.split__body h2 { margin-bottom: .6em; }
.split__body p { color: var(--ink); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #e0c8d4;
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h4 { color: var(--heading); margin-bottom: .4em; font-size: 1.22rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ==========================================================================
   Testimonials / trust
   ========================================================================== */
.trust-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.flag-row { display: inline-flex; gap: 6px; }
.flag-row img { width: 26px; height: 26px; border-radius: 50%; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.15rem; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.quote__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 16px; font-size: 1.05rem; color: var(--ink); font-style: italic; }
.quote cite {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--brand);
}

/* ==========================================================================
   Blog teaser
   ========================================================================== */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.post-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 16px; }
.post-card h3 a { color: var(--heading); }
.post-card h3 a:hover { color: var(--brand); }
.post-card__more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  color: var(--brand); background: transparent;
  border: 1.5px solid var(--brand); border-radius: 4px; padding: 8px 18px;
  transition: background .2s ease, color .2s ease;
}
.post-card__more:hover { background: var(--brand); color: #fff; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--brand);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f3e6ec; margin: 0 auto 1.8em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #2a2230;
  color: #cfc4cc;
  padding: 70px 0 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cfc4cc; }
.site-footer a:hover { color: #fff; }
.footer-about img { height: 56px; margin-bottom: 18px; }
.footer-about p { color: #a99bb0; }
.footer-latest li { margin-bottom: 14px; line-height: 1.4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  padding: 22px 0;
  color: #a99bb0;
  font-size: .88rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .cards, .posts { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--brand);
    border-top: 1px solid rgba(255,255,255,.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav a { display: block; padding: 14px 0; }
  .cards, .posts, .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   INTERIOR PAGES — components added for services / about / contact /
   privacy / blog index / blog posts. (Homepage components are above.)
   ========================================================================== */

/* ---------- Interior page hero (compact) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  isolation: isolate;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(94,35,64,.82), rgba(40,20,30,.85));
}
.page-hero__inner { max-width: var(--container); margin: 0 auto; padding: clamp(64px, 11vw, 120px) 24px; }
.page-hero .eyebrow { color: #f0d6e2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #f3e6ec; font-size: 1.12rem; margin: 0 auto; }

/* ---------- Generic prose / long-form text (privacy, article body) ---------- */
.prose { max-width: 760px; color: var(--ink); }
.prose.center-col { margin-inline: auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.55rem; margin: 1.7em 0 .55em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--link); text-decoration: none; transition: color .15s ease; }
.prose a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--heading); }
.prose blockquote {
  margin: 1.5em 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--brand);
  color: var(--muted); font-style: italic;
}
.prose img { border-radius: var(--radius); margin: 1.6em 0; box-shadow: var(--shadow-sm); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- Feature / tick list ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}

/* ---------- Pricing cards (services) — centered, borderless; middle column highlighted ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); position: relative;
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0, 0, 0, .10); }
.price-card__icon { color: var(--brand); margin: 0 auto 14px; line-height: 0; }
.price-card__icon svg { width: 40px; height: 40px; }
/* Featured card (Full Service) = solid burgundy with white text + a gold badge */
.price-card--highlight { background: var(--brand); border-color: var(--brand); box-shadow: 0 16px 40px rgba(124,47,84,.22); }
.price-card--highlight .price-card__icon { color: #fff; }
.price-card--highlight h3,
.price-card--highlight .price-card__price { color: #fff; }
.price-card--highlight .price-card__price .per { color: rgba(255,255,255,.78); }
.price-card--highlight .price-card__desc { color: rgba(255,255,255,.85); }
.price-card--highlight .card-details summary { color: #fff; border-color: rgba(255,255,255,.5); }
.price-card--highlight .card-details summary:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.price-card--highlight .card-details .ticks li { color: rgba(255,255,255,.92); }
.price-card--highlight .card-details .ticks li::before { background: rgba(255,255,255,.22); color: #fff; }
.price-card__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #3a2a00; font-family: var(--font-heading); font-weight: 600; font-size: .72rem; letter-spacing: .04em; padding: 5px 14px; border-radius: 50px; white-space: nowrap; }
.price-card h3 { font-size: 1.2rem; margin-bottom: .35em; }
/* Price: tidy currency superscript + big amount, optional /unit suffix */
.price-card__price { display: inline-flex; align-items: flex-start; justify-content: center; gap: 3px; font-family: var(--font-heading); font-weight: 700; color: var(--heading); margin: 6px 0 10px; line-height: 1; }
.price-card__price .cur { font-size: 1rem; font-weight: 600; margin-top: .35em; }
.price-card__price .amt { font-size: 2.7rem; line-height: .9; }
.price-card__price .per { font-size: .8rem; font-weight: 500; color: var(--muted); align-self: flex-end; margin-bottom: .35em; }

/* Expandable "What's included" details. Toggle sits directly after the
   (uniform-height) description, so toggles AND the first tick line up across
   cards in both the collapsed and open states. */
.card-details { width: 100%; margin: 0; }
.card-details summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  color: var(--brand);
  border: 1px solid #e3cdd8; border-radius: 50px;
  padding: 9px 20px; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.card-details summary::-webkit-details-marker { display: none; }
.card-details summary::after { content: "+"; font-size: 1.15em; line-height: 1; font-weight: 700; }
.card-details[open] summary::after { content: "\2212"; }   /* minus when open */
.card-details summary:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }
/* Expanded bullets: left-aligned as a centered block (reads better than centered
   text, which orphans wrapped words) with more breathing room. */
.price-card .card-details .ticks { margin: 22px auto 0; max-width: 290px; gap: 20px; text-align: left; }
.price-card .card-details .ticks li { text-align: left; padding-left: 32px; line-height: 1.45; }
.price-card .card-details .ticks li::before { position: absolute; left: 0; top: 1px; margin-right: 0; display: grid; }
/* Guarantee the bullets are hidden until expanded (robust across browsers) */
.card-details:not([open]) .ticks { display: none; }
.price-card__desc { color: var(--muted); font-size: .95rem; margin-bottom: 24px; min-height: 6.5em; }
.price-card .ticks { margin: 0 0 26px; display: block; }
.price-card .ticks li { font-size: .92rem; text-align: center; padding-left: 0; }
.price-card .ticks li::before {
  position: static; display: inline-grid; vertical-align: middle; margin-right: 7px; top: auto; left: auto;
}
.price-card .btn { margin-top: auto; }

/* ---------- Numbered steps (how it works) ---------- */
.steps { display: grid; gap: 26px; max-width: 820px; margin: 0 auto; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__num {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
}
.step h4 { margin-bottom: .25em; font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Booking panel (contact) ---------- */
.booking {
  background: var(--brand-tint); border: 1px solid #ecd9e2;
  border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 52px);
  text-align: center; max-width: 720px; margin: 0 auto;
}
.booking h2 { margin-bottom: .4em; }
.booking p { color: var(--ink); max-width: 540px; margin: 0 auto 1.6em; }
.booking__note { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* ---------- VisaDB badge ---------- */
.badge-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.badge-row img { max-width: 200px; border-radius: var(--radius); }

/* ---------- Article (blog post) ---------- */
.article__meta {
  color: var(--muted); font-size: .85rem; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: 14px;
}
/* Featured image: full content width (spans article + sidebar), above the title.
   3:2 matches the source photos, so the whole image shows with little/no cropping. */
.post-featured { margin: 0 0 40px; }
.post-featured img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.article-cta { text-align: center; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---------- Back link ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; margin-bottom: 28px; }

/* ---------- Banner hero (full-width photo + title only) ---------- */
.page-hero--banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.20) 35%, rgba(0,0,0,.72) 100%);
}
.page-hero--banner .page-hero__inner {
  min-height: clamp(300px, 36vw, 430px);
  display: grid; align-content: center;
  padding-block: 40px;
}
.page-hero--banner h1 { margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* ---------- Left-aligned photo hero (Services) ---------- */
.page-hero--left {
  text-align: left;
  /* Parallax: image stays fixed to the viewport while content scrolls over it (matches live) */
  background-image: url(../img/services-hero.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 760px) { .page-hero--left { background-attachment: scroll; } }   /* mobile: fixed bg is buggy on iOS */
.page-hero--left::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,15,.72) 0%, rgba(10,10,15,.45) 42%, rgba(10,10,15,.05) 82%);
}
.page-hero--left .container {
  position: relative;
  min-height: clamp(520px, 82vh, 860px);   /* tall hero on first load */
  display: grid; align-content: center;
  padding-block: clamp(56px, 8vw, 90px);
}
/* Anchor the photo to the top so the Colombian flag isn't cropped off */
.page-hero--left .page-hero__bg { object-position: center top; }
.page-hero--left .page-hero__col { max-width: 560px; }
.page-hero--left h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.page-hero--left p { color: #f1ecef; text-shadow: 0 1px 10px rgba(0,0,0,.45); }

/* ---------- Plain (flag) testimonials — 4 across, no card, flag + name ---------- */
.testimonials--4 { grid-template-columns: repeat(4, 1fr); }
.quote--bare { background: transparent; border: 0; box-shadow: none; padding: 0; }
.quote--bare blockquote { font-style: normal; color: var(--ink); font-size: .98rem; }
.quote__author { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.quote__author img { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; }
.quote__author cite {
  font-style: normal; font-weight: 600; font-family: var(--font-heading);
  color: var(--heading); font-size: .92rem;
}

/* ---------- Homepage hero (photo banner: title + subtitle) ---------- */
.page-hero--home::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,18,24,.42), rgba(18,18,24,.58));
}
.page-hero--home .page-hero__inner { min-height: clamp(330px, 42vw, 470px); display: grid; align-content: center; }
.page-hero--home h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: .15em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.page-hero__subtitle {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.05rem, 2.6vw, 1.65rem); color: #fff; margin: 0;
  letter-spacing: .3px; text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

/* ---------- Full-width auto-sliding photo gallery (carousel, no scrollbar) ---------- */
.gallery { overflow: hidden; padding: 0 10px; }
.gallery__track { display: flex; gap: 10px; will-change: transform; }
.gallery__item {
  flex: 0 0 calc((100% - 30px) / 4);   /* 4 across, 3 gaps of 10px */
  width: calc((100% - 30px) / 4);
  aspect-ratio: 3 / 2;
  overflow: hidden;                     /* clips the hover zoom */
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
@media (max-width: 900px) { .gallery__item { flex-basis: calc((100% - 10px) / 2); width: calc((100% - 10px) / 2); } }
@media (max-width: 560px) { .gallery__item { flex-basis: 100%; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .gallery__item:hover img { transform: none; } }

/* ---------- Plain centered service items (homepage) ---------- */
.cards--plain .card { background: transparent; border: 0; box-shadow: none; text-align: center; padding: 22px 18px; }
.cards--plain .card:hover { transform: none; box-shadow: none; border-color: transparent; }
.cards--plain .card__icon { background: none; color: #32373c; width: auto; height: auto; margin: 0 auto 16px; }
.cards--plain .card__icon svg { width: 46px; height: 46px; stroke-width: 1.4; }

/* ---------- Interior responsive ---------- */
@media (max-width: 960px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .testimonials--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .pricing { grid-template-columns: 1fr; }
  .badge-row { flex-direction: column; }
}
@media (max-width: 600px) {
  .testimonials--4 { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Blog post — photo-banner hero + two-column (article + sidebar)
   ========================================================================== */
.post-hero { overflow: hidden; }
.post-hero__bg { width: 100%; height: clamp(260px, 32vw, 430px); object-fit: cover; display: block; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.post-main { min-width: 0; }
.post-main h1 { margin: .1em 0 .6em; }
.post-main .prose { max-width: none; }

/* In-article CTA — burgundy panel matching the homepage consultation band */
.post-cta { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); margin-top: 48px; }
.post-cta h3 { color: #fff; margin-bottom: .4em; }
.post-cta p { color: #f3e6ec; margin-bottom: 1.5em; }
.btn--block { width: 100%; justify-content: center; }

/* Related reading */
.related { margin-top: 40px; }
.related h3 { font-size: 1.3rem; margin-bottom: .5em; }
.related ul { margin: 0; padding-left: 1.2em; }
.related li { margin-bottom: .5em; }
.related a { color: var(--link); text-decoration: none; transition: color .15s ease; }
.related a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; }

/* Prev / next */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { font-family: var(--font-heading); font-weight: 600; font-size: .92rem; color: var(--brand); }
.post-nav a:hover { color: var(--brand-dark); }
.post-nav span { color: var(--line); }

/* Sidebar (scrolls normally with the page — not sticky) */
.post-sidebar { }
.sidebar-search { margin-bottom: 36px; }
.sidebar-search label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--heading); margin-bottom: 8px; }
.sidebar-search input {
  width: 100%; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 2px; margin-bottom: 16px; font-family: var(--font-body); font-size: 1rem;
  background: transparent; color: var(--ink);
}
.sidebar-search input:focus { border-bottom-color: var(--brand); }
.sidebar__title { font-size: 1.05rem; margin-bottom: 18px; }
.sb-post { display: block; margin-bottom: 22px; }
.sb-post__media { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; }
.sb-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sb-post:hover .sb-post__media img { transform: scale(1.06); }
.sb-post__date {
  position: absolute; top: 8px; right: 8px;
  background: var(--btn-dark); color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: .7rem;
  padding: 4px 8px; border-radius: 4px;
}
.sb-post__title { display: block; margin-top: 10px; font-family: var(--font-heading); font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--heading); }
.sb-post:hover .sb-post__title { color: var(--brand); }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 36px; }
  .post-sidebar { position: static; }
}

/* ==========================================================================
   Fees comparison table (Services page, below the trimmed pricing cards)
   ========================================================================== */
.fees-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fees-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fees-table th, .fees-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: middle; }
.fees-table thead th { font-family: var(--font-heading); font-weight: 600; color: #fff; background: var(--brand); border-bottom: 0; white-space: nowrap; }
.fees-table tbody th { font-family: var(--font-heading); font-weight: 600; color: var(--heading); }
.fees-table tbody tr:last-child th, .fees-table tbody tr:last-child td { border-bottom: 0; }
.fees-table tbody tr:hover { background: var(--brand-tint); }
.fees-table .price { font-family: var(--font-heading); font-weight: 700; color: var(--brand); white-space: nowrap; }
.fees-table .yes { color: var(--brand); font-weight: 700; text-align: center; }
.fees-table .no { color: #c9c2c6; text-align: center; }
