/* ============================================================
   CISH — China Industrial Service Hub
   style.css — complete shared stylesheet
   Colours: --blue #0B3D91 | --orange #E87722
   ============================================================ */

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0B3D91;
  --blue-d:  #082d6e;
  --blue-l:  #e8eef8;
  --orange:  #E87722;
  --orange-d:#c4621b;
  --dark:    #1a1a2e;
  --text:    #2d2d2d;
  --muted:   #666;
  --border:  #dde3ec;
  --bg:      #f8f9fc;
  --white:   #ffffff;
  --font:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(11,61,145,.10);
  --shadow-l:0 1px 4px rgba(11,61,145,.07);
  --max:     1200px;
  --insight-max: var(--max);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }

strong { font-weight: 600; }

/* ── Layout helpers ──────────────────────────────────────── */
.container        { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
.section-sm{ padding: 48px 0; }
.bg-blue   { background: var(--blue); color: var(--white); }
.bg-blue h1,.bg-blue h2,.bg-blue h3,.bg-blue h4 { color: var(--white); }
.bg-light  { background: var(--bg); }
.bg-dark   { background: var(--dark); color: var(--white); }
.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-dark h4 { color: var(--white); }

/* Image strip directly below page hero ───────────────────── */
.page-image-strip { background: var(--bg); padding: 2rem 0; }

.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: .75rem;
}
.bg-blue .eyebrow  { color: #f9c784; }
.bg-dark .eyebrow  { color: #f9c784; }

/* When .eyebrow sits directly before a heading (no wrapper div),
   ensure the subsequent h2/h3 gets consistent bottom spacing. */
.eyebrow + h2 { margin-bottom: 1.5rem; }
.eyebrow + h3 { margin-bottom: 1.25rem; }

.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 2rem; }
.mb-3  { margin-bottom: 3rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-d);
  border-color: var(--orange-d);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  text-decoration: none;
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue-l);
  text-decoration: none;
}
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── Image placeholder ───────────────────────────────────── */
.img-ph {
  background: #e4eaf5;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.5rem;
  text-align: center;
  min-height: 220px;
}
.img-ph svg { opacity: .35; }
.img-ph p  {
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
  max-width: 320px;
  margin: 0;
  line-height: 1.5;
}
.img-ph-tall  { min-height: 380px; }
.img-ph-hero  { min-height: 480px; }
.img-ph-sm    { min-height: 140px; }
.media-frame {
  background: #dbe5f3;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  padding: 0;
}
.media-frame-tall { min-height: 380px; }
.media-frame-hero { min-height: 480px; }
.media-frame-sm { min-height: 140px; }
.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Background-image variant of .media-frame:
   use style="background-image:url('...')" on the element.
   Replaces the .img-ph workaround pattern. */
.media-bg {
  background-color: #dbe5f3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  padding: 0;
}
.brand-mark {
  background: #f6f9fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.brand-mark-lg { min-height: 380px; }
.brand-mark-sm { min-height: 140px; }
.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.avatar-mark {
  background: #edf3fb;
  overflow: hidden;
}
.team-headshot {
  display: block;
  width: min(180px, 100%);
  height: 220px;
  min-height: unset;
  margin: 0 auto 1rem;
  padding: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #e9eef7 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  position: relative;
}
.team-headshot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.map-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 200px;
  border: 1px solid var(--border);
  background: #eef3fb;
}
.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── HEADER / NAV ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-l);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
  position: relative;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img {
  display: block;
  width: auto;
  height: 52px;
}

.nav-main { display: flex; align-items: center; gap: .2rem; list-style: none; padding: 0; margin: 0 auto; flex: 1; }

.nav-item { position: relative; }
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background .15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { background: var(--bg); text-decoration: none; }
.nav-link.active { color: var(--blue); }

