/* Business / brochure site — ui-ux-pro-max (B2B Feature-Rich Showcase + Enterprise Gateway) */

.brochure-main {
  --brochure-section-y: clamp(56px, 8vw, 96px);
}

/* ── Page intro (inner pages) ── */
.page-head--brochure {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.brochure-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 16px;
}

.page-head--brochure .page-head-grid .lede {
  max-width: 58ch;
}

.page-head--brochure .lede-fine {
  font-size: 14px;
  color: var(--mute);
  max-width: 62ch;
  line-height: 1.55;
}

/* ── Company stats band ── */
.brochure-stats {
  padding: 40px 0;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brochure-stats--compact {
  padding: 32px 0;
}

.brochure-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.brochure-stat {
  text-align: left;
  padding: 0 8px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brochure-stat-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}

.brochure-stat-value .accent {
  color: var(--accent-on-dark);
}

.brochure-stat-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
}

.brochure-stat-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* ── Solutions gateway (Markets · Services · Projects · GC) ── */
.brochure-gateway {
  padding: var(--brochure-section-y) 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.brochure-gateway-head {
  margin-bottom: 32px;
  max-width: 52ch;
}

.brochure-gateway-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}

.brochure-gateway-head p {
  font-size: 16px;
  color: var(--mute);
  line-height: 1.55;
}

.brochure-gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brochure-gateway-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 100%;
}

.brochure-gateway-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
}

.brochure-gateway-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-pill-bg);
  color: var(--accent-text);
  margin-bottom: 16px;
}

.brochure-gateway-icon svg {
  width: 22px;
  height: 22px;
}

.brochure-gateway-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.brochure-gateway-card p {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
}

.brochure-gateway-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
  margin-top: auto;
}

.brochure-gateway-card:hover .brochure-gateway-link {
  color: var(--accent);
}

/* ── How we work (process roadmap) ── */
.brochure-process {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--bone);
  border-top: 1px solid var(--line-soft);
}

.brochure-process-head {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 52ch;
}

.brochure-process-head .brochure-kicker {
  margin-bottom: 12px;
}

.brochure-process-head h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin-bottom: 10px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.brochure-process-head p {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.55;
  margin: 0;
}

.brochure-process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

/* Flowing horizontal rail between first and last node centers (4 equal columns) */
.brochure-process-track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(var(--accent-rgb), 0.55) 45%,
    rgba(var(--accent-rgb), 0.28) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.brochure-process-step {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  scroll-snap-align: start;
}

.brochure-process-node {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
}

.brochure-process-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent-text);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.12);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.brochure-process-body {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px 16px 16px;
  width: 100%;
  min-height: 120px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  border-top: 3px solid rgba(var(--accent-rgb), 0.55);
}

.brochure-process-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.brochure-process-step p {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
  margin: 0;
}

/* ── Mid-page contact strip (brochure CTA, not full-bleed dark) ── */
.brochure-contact-strip {
  padding: 40px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.brochure-contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
}

.brochure-contact-strip-copy h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 8px;
}

.brochure-contact-strip-copy p {
  font-size: 15px;
  color: var(--mute);
  max-width: 42ch;
  line-height: 1.5;
  margin: 0;
}

.brochure-contact-strip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
}

.brochure-contact-strip-meta a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}

.brochure-contact-strip-meta a:hover {
  color: var(--accent-text);
}

.brochure-contact-strip-meta .sep {
  color: var(--line);
  user-select: none;
}

/* ── Market cards (brochure detail blocks) ── */
.brochure-market-cta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
  border-top: 1px solid var(--line-soft);
}

.svc-card--brochure:hover .brochure-market-cta {
  color: var(--accent);
}

/* ── Mission line (home hero) ── */
.brochure-mission {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 20px;
}

.page-home .home-mock-hero .brochure-mission {
  color: var(--accent-text);
}

/* ── Trust row on contact ── */
.brochure-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.brochure-trust-item {
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}

.brochure-trust-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.brochure-trust-item span {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .brochure-stats-grid,
  .brochure-gateway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brochure-process-head {
    max-width: 48ch;
  }
  .brochure-process-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 calc(-1 * var(--gutter, 24px));
    padding-left: var(--gutter, 24px);
    padding-right: var(--gutter, 24px);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }
  .brochure-process-track::before {
    left: calc(var(--gutter, 24px) + 110px);
    right: calc(var(--gutter, 24px) + 110px);
    top: 20px;
  }
  .brochure-process-step {
    flex: 0 0 min(240px, 72vw);
    min-width: 220px;
  }
  .brochure-stat:nth-child(2) {
    border-right: none;
  }
  .brochure-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .brochure-stats-grid,
  .brochure-gateway-grid,
  .brochure-trust-row {
    grid-template-columns: 1fr;
  }
  .brochure-process-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    margin: 0;
    padding: 0 0 0 20px;
    border-left: 2px solid rgba(var(--accent-rgb), 0.22);
    mask-image: none;
    scroll-snap-type: none;
  }
  .brochure-process-track::before {
    display: none;
  }
  .brochure-process-step {
    flex: none;
    min-width: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
  }
  .brochure-process-node {
    justify-content: flex-start;
    min-height: auto;
  }
  .brochure-process-step:last-child {
    padding-bottom: 0;
  }
  .brochure-process-marker {
    width: 36px;
    height: 36px;
    margin-left: -39px;
    background: var(--bone);
  }
  .brochure-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 20px;
  }
  .brochure-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .brochure-contact-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brochure-gateway-card,
  .brochure-contact-strip-meta a {
    transition-duration: 0.001ms;
  }
}
