@page {
  size: A4;
  margin: 0;
}

* {
  box-sizing: border-box;
}

:root {
  --brand-red: #ff0000;
  --border-gray: #d8d8d8;
  --text-black: #000000;
  --ink-navy: #13273d;
  --ink-navy-2: #1d3a59;
  --ink-navy-3: #294b6d;
  --text-soft: #4b5663;
  --paper-white: #fafafa;
  --paper-blue: #fafafa;
  --paper-tint: #fafafa;
  --type-title: 11.6pt;
  --type-subtitle: 9.2pt;
  --type-label: 7.7pt;
  --type-body: 7.1pt;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--text-black);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  padding: 12mm 0;
  overflow: auto;
}

.page {
  width: 210mm;
  min-height: 297mm;
  padding: 8mm 18mm;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 3mm 10mm rgba(21, 36, 55, 0.08);
  page-break-after: always;
}

.clients-sheet {
  width: 174mm;
  height: 281mm;
  display: grid;
  grid-template-rows: auto auto 84mm minmax(0, 1fr);
  gap: 2.4mm;
  align-content: start;
}

.clients-brand {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.4mm;
  min-height: 13.4mm;
  padding: 1mm 2mm 1.05mm;
  border: 0.35mm solid var(--border-gray);
  background: var(--paper-white);
  border-radius: 3.2mm;
  overflow: hidden;
}

.clients-brand::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1.1mm;
  background: linear-gradient(90deg, var(--brand-red) 0%, rgba(255, 0, 0, 0.8) 35%, rgba(255, 0, 0, 0.4) 70%, transparent 100%);
}

.clients-brand__meta {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 0.6mm;
  align-content: center;
}

.clients-brand__logos {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5mm;
}

.clients-brand__logo {
  display: block;
  width: 10.5mm;
  height: auto;
  opacity: 0.95;
}

.clients-brand__banner {
  display: block;
  width: 25mm;
  max-width: 25mm;
  height: auto;
}

.clients-brand__eyebrow {
  color: var(--brand-red);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clients-brand__title {
  margin: 0;
  color: var(--ink-navy);
  font-size: var(--type-title);
  line-height: 1.08;
  font-weight: 700;
}

.clients-brand__subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--type-body);
  line-height: 1.1;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
}

.clients-brand__rule {
  display: block;
  width: 100%;
  height: 0.35mm;
  margin-top: 0.15mm;
  background: linear-gradient(90deg, var(--brand-red), rgba(255, 0, 0, 0.04));
}

.clients-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(0, 1fr);
  gap: 2.4mm;
  width: 100%;
  page-break-inside: avoid;
  align-items: stretch;
  min-height: 0;
}

.clients-intro__summary,
.clients-intro__snapshot,
.clients-logos,
.sector-card {
  border: 0.35mm solid var(--border-gray);
  border-radius: 3.2mm;
  background: var(--paper-white);
}

.clients-intro__summary {
  padding: 1.95mm 2.25mm;
  display: grid;
  gap: 0.9mm;
  align-content: start;
  grid-template-rows: auto auto auto auto;
  background: var(--paper-white);
}

.clients-intro__snapshot {
  padding: 1.5mm 1.8mm;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.45mm;
  align-content: stretch;
  background: var(--paper-white);
}

.clients-intro__points {
  display: grid;
  gap: 0;
  margin-top: 0.7mm;
  border-top: 0.26mm solid rgba(216, 225, 234, 0.95);
}

.clients-intro__point {
  margin: 0;
  padding: 1.2mm 0 1.2mm 2.45mm;
  position: relative;
  color: var(--text-soft);
  font-size: 6.55pt;
  line-height: 1.18;
  font-weight: 700;
  border-bottom: 0.26mm solid rgba(216, 225, 234, 0.95);
}

.clients-intro__point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 1.1mm;
  height: 1.1mm;
  border-radius: 50%;
  background: var(--brand-red);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.9mm;
  min-height: 0;
  height: 100%;
  align-content: stretch;
}

.snapshot-card {
  min-height: 8.4mm;
  height: 100%;
  padding: 1.15mm 1.35mm;
  border: 0.3mm solid #d8e1ea;
  border-radius: 2.6mm;
  background: var(--paper-blue);
}

.snapshot-card__label,
.section-label {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.snapshot-card__label {
  margin-bottom: 0.35mm;
  color: var(--brand-red);
  font-size: var(--type-label);
}

.snapshot-card__value {
  display: block;
  color: var(--text-black);
  font-size: var(--type-body);
  line-height: 1.14;
  font-weight: 700;
}

.section-label {
  margin: 0 0 0.35mm;
  color: var(--brand-red);
  font-size: var(--type-label);
}

.section-title {
  margin: 0;
  color: var(--ink-navy);
  font-size: var(--type-subtitle);
  line-height: 1.01;
  font-weight: 700;
  text-wrap: balance;
}

.lead-text,
.body-text,
.clients-logos__caption,
.sector-card__text {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--type-body);
  line-height: 1.1;
  text-align: left;
  text-align-last: left;
  text-wrap: pretty;
}

.lead-text {
  color: var(--ink-navy);
  font-weight: 700;
}

.clients-logos {
  min-height: 0;
  padding: 1.8mm 1.7mm 1.9mm;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.95mm;
  page-break-inside: avoid;
  background: var(--paper-white);
}

.clients-logos__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45mm;
  align-items: start;
}

.clients-logos__header .section-label {
  white-space: nowrap;
}

.clients-logos__caption {
  color: var(--text-black);
  font-size: 5.9pt;
  line-height: 1.08;
}

.clients-logos__figure {
  margin: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 1.05mm;
  align-content: stretch;
  align-items: stretch;
  overflow: visible;
  isolation: auto;
  filter: grayscale(100%);
}