.nav-chevron { width: 12px; height: 12px; transition: transform .2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(11,61,145,.14);
  min-width: 240px;
  padding: .5rem;
  z-index: 100;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: .55rem .9rem;
  font-size: .88rem;
  color: var(--text);
  border-radius: 4px;
}
.nav-dropdown a:hover { background: var(--bg); color: var(--blue); text-decoration: none; }
.nav-dropdown-all { margin-top: .35rem; border-top: 1px solid var(--border); padding-top: .55rem !important; color: var(--blue) !important; font-weight: 600 !important; font-size: .82rem !important; }
.nav-dropdown-all:hover { background: var(--blue-l) !important; }

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .2s;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: .6rem;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 48px;
}
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 1.2rem; }
.footer-contact a { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: .5rem; }
.footer-contact a:hover { color: var(--white); text-decoration: none; }
.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .07em; }
.footer-col h4 a { color: var(--white); text-decoration: none; }
.footer-col h4 a:hover { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a { color: rgba(255,255,255,.65); font-size: .87rem; }
.footer-col ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  transition: background .15s;
}
.footer-social a:hover { background: var(--orange); color: var(--white); text-decoration: none; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0e4fa8 50%, #1a3a7a 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow { color: #f9c784; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; display: block; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero-visual { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }

/* ── Page hero (interior pages) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0e4fa8 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }
.page-hero .lead a { color: #fff; text-decoration: underline; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); text-decoration: none; }

/* ── Trust bar ───────────────────────────────────────────── */
.trust-bar { background: var(--blue-l); border-bottom: 1px solid var(--border); }
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}
.trust-item .num { font-size: 2rem; font-weight: 800; color: var(--blue); display: block; }
.trust-item .label { font-size: .82rem; color: var(--muted); }

/* ── Cards grid ──────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-grid.tight { gap: 3rem; }
.split-grid.start { align-items: start; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--blue-l);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { color: var(--blue); }
.card h3 { margin-bottom: .5rem; }
.card p  { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.card .card-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card .card-link:hover { text-decoration: underline; }

/* Service card variant */
.card-service {
  border-top: 3px solid var(--orange);
}
.card-service:hover { border-top-color: var(--blue); }

.section-heading {
  margin-bottom: 2rem;
}
.section-heading.narrow {
  max-width: 760px;
}
.section-heading.center {
  text-align: center;
}
.why-option-card {
  border-left: 3px solid #dc3545;
  height: 100%;
}
.why-option-card h4 {
  color: #dc3545;
}
.why-option-card.is-cish {
  border-left-color: var(--orange);
}
.why-option-card.is-cish h4 {
  color: var(--orange);
}
.team-card {
  text-align: center;
  padding: 1.75rem 1.2rem;
  height: 100%;
}
.team-role {
  font-size: .82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: .4rem;
}
.team-bio {
  font-size: .82rem;
  color: var(--muted);
}
.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.difference-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  height: 100%;
}
.difference-card .step-num {
  flex-shrink: 0;
  margin: 0;
  width: 48px;
  height: 48px;
  font-size: 1rem;
  background: var(--orange);
}
.difference-copy {
  flex: 1;
  text-align: left;
}
.difference-copy h4 {
  margin-bottom: .4rem;
}
.belief-panel {
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 1.1rem;
}
.belief-panel p {
  color: rgba(255,255,255,.82);
  margin: 0;
}

/* Industry tile */
.industry-tile {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--dark);
  color: var(--white);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.industry-tile .tile-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
  z-index: 1;
}
.industry-tile .tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry-tile .tile-content { position: relative; z-index: 2; padding: 1.4rem; }
.industry-tile h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .25rem; }
.industry-tile p  { color: rgba(255,255,255,.75); font-size: .82rem; margin: 0; }
.industry-tile a  { color: rgba(255,255,255,.7); font-size: .8rem; display: inline-block; margin-top: .4rem; }
.industry-tile a:hover { color: var(--white); text-decoration: none; }

