/* ============================================================
   BTT Inner Pages — Option C: Full-width sections, no sidebar
   ============================================================ */

/* ── Centered inner page hero ───────────────────────────── */
/* Text stays left-aligned; the content block is centered on the page */
.page-hero--centered {
  padding: 80px var(--pad-x) 72px;
}

.page-hero--centered .page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  /* text-align: left is the default — no override needed */
}

.page-hero--centered h1 {
  font-size: 48px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.page-hero--centered .page-hero__lead {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-size: 18px;
  color: #b0b5be;
}

@media (max-width: 768px) {
  .page-hero--centered h1 { font-size: 32px; }
  .page-hero--centered .page-hero__lead { font-size: 16px; }
}

/* ── Section wrapper ─────────────────────────────────────── */
.ip-section {
  padding: 72px var(--pad-x);
  background: #fff;
}

.ip-section--alt {
  background: var(--bg-soft);
}

.ip-section--dark {
  background: var(--navy);
}

/* ── Container ───────────────────────────────────────────── */
.ip-container {
  max-width: 1100px;
  margin: 0 auto;
}

.ip-container--narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Section header ──────────────────────────────────────── */
.ip-section-header {
  margin-bottom: 40px;
}

.ip-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.7px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.ip-section-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0;
}

.ip-section-header--dark h2 {
  color: #fff;
}

.ip-section-header--dark p {
  color: #9CA0A8;
}

/* ── Intro grid (body + sidebar) ─────────────────────────── */
.ip-intro-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.ip-intro-body .trust-strip {
  margin-bottom: 28px;
}

.ip-intro-body .body-lg {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Quick links sidebar ─────────────────────────────────── */
.ip-quick-links {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ip-quick-links__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.ip-quick-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.ip-quick-links__item:last-of-type {
  border-bottom: none;
}

.ip-quick-links__item:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.ip-quick-links__item [data-lucide] {
  color: var(--muted);
}

/* ── Doc type grid — wide (4 columns) ───────────────────── */
.doc-type-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Language coverage — wide (3 columns) ───────────────── */
.lang-coverage-grid--wide {
  grid-template-columns: 1fr 1fr 2fr;
}

.lang-coverage-card--wide {
  /* spans the third column which is 2fr */
}

/* ── Format grid ─────────────────────────────────────────── */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.format-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.format-card [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--navy);
  flex: none;
  margin-top: 1px;
}

.format-card strong {
  color: var(--ink);
}

/* ── Process steps — horizontal row ─────────────────────── */
.process-steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

.process-step-card__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}

.process-step-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.process-step-card p {
  font-size: 13px;
  color: #9CA0A8;
  line-height: 1.6;
  margin: 0;
}

/* ── FAQ in narrow container ─────────────────────────────── */
.ip-container--narrow .faq-list {
  margin-top: 0;
}

.ip-container--narrow p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ── Who we help grid ───────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.who-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.who-item:hover {
  border-color: #c8cdd6;
  box-shadow: 0 4px 12px -8px rgba(14,42,71,0.15);
}

.who-item [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

/* ── Certification options grid ──────────────────────── */
.cert-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-option-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cert-option-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px -12px rgba(242,64,15,0.2);
}

.cert-option-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-option-card__icon [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.cert-option-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.cert-option-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Challenge grid ────────────────────────────────── */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.challenge-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.challenge-card__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}

.challenge-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.challenge-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Process step card — light variant (on light bg) ──────── */
.process-step-card--light {
  background: #fff;
  border: 1px solid var(--line);
}

.process-step-card--light .process-step-card__num {
  color: var(--gold);
}

.process-step-card--light strong {
  color: var(--navy);
}

.process-step-card--light p {
  color: var(--muted);
}

.process-steps-row--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ── Intro section (no alt bg) ─────────────────────────── */
.ip-section--intro {
  background: #fff;
}

/* ── About Us: stats grid ─────────────────────────── */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}

.about-stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat__num {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.about-clients-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ── About Us: Why Us grid ────────────────────────── */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-us-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.why-us-card:hover {
  border-color: #c8cdd6;
  box-shadow: 0 8px 24px -14px rgba(14,42,71,0.2);
}

.why-us-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-card__icon [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.why-us-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.why-us-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── About Us: History timeline ──────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 24px;
  padding-bottom: 40px;
}

.timeline-item--last {
  padding-bottom: 0;
}

.timeline-item__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.timeline-item__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--line);
  flex: none;
  z-index: 1;
}