.client-logo-card {
  margin: 0;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  align-items: start;
  padding: 1.45mm 1.15mm 2.25mm;
  border: 0.22mm solid rgba(210, 219, 229, 0.9);
  border-radius: 1.8mm;
  background: var(--paper-white);
  box-shadow: inset 0 0.2mm 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.client-logo-card__image {
  display: block;
  width: 86%;
  max-width: 86%;
  height: 76%;
  max-height: 76%;
  object-fit: contain;
  object-position: center top;
  transform: translateY(-21%);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.client-logo-card--tulum .client-logo-card__image {
  width: 66%;
  max-width: 66%;
  height: 56%;
  max-height: 56%;
  object-position: center;
  transform: translateY(10%);
}

.client-logo-card--sep .client-logo-card__image {
  width: 98%;
  max-width: 98%;
  height: 88%;
  max-height: 88%;
  object-position: center;
  transform: translateY(-27%);
}

.client-logo-card--imss .client-logo-card__image {
  width: 72%;
  max-width: 72%;
  height: 62%;
  max-height: 62%;
  transform: translateY(-4%);
  object-position: center;
}

.client-logo-card--cfe .client-logo-card__image {
  width: 76%;
  max-width: 76%;
  height: 66%;
  max-height: 66%;
  object-position: center;
  transform: translateY(-8%);
}

.client-logo-card--logo09 .client-logo-card__image {
  width: 70%;
  max-width: 70%;
  height: 60%;
  max-height: 60%;
  object-position: center;
  transform: translateY(8%);
}

.client-logo-card--siteur .client-logo-card__image {
  width: 70%;
  max-width: 70%;
  height: 60%;
  max-height: 60%;
  object-position: center;
  transform: translateY(0);
}

.clients-logos__figure > .client-logo-card:nth-child(n + 6):nth-child(-n + 10) .client-logo-card__image {
  width: 74%;
  max-width: 74%;
  height: 64%;
  max-height: 64%;
  object-position: center;
  transform: translateY(-6%);
}

.clients-logos__figure > .client-logo-card:nth-child(7) .client-logo-card__image {
  width: 62%;
  max-width: 62%;
  height: 52%;
  max-height: 52%;
  object-position: center;
  transform: translateY(-4%);
}

.clients-logos__figure > .client-logo-card:nth-child(8) .client-logo-card__image {
  width: 56%;
  max-width: 56%;
  height: 46%;
  max-height: 46%;
  object-position: center;
  transform: translateY(-4%);
}

.clients-logos__figure > .client-logo-card.client-logo-card--logo19:nth-child(n + 6):nth-child(-n + 10) .client-logo-card__image {
  width: 60%;
  max-width: 60%;
  height: 52%;
  max-height: 52%;
  object-position: center;
  transform: translateY(2%);
}

.clients-logos__figure > .client-logo-card--logo15 .client-logo-card__image {
  width: 68%;
  max-width: 68%;
  height: 58%;
  max-height: 58%;
  object-position: center;
  transform: translateY(1%);
}

.clients-sectors {
  display: grid;
  min-height: 0;
  height: 100%;
  grid-template-rows: 8.2mm minmax(0, 1fr);
  gap: 1mm;
  page-break-inside: avoid;
  align-content: start;
}

.clients-sectors__headline {
  display: grid;
  gap: 0.05mm;
  align-content: start;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.6mm;
  min-height: 0;
  height: 100%;
  align-items: stretch;
  align-content: stretch;
}

.sector-card {
  min-height: 0;
  height: 100%;
  padding: 1.8mm 0 0;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
  column-gap: 0;
  row-gap: 0.75mm;
  page-break-inside: avoid;
  background: var(--paper-white);
  border: 0.3mm solid #d9e1e9;
  box-shadow: 0 0.8mm 2mm rgba(19, 39, 61, 0.035);
  position: relative;
  overflow: hidden;
  align-items: start;
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.8mm;
  background: linear-gradient(90deg, var(--brand-red), rgba(255, 0, 0, 0.08));
  z-index: 0;
}

.sector-card > * {
  position: relative;
  z-index: 1;
}

.sector-card__icon-wrap {
  margin: 0;
  grid-column: 1;
  grid-row: 1;
  width: 8.5mm;
  height: 8.5mm;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  align-self: center;
  margin-left: 2mm;
}

.sector-card__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(7489%) hue-rotate(2deg) brightness(104%) contrast(118%);
}

.sector-card__title {
  margin: 0;
  grid-column: 1;
  grid-row: 1;
  color: var(--ink-navy);
  font-size: 6.9pt;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  align-self: center;
  padding: 0 2mm 0 11.8mm;
}

.sector-card__text {
  grid-column: 1;
  grid-row: 2;
  padding: 0 2mm;
  font-size: 5.9pt;
  line-height: 1.16;
  color: #4f5e6e;
}

.sector-card--featured {
  grid-template-rows: auto auto 1fr;
}

.sector-card__photo {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 20mm;
  border-radius: 2.2mm 2.2mm 0 0;
  overflow: hidden;
  border: 0;
  border-top: 0.25mm solid #d9e1e9;
  align-self: stretch;
  position: relative;
  background: var(--paper-white);
}

.sector-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(0deg, rgba(255, 0, 0, 0.08) 0%, rgba(255, 0, 0, 0) 38%);
}

.sector-card__photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) brightness(1.07) saturate(1.08);
  transform: scale(1.01);
}

@media print {
  html,
  body {
    width: 210mm;
    height: 297mm;
  }

  body {
    padding: 0;
    overflow: hidden;
  }

  .page {
    margin: 0;
    box-shadow: none;
  }
}