/* ── Process / Timeline ──────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50px + 1rem);
  right: calc(50px + 1rem);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .8rem;
  position: relative;
  z-index: 2;
}
.process-step h4 { font-size: .88rem; color: var(--dark); margin-bottom: .3rem; }
.process-step p  { font-size: .78rem; color: var(--muted); }

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  background: var(--orange);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.7); }

/* ── Tables ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th {
  background: var(--blue);
  color: var(--white);
  text-align: left;
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: .85rem;
}
td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg); }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.1rem 1.4rem;
  font-size: 1rem; font-weight: 600; color: var(--dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq-q:hover { background: var(--bg); }
.faq-chevron { flex-shrink: 0; transition: transform .2s; font-size: .85rem; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: .93rem; }
.faq-item.open .faq-a { display: block; }

/* ── Scope / highlight boxes ─────────────────────────────── */
.callout {
  border-left: 4px solid var(--orange);
  background: #fff8f0;
  padding: 1.2rem 1.4rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.callout.blue {
  border-color: var(--blue);
  background: var(--blue-l);
}
.callout p { margin: 0; }

/* ── Article / insight content ───────────────────────────── */
.article-header { max-width: 720px; }
.article-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 0; }
.article-body { max-width: 720px; }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 .75rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; }
.insight-meta {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.insight-meta-chip {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  padding: .25rem .75rem;
  border-radius: 20px;
}
.insight-meta-text {
  font-size: .8rem;
  color: rgba(255,255,255,.8);
}
.insight-intro {
  margin-bottom: 2.5rem;
  max-width: var(--insight-max);
  margin-left: auto;
  margin-right: auto;
}
.insight-body {
  max-width: var(--insight-max);
  margin-left: auto;
  margin-right: auto;
}
.insight-prose {
  max-width: 100%;
}
.insight-prose > :first-child {
  margin-top: 0;
}
.insight-module {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.insight-module + .insight-prose,
.insight-prose + .insight-module {
  margin-top: 2.5rem;
}
.tldr {
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.tldr strong { color: #f9c784; }
.tldr p { margin: 0; font-size: .95rem; line-height: 1.6; }
.insight-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.insight-faq-item {
  height: 100%;
  padding: 1.5rem;
}
.insight-faq-item h3 {
  margin: 0 0 .75rem;
  font-size: 1.05rem;
}
.insight-faq-item p {
  margin: 0;
  color: var(--muted);
}

.article-cta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  max-width: var(--insight-max);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-cta h2, .article-cta h3 { margin-bottom: .5rem; }
.article-cta p  { color: var(--muted); margin-bottom: 1.25rem; font-size: .93rem; }
.article-cta .btn-group {
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.article-cta .btn-group .btn {
  width: auto;
}
.insight-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  max-width: var(--insight-max);
  margin-left: auto;
  margin-right: auto;
}
.insight-related h3 {
  margin-bottom: 1rem;
}
.insight-list-header {
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid #e5e7eb;
}
.insight-list-header p {
  max-width: none;
  color: var(--muted);
  margin: .9rem 0 0;
}
.insight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insight-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.insight-list-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.insight-list-tagrow {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.insight-list-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-l);
  padding: .25rem .6rem;
  border-radius: 20px;
}
.insight-list-flag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: .25rem .6rem;
  border-radius: 20px;
}
.insight-list-meta {
  font-size: .72rem;
  color: var(--muted);
}
.insight-list-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: .5rem;
}
.insight-list-card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}
.insight-list-cta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: .85rem;
  color: var(--blue);
  font-weight: 600;
}
/* Featured (first) card spans the full row — grid-column goes on the <a> grid item */
.insight-list > a:first-child { grid-column: 1 / -1; }
.insight-list-card-featured {
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: var(--blue-l);
  border-color: transparent;
}
.insight-list-card-featured .insight-list-copy { flex: 1 1 auto; }
.insight-list-card-featured h3 { font-size: 1.5rem; line-height: 1.3; }
.insight-list-card-featured p { font-size: 1rem; }
.insight-list-featured-cta { flex-shrink: 0; }

/* ── Case-study card grid ────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.cs-card-link { text-decoration: none; color: inherit; }
.cs-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.cs-card-media {
  border-radius: 0;
  min-height: 210px;
  flex-shrink: 0;
}
.cs-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem;
}
.cs-card-tags {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.cs-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-l);
  padding: .25rem .6rem;
  border-radius: 20px;
}
.cs-flag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: .25rem .6rem;
  border-radius: 20px;
}
.cs-meta {
  font-size: .72rem;
  color: var(--muted);
}
.cs-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: .5rem;
}
.cs-card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}
.cs-cta {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .85rem;
}
/* Featured (first) case study spans the full row, image beside copy */
.cs-grid > a:first-child { grid-column: 1 / -1; }
.cs-card-featured { flex-direction: row; align-items: stretch; }
.cs-card-featured .cs-card-media { flex: 0 0 44%; min-height: 300px; }
.cs-card-featured .cs-card-body { justify-content: center; }
.cs-card-featured h3 { font-size: 1.5rem; line-height: 1.3; }
.cs-card-featured p { font-size: 1rem; }
.cs-card-featured .cs-cta { margin-top: 1.25rem; padding-top: 0; }