.timeline-item__dot--gold {
  background: var(--gold);
  border-color: var(--gold);
}

.timeline-item__line {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin-top: 4px;
}

.timeline-item__body {
  padding-bottom: 8px;
}

.timeline-item__period {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-item__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.timeline-item__body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.timeline-item__body p:last-child {
  margin-bottom: 0;
}

/* ── About Us: Team grid ────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.team-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* ── About Us: Offices grid ─────────────────────────── */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.office-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.office-card--hq {
  background: var(--navy);
  border-color: transparent;
}

.office-card--hq .office-card__country { color: #fff; }
.office-card--hq .office-card__label { color: var(--gold); }
.office-card--hq .office-card__address { color: #9CA0A8; }
.office-card--hq .office-card__phone { color: #fff; }

.office-card__flag {
  font-size: 28px;
  line-height: 1;
}

.office-card__country {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.office-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.office-card__address {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.office-card__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: 4px;
}

.office-card__phone [data-lucide] {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ── Certified translation: cert includes grid ──────────── */
.cert-includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cert-include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.cert-include-item [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
  margin-top: 1px;
}

.cert-include-item strong {
  color: var(--ink);
}

/* ── Certified translation: category grid ─────────────── */
.cert-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-category {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cert-category__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cert-category__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.cert-category__icon [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.cert-category__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.cert-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cert-category__list li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 9px 20px;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-category__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.cert-category__list li:last-child {
  border-bottom: none;
}

/* ── Article layout (guides) ─────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: start;
}

.article-sidebar {
  /* sticky handled inline */
}

/* Table of contents */
.article-toc {
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.article-toc__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.article-toc__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-toc__list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* Numbered section headings */
.article-section {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  position: relative;
}

.article-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.article-section__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--line);
  letter-spacing: -1px;
  line-height: 1;
  flex: none;
  min-width: 36px;
}

.article-section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0;
}

/* Sub-headings within sections */
.article-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.article-h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex: none;
}

/* Body paragraphs */
.article-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body p strong {
  color: var(--ink);
  font-weight: 600;
}

/* FAQ within articles */
.article-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-faq-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.article-faq-item:last-child {
  border-bottom: none;
}

.article-faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.article-faq-q::before {
  content: 'Q';
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  border-radius: 4px;
  padding: 2px 6px;
  flex: none;
  margin-top: 1px;
}

.article-faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 28px;
}

/* Mobile */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .article-section__num { font-size: 26px; }
  .article-section__title { font-size: 20px; }
}

/* Legacy guide-content class */
.guide-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.guide-content p:last-child {
  margin-bottom: 0;
}

.guide-content p strong {
  color: var(--ink);
  font-weight: 600;
}

/* Mobile additions */
@media (max-width: 1100px) {
  .about-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .about-stat:nth-child(3) { border-right: none; }
  .about-stat:nth-child(4), .about-stat:nth-child(5) { border-top: 1px solid var(--line); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 768px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat { border-right: none !important; border-bottom: 1px solid var(--line); }
  .about-stat:last-child { border-bottom: none; }
  .why-us-grid { grid-template-columns: 1fr; }
  .timeline { max-width: 100%; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .offices-grid { grid-template-columns: 1fr; }
  .cert-options-grid { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .doc-type-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .process-steps-row { grid-template-columns: repeat(3, 1fr); }
  .lang-coverage-grid--wide { grid-template-columns: 1fr 1fr; }
  .lang-coverage-card--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .ip-section { padding: 48px var(--pad-x); }
  .ip-intro-grid { grid-template-columns: 1fr; }
  .ip-intro-body .trust-strip { display: none; }
  .doc-type-grid--wide { grid-template-columns: 1fr; }
  .lang-coverage-grid--wide { grid-template-columns: 1fr; }
  .lang-coverage-card--wide { grid-column: span 1; }
  .format-grid { grid-template-columns: 1fr 1fr; }
  .process-steps-row { grid-template-columns: 1fr 1fr; }
  .ip-section-header h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .format-grid { grid-template-columns: 1fr; }
  .process-steps-row { grid-template-columns: 1fr; }
}