/* ── Glossary ────────────────────────────────────────────── */
.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.glossary-nav a {
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-l);
  padding: .35rem .75rem;
  border-radius: 20px;
}
.glossary-nav a:hover { background: #dbe5f8; text-decoration: none; }
.glossary-cat { scroll-margin-top: 90px; margin-bottom: 1.25rem; }
.glossary-term { padding: 1.3rem 1.4rem; }
.glossary-term h3 {
  font-size: 1rem;
  margin-bottom: .45rem;
  scroll-margin-top: 90px;
}
.glossary-abbr { color: var(--muted); font-weight: 500; }
.glossary-term p { color: var(--muted); font-size: .9rem; margin: 0; }
.glossary-see { margin-top: .65rem; font-size: .8rem; }
.glossary-see a { font-weight: 600; }

/* Numbered reference-framework cards ("How We Structure References") */
.ref-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.insight-subscribe-card {
  padding: 1.5rem;
}
.insight-subscribe-form {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.insight-subscribe-input {
  flex: 1;
  min-width: 220px;
  padding: .75rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
}
.insight-subscribe-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .75rem;
}

/* ── Contact page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-row { display: flex; gap: .9rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-row .icon { flex-shrink: 0; color: var(--orange); margin-top: .15rem; }
.contact-row strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-row p, .contact-row a { margin: 0; font-size: .95rem; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,61,145,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.form-submit { margin-top: 1.5rem; }

/* ── WhatsApp bubble ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { color: white; width: 28px; height: 28px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-steps::before { display: none; }
  .insight-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 64px 0; }
  .page-hero { padding: 52px 0 44px; }
  .page-hero .lead { font-size: 1rem; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .difference-grid { grid-template-columns: 1fr; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-5 { grid-template-columns: 1fr 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .btn { white-space: normal; }
  .btn-group { width: 100%; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .hero .btn-group .btn,
  .cta-band .btn-group .btn { width: auto; }
  .article-cta .btn-group .btn { width: auto; }
  .hero-lead { font-size: 1rem; }
  .article-meta { gap: .5rem 1rem; }
  .insight-list { grid-template-columns: 1fr; }
  .insight-list-card-featured { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .insight-list-card-featured h3 { font-size: 1.25rem; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-card-featured { flex-direction: column; }
  .cs-card-featured .cs-card-media { flex: 0 0 auto; min-height: 210px; }
  .cs-card-featured h3 { font-size: 1.25rem; }
  .insight-faq-grid { grid-template-columns: 1fr; }
  .faq-q { padding: 1rem 1.1rem; font-size: .95rem; }
  .faq-a { padding: 0 1.1rem 1rem; }
  .tldr { padding: 1rem 1.1rem; }

  .nav-main, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: .9rem 1rem 1rem;
    gap: .25rem;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    margin: 0;
  }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: .8rem .4rem; }
  .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg);
    margin: .25rem 0 .5rem;
    min-width: 0;
    padding: .35rem;
  }
  .nav-dropdown a { padding: .7rem .8rem; }

  [style*="display:grid;grid-template-columns:1fr 1fr"],
  [style*="display:grid;grid-template-columns:1.1fr .9fr"],
  [style*="display:grid;grid-template-columns:1fr 1.5fr"],
  [style*="display:grid;grid-template-columns:3rem 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  [style*="display:flex;gap:.75rem;align-items:center"] {
    flex-wrap: wrap;
  }

  .wa-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid-3, .card-grid-4, .card-grid-5 { grid-template-columns: 1fr; }
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .article-cta .btn-group { align-items: center; }
  .hero .btn-group .btn,
  .cta-band .btn-group .btn,
  .btn-group .btn { width: 100%; justify-content: center; }
  .article-cta .btn-group .btn { width: auto; }
  .article-cta .btn-group { align-items: center; }
  .article-cta .btn-group .btn { width: auto; }
  .footer-bottom { align-items: flex-start; }
  .trust-item .num { font-size: 1.6rem; }
  .card, .form-card { padding: 1.2rem; }
  .img-ph,
  .media-frame,
  .img-ph-tall,
  .img-ph-hero,
  .media-frame-tall,
  .media-frame-hero { min-height: 220px; }
  .page-hero { padding: 44px 0 38px; }
  .breadcrumb { font-size: .78rem; }
  table { font-size: .84rem; }
  th, td { padding: .65rem .75rem; }

  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  [style*="display:flex;gap:.75rem;align-items:center;margin-bottom:1rem"] > * {
    flex: 0 0 auto;
  }
}
