/* ==========================================================================
   EXPO LOGÍSTICA 2026 — Brand Guidelines
   Editorial brand-book layout inspired by the Brandguide template structure,
   built on the official Expo Logística 2026 brand system.
   ========================================================================== */

:root {
  /* Brand core */
  --prussian: #002B49;
  --lagoon:   #00AAD2;
  --teal:     #005F6B;
  --orange:   #FF5E00;

  /* Neutrals / ink */
  --ink:      #11202b;
  --ink-soft: #41525d;
  --muted:    #76828c;
  --line:     #e6eaef;
  --card:     #f3f5f8;
  --card-2:   #eef1f5;
  --white:    #ffffff;

  --sidebar-w: 264px;
  --col: 600px;

  --f-display: "Inter", Arial, Helvetica, sans-serif;
  --f-body: "Inter", Arial, Helvetica, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: #fff; }

/* ===== Typography helpers ===== */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-weight: 800;
  letter-spacing: 0;
  line-height: .96;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--prussian);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero::before { /* faint brand atmosphere */
  content: "";
  position: absolute; inset: 0;
  background: url('../img/expo-logistica-2026-fondo-modular.jpg') center/cover no-repeat;
  opacity: .20;
  mix-blend-mode: luminosity;
  z-index: -2;
}
.hero::after { /* brand-color gradient wash for depth + legibility */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(85% 70% at 82% 6%, rgba(0,170,210,.34), transparent 52%),
    radial-gradient(75% 65% at 8% 92%, rgba(0,95,107,.34), transparent 55%),
    radial-gradient(55% 55% at 96% 96%, rgba(255,94,0,.16), transparent 60%),
    linear-gradient(180deg, rgba(0,43,73,.42) 0%, rgba(0,43,73,.22) 38%, rgba(0,30,52,.90) 100%);
  z-index: -1;
}
.hero__deco {
  position: absolute;
  top: -14%; right: -6%;
  width: 70vw; max-width: 1000px;
  pointer-events: none;
  opacity: .55;
  z-index: -1;
}
.hero__deco path, .hero__deco circle, .hero__deco line { vector-effect: non-scaling-stroke; }

.hero__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px clamp(22px, 4vw, 64px);
}
.hero__logo { display: flex; align-items: center; gap: 12px; }
.hero__logo img { height: 102px; width: auto; }
.hero__meta {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.62); font-weight: 600;
}
.hero__body {
  margin-top: auto;
  padding: clamp(22px, 4vw, 64px);
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
}
.hero__kicker {
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--lagoon); font-weight: 700; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(58px, 12vw, 168px);
  font-weight: 800; letter-spacing: 0; line-height: .9;
}
.hero__title span { display: block; }
.hero__scroll {
  position: absolute; bottom: 26px; right: clamp(22px,4vw,64px);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(rgba(255,255,255,.7), transparent);
  animation: scrollpulse 2s var(--ease) infinite;
}
@keyframes scrollpulse { 0%,100%{ transform: scaleY(.5); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ==========================================================================
   LAYOUT  (sticky sidebar + content)
   ========================================================================== */
.layout { display: flex; align-items: flex-start; }

.sidebar {
  position: sticky; top: 0;
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  height: 100vh;
  border-right: 1px solid var(--line);
  background: var(--white);
  display: flex; flex-direction: column;
  padding: 34px 30px;
  z-index: 20;
}
.sidebar__logo img { height: 90px; width: auto; }
.sidebar__nav { margin-top: 52px; display: flex; flex-direction: column; gap: 2px; }
.sidebar__nav a {
  position: relative;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 0 8px 20px;
  transition: color .25s var(--ease);
}
.sidebar__nav a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%) scale(0);
  transition: transform .3s var(--ease);
}
.sidebar__nav a:hover { color: var(--ink); }
.sidebar__nav a.active { color: var(--prussian); font-weight: 600; }
.sidebar__nav a.active::before { transform: translateY(-50%) scale(1); }
.sidebar__foot {
  margin-top: auto; font-size: 12px; color: var(--muted);
  letter-spacing: .04em; line-height: 1.5;
}

.content { flex: 1; min-width: 0; }
.content-inner { max-width: var(--col); margin: 0 auto; padding: 0 32px; }

/* ===== Section scaffolding ===== */
.section { padding: clamp(80px, 12vh, 160px) 0 0; }
.section:last-child { padding-bottom: 160px; }
.section__index {
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 18px;
}
.section__title { font-size: clamp(34px, 4.5vw, 46px); font-weight: 800; letter-spacing: 0; line-height: 1; }
.section__intro { color: var(--ink-soft); font-size: 16px; margin-top: 22px; max-width: 46ch; }

.block { margin-top: 64px; }
.block__title { font-size: 21px; font-weight: 700; letter-spacing: 0; }
.block__sub { font-size: 14px; font-weight: 700; letter-spacing: .02em; margin-bottom: 14px; color: var(--ink); }
.block__text { color: var(--ink-soft); font-size: 15px; margin-top: 12px; max-width: 52ch; }
.caption { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ===== Cards ===== */
.frame {
  background: var(--card);
  border-radius: 14px;
  display: grid; place-items: center;
  padding: 56px 32px;
  min-height: 220px;
}
.frame img { width: auto; max-height: 110px; }
.frame--tall { min-height: 300px; }
.frame--dark { background: var(--prussian); }
.frame--teal { background: var(--teal); }
.frame--lagoon { background: var(--lagoon); }
.frame--photo { padding: 0; overflow: hidden; }
.frame--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* Feature card (brand values) */
.feature {
  position: relative; overflow: hidden;
  background: var(--prussian); color: #fff;
  border-radius: 16px; padding: 40px;
  min-height: 420px; display: flex; flex-direction: column;
  isolation: isolate;
}
.feature__top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.feature__title { margin-top: auto; font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; letter-spacing: 0; line-height: 1.06; }
.feature__title b { color: var(--lagoon); font-weight: 800; }
.feature__foot { margin-top: 26px; font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .1em; }
.feature__deco { position: absolute; top: -30%; right: -12%; width: 60%; opacity: .5; z-index: -1; }

/* ===== Logo usage grid ===== */
.usage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.usage .cell .caption { margin-top: 10px; }
.usage--full { grid-template-columns: 1fr; }

/* ===== Downloads ===== */
.downloads { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl { }
.dl__art { background: var(--card); border-radius: 12px; display:grid; place-items:center; min-height: 150px; overflow:hidden; }
.dl__art img { max-height: 64px; width:auto; }
.dl__art.dark { background: var(--prussian); }
.dl__art.teal { background: var(--teal); }
.dl__label { font-size: 13px; font-weight: 700; margin: 12px 0 8px; }
.dl__btn {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px;
  padding: 11px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all .2s var(--ease); background: #fff;
}
.dl__btn:hover { border-color: var(--prussian); color: var(--prussian); }
.dl__btn svg { width: 15px; height: 15px; }

/* ===== Typography specimen ===== */
.type-card {
  background: var(--card); border-radius: 16px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-top: 22px;
}
.type-card__meta { font-size: 13px; }
.type-card__meta dt { color: var(--lagoon); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 18px; }
.type-card__meta dt:first-child { margin-top: 0; }
.type-card__meta dd { color: var(--ink); margin-top: 4px; }
.type-card__glyphs { font-size: 15px; color: var(--ink-soft); letter-spacing: .01em; word-break: break-word; line-height: 1.9; }
.type-card__name { font-size: clamp(64px, 9vw, 116px); font-weight: 700; letter-spacing: 0; color: var(--prussian); line-height: .9; }
.type-scale { margin-top: 22px; border-top: 1px solid var(--line); }
.type-scale__row { display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.type-scale__row .lab { flex: 0 0 92px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.type-scale__row .spec { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.type-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.type-rules article {
  border: 1px solid var(--line);
  background: #FFFFFF;
  padding: 14px;
}
.type-rules strong {
  display: block;
  color: var(--prussian);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.type-rules span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.w-weights { display:flex; flex-wrap:wrap; gap: 18px 26px; margin-top: 22px; }
.w-weights span { color: var(--ink); }
.w-weights .x300 { font-weight: 300 } .w-weights .x400 { font-weight: 400 } .w-weights .x500 { font-weight: 500 }
.w-weights .x600 { font-weight: 600 } .w-weights .x700 { font-weight: 700 } .w-weights .x800 { font-weight: 800 } .w-weights .x900 { font-weight: 900 }

/* ===== Colors ===== */
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.swatch { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.swatch__chip { height: 150px; position: relative; }
.swatch__chip span { position:absolute; top:14px; left:16px; color:#fff; font-weight:700; font-size:14px; letter-spacing:.01em; }
.swatch__chip span.dark { color: var(--prussian); }
.swatch__body { padding: 16px; display: grid; grid-template-columns: 52px 1fr; gap: 6px 10px; font-size: 12.5px; }
.swatch__body dt { color: var(--muted); font-weight: 700; }
.swatch__body dd { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.ramp { margin-top: 30px; }
.ramp__name { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.ramp__row { display: grid; grid-template-columns: repeat(9, 1fr); border-radius: 10px; overflow: hidden; }
.ramp__cell { aspect-ratio: 1 / 1.5; padding: 10px 8px; display: flex; flex-direction: column; justify-content: space-between; }
.ramp__cell b { font-size: 11px; font-weight: 700; }
.ramp__cell small { font-size: 8.5px; letter-spacing: 0; opacity: .85; font-variant-numeric: tabular-nums; }

/* ===== Imagery mosaic ===== */
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: 22px; height: 420px; }
.mosaic > div { border-radius: 14px; overflow: hidden; }
.mosaic > div img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .big { grid-row: 1 / 3; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.dd { border-radius: 12px; padding: 22px; font-size: 14px; }
.dd h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.dd--do { background: rgba(0,170,210,.08); }
.dd--do h4 { color: var(--teal); }
.dd--dont { background: rgba(255,94,0,.07); }
.dd--dont h4 { color: var(--orange); }
.dd ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dd li { color: var(--ink-soft); padding-left: 20px; position: relative; }
.dd li::before { position: absolute; left: 0; }
.dd--do li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.dd--dont li::before { content: "✕"; color: var(--orange); font-weight: 700; }

/* ===== Visual direction ===== */
.visual-direction {
  overflow: hidden;
}

.visual-board {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(0,43,73,.07);
}

.visual-board img {
  width: 100%;
  height: auto;
}

.reference-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.reference-rules article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FBFC 100%);
  padding: 22px;
}

.reference-rules span {
  display: block;
  color: var(--lagoon);
  font-size: 12px;
  font-weight: 800;
}

.reference-rules h4 {
  margin-top: 10px;
  color: var(--prussian);
  font-size: 18px;
}

.reference-rules p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* ===== Brand voice ===== */
.voice-values { text-align: center; margin: 8px 0 34px; }
.voice-values .eyebrow { display:block; margin-bottom: 14px; }
.voice-values .q { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: 0; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.voice-card { border-radius: 16px; padding: 32px 28px; min-height: 290px; }
.voice-card h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 26px; }
.voice-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.voice-card li { font-size: 19px; font-weight: 500; color: var(--ink); }
.voice-card--a { background: #f6ddc9; }
.voice-card--b { background: #c3cdd6; }

/* ===== Applications ===== */
.apps { display: grid; gap: 16px; margin-top: 22px; }
.apps .frame--photo { border-radius: 16px; min-height: 260px; }
.apps__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Footer ===== */
.foot {
  background: var(--prussian); color: #fff; margin-top: 120px;
  padding: 80px clamp(24px,6vw,90px) 50px;
  position: relative; overflow: hidden;
}
.foot__logo img { height: 40px; width: auto; }
.foot__big { font-size: clamp(40px, 8vw, 96px); font-weight: 800; letter-spacing: 0; line-height: .95; margin: 40px 0; }
.foot__big b { color: var(--orange); font-weight: 800; }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.6); }
.foot__row a:hover { color: #fff; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .sidebar {
    position: fixed; top: 0; left: 0; right: 0;
    width: 100%; height: auto; flex-basis: auto;
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-right: none; border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  }
  .sidebar__nav {
    margin: 0; flex-direction: row; gap: 2px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; max-width: 64vw;
  }
  .sidebar__nav a { padding: 6px 12px; white-space: nowrap; font-size: 13px; }
  .sidebar__nav a::before { display: none; }
  .sidebar__nav a.active { background: var(--card); border-radius: 20px; }
  .sidebar__foot { display: none; }
  .content { padding-top: 64px; }
}
@media (max-width: 720px) {
  .type-card { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr; }
  .voice-grid, .apps__row, .do-dont, .usage, .downloads { grid-template-columns: 1fr; }
  .ramp__cell small { display: none; }
  .ramp__cell { padding: 8px 5px; }
  .mosaic { grid-template-columns: 1fr 1fr; height: auto; }
  .mosaic .big { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16/9; }
  .mosaic > div { aspect-ratio: 1; }
  .mosaic .big { aspect-ratio: 16/9; }
}
@media (max-width: 520px) {
  .hero__nav-meta { display: none; }
  .content-inner { padding: 0 20px; }
}

/* ==========================================================================
   PREMIUM REFRESH 2026
   Cleaner brand-portal treatment aligned with the marketing dashboard.
   ========================================================================== */
:root {
  --prussian: #002B49;
  --lagoon: #00AAD2;
  --teal: #1E7A8C;
  --orange: #FF5E00;
  --ink: #0B2A3F;
  --ink-soft: #536575;
  --muted: #7A8995;
  --line: #DDE7EC;
  --card: #F6FAFC;
  --card-2: #EEF5F7;
  --white: #FFFFFF;
  --page-pad: 4%;
  --content-max: 9999px;
  --f-display: "Inter", Arial, Helvetica, sans-serif;
  --f-body: "Inter", Arial, Helvetica, sans-serif;
}

html,
body {
  background: #FFFFFF;
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: "cv05" 1, "ss01" 1;
}

.hero,
.hero *,
.sidebar,
.sidebar *,
.content,
.content *,
.foot,
.foot * {
  letter-spacing: 0;
}

/* Premium hero */
.hero {
  min-height: 640px;
  background: #062E49;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(0,43,73,.94) 0%, rgba(0,43,73,.82) 42%, rgba(0,43,73,.38) 100%),
    url('../img/expo-logistica-2026-fondo-modular.jpg') center/cover no-repeat;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero::after {
  background:
    linear-gradient(135deg, rgba(0,170,210,.24) 0%, transparent 34%),
    linear-gradient(315deg, rgba(255,94,0,.26) 0%, transparent 30%),
    linear-gradient(180deg, rgba(0,43,73,.10), rgba(0,23,39,.74));
}

.hero__deco {
  display: none;
}

.hero__bar {
  position: relative;
  z-index: 2;
  padding: 28px var(--page-pad);
  max-width: calc(var(--content-max) + (var(--page-pad) * 2));
  width: 100%;
  margin: 0 auto;
}

.hero__logo img {
  height: 64px;
}

.hero__meta {
  color: rgba(255,255,255,.74);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px var(--page-pad) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  align-items: end;
  gap: 58px;
  text-align: left;
}

.hero__copy {
  max-width: 720px;
}

.hero__kicker {
  color: #6DD4EA;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero__title {
  font-size: 60px;
  line-height: 1;
  font-weight: 800;
  max-width: 760px;
}

.hero__title span + span {
  color: rgba(255,255,255,.72);
}

.hero__lead {
  max-width: 640px;
  margin-top: 28px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.hero__actions a:first-child {
  background: var(--orange);
  border-color: var(--orange);
}

.hero__actions a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.46);
}

.hero__actions a:first-child:hover {
  background: #FF7B2D;
}

.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-card {
  min-height: 132px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #FFFFFF;
  padding: 18px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.hero-card span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card--logo {
  grid-column: 1 / 3;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0,170,210,.20), rgba(0,43,73,.34));
}

.hero-card--logo img {
  width: 78%;
  max-width: 320px;
}

.hero-card__chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hero-card__chips i {
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.24);
}

.hero-card--photo {
  padding: 0;
}

.hero-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scroll {
  right: var(--page-pad);
  bottom: 30px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  text-transform: none;
}

/* Layout refresh */
.layout {
  display: block;
}

.sidebar {
  position: sticky;
  top: 0;
  width: 100%;
  height: auto;
  min-height: 78px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px var(--page-pad);
  z-index: 30;
}

.sidebar__logo img {
  height: 52px;
}

.sidebar__logo,
.sidebar__logo img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.sidebar__nav {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar__nav a {
  white-space: nowrap;
  padding: 9px 13px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.sidebar__nav a::before {
  display: none;
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--teal);
  background: #EEF7F9;
}

.sidebar__foot {
  display: none;
}

.content {
  width: 100%;
}

.content-inner {
  width: 92%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: 104px 0 0;
}

.section:last-child {
  padding-bottom: 104px;
}

.section__index {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section__title {
  color: var(--prussian);
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
}

.section__intro {
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 780px;
  margin-top: 20px;
}

.block {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(0,43,73,.06);
}

.block__title {
  color: var(--prussian);
  font-size: 24px;
}

.block__text {
  max-width: 850px;
  color: var(--ink-soft);
  font-size: 16px;
}

.block__sub {
  color: var(--ink);
  font-size: 14px;
}

.brand-brief {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.brand-brief article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FBFC 100%);
  padding: 24px;
  min-height: 190px;
}

.brand-brief span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-brief strong {
  display: block;
  margin-top: 18px;
  color: var(--prussian);
  font-size: 23px;
  line-height: 1.1;
}

.brand-brief p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Refined components */
.frame,
.feature,
.type-card,
.voice-card,
.mosaic > div,
.apps .frame--photo,
.dl__art,
.swatch,
.dd {
  border-radius: 8px;
}

.frame {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #F8FBFC 0%, #EEF5F7 100%);
  min-height: 250px;
}

.frame--dark {
  background:
    linear-gradient(135deg, rgba(0,170,210,.18), rgba(0,43,73,.14)),
    var(--prussian);
}

.frame--teal {
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent),
    var(--teal);
}

.feature {
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(135deg, rgba(0,170,210,.20), rgba(255,94,0,.10)),
    var(--prussian);
  min-height: 360px;
}

.usage,
.downloads,
.swatches,
.voice-grid,
.apps__row {
  gap: 16px;
}

.usage .frame {
  min-height: 230px;
}

.downloads {
  grid-template-columns: repeat(4, 1fr);
}

.dl {
  border: 1px solid var(--line);
  background: #FFFFFF;
  padding: 12px;
  box-shadow: 0 14px 38px rgba(0,43,73,.05);
}

.dl__art {
  min-height: 160px;
  border: 1px solid var(--line);
}

.dl__label {
  color: var(--prussian);
}

.dl__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dl__btn {
  border-radius: 0;
  border-color: var(--line);
  min-height: 42px;
}

.dl__btn:hover {
  color: #FFFFFF;
  background: var(--prussian);
}

.type-card {
  background: linear-gradient(135deg, #F8FBFC 0%, #EAF4F7 100%);
  border: 1px solid var(--line);
}

.type-card__name {
  color: var(--prussian);
  font-size: 92px;
}

.type-scale__row .spec {
  white-space: normal;
}

.swatches {
  grid-template-columns: repeat(4, 1fr);
}

.swatch {
  background: #FFFFFF;
  box-shadow: 0 14px 38px rgba(0,43,73,.05);
}

.swatch__chip {
  height: 126px;
}

.ramp__row {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.ramp__cell {
  aspect-ratio: 1 / 1.18;
}

.mosaic {
  height: 500px;
}

.do-dont {
  gap: 16px;
}

.dd--do {
  background: #EEF8FA;
  border: 1px solid #CFE8EE;
}

.dd--dont {
  background: #FFF3EC;
  border: 1px solid #FFD9C5;
}

.voice-values {
  text-align: left;
}

.voice-values .q {
  color: var(--prussian);
  font-size: 38px;
}

.voice-card {
  min-height: 260px;
  border: 1px solid var(--line);
}

.voice-card--a {
  background: #F7FBFC;
}

.voice-card--b {
  background: #FFF4ED;
}

.voice-card ul {
  text-align: left;
}

.voice-card li {
  color: var(--ink);
}

.apps .frame--photo {
  min-height: 360px;
}

.stationery-card {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(0, 43, 73, .08);
}

.stationery-card__preview {
  overflow: hidden;
  background: #F4F8FA;
  border: 1px solid var(--line);
}

.stationery-card__preview img {
  display: block;
  width: 100%;
  height: auto;
}

.stationery-card__content .block__text {
  max-width: 50ch;
}

.stationery-card__rules {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.stationery-card__rules li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.stationery-card__rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.stationery-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.foot {
  margin-top: 0;
  background:
    linear-gradient(135deg, rgba(0,170,210,.20), transparent 34%),
    linear-gradient(315deg, rgba(255,94,0,.18), transparent 28%),
    var(--prussian);
  padding: 86px var(--page-pad) 48px;
}

.foot__logo img {
  height: 56px;
}

.foot__big {
  font-size: 80px;
}

/* Motion is subtle, not flashy */
.reveal {
  transform: translateY(18px);
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

  .hero__body {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero__visual {
    max-width: 620px;
  }

  .hero__title {
    font-size: 56px;
  }

  .downloads,
  .swatches {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-brief {
    grid-template-columns: 1fr;
  }

  .stationery-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 760px;
  }

  .hero__bar {
    padding-top: 20px;
  }

  .hero__logo img {
    height: 58px;
  }

  .hero__body {
    padding: 72px var(--page-pad) 58px;
    gap: 32px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__lead,
  .section__intro {
    font-size: 17px;
  }

  .hero__visual {
    display: none;
  }

  .hero-card--logo {
    grid-column: auto;
  }

  .hero__scroll {
    display: none;
  }

  .sidebar {
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sidebar__logo img {
    height: 42px;
  }

  .sidebar__nav {
    width: 100%;
  }

  .content-inner {
    width: 92%;
  }

  .section {
    padding-top: 72px;
  }

  .section__title {
    font-size: 36px;
  }

  .block {
    padding: 24px;
  }

  .downloads,
  .swatches,
  .usage,
  .type-card,
  .voice-grid,
  .apps__row,
  .do-dont,
  .reference-rules {
    grid-template-columns: 1fr;
  }

  .type-card__name {
    font-size: 58px;
  }

  .mosaic {
    height: auto;
  }

  .foot__big {
    font-size: 44px;
  }
}

/* ==========================================================================
   OFFICIAL LIGHT HERO
   Uses the official color logo on white and an animated modular brand field.
   ========================================================================== */
.hero {
  min-height: 680px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F4FAFC 58%, #ECF5F8 100%);
  color: var(--ink);
}

.hero::before,
.hero::after {
  display: none;
}

.hero__motion-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__motion-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,43,73,.06), transparent 34%, rgba(0,170,210,.08)),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.68));
}

.hero__motion-bg::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 44%;
  right: -20%;
  top: 18%;
  border: 1px solid rgba(0,43,73,.08);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(0,43,73,.055) 18% 18.45%, transparent 18.45% 36%, rgba(0,170,210,.06) 36% 36.45%, transparent 36.45%),
    linear-gradient(0deg, transparent 0 48%, rgba(30,122,140,.08) 48% 48.5%, transparent 48.5%);
  transform: skewX(-12deg);
  animation: brandField 14s ease-in-out infinite alternate;
}

.hero__system {
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  opacity: .16;
  animation: brandDrift 16s ease-in-out infinite alternate;
}

.hero__system--one {
  right: 6%;
  top: 88px;
}

.hero__system--two {
  left: -78px;
  bottom: 30px;
  width: 270px;
  opacity: .10;
  animation-duration: 19s;
  animation-direction: alternate-reverse;
}

.brand-shape {
  position: absolute;
  width: 46%;
  height: 46%;
  border: 1px solid rgba(255,255,255,.5);
}

.brand-shape--navy {
  left: 0;
  top: 0;
  background: var(--prussian);
  border-top-left-radius: 100%;
}

.brand-shape--cyan {
  right: 0;
  top: 0;
  background: var(--lagoon);
  border-top-right-radius: 10px;
}

.brand-shape--teal {
  left: 0;
  bottom: 0;
  background: var(--teal);
  border-bottom-left-radius: 10px;
}

.brand-shape--orange {
  right: 18%;
  bottom: 12%;
  width: 34%;
  height: 34%;
  background: var(--orange);
  border-radius: 50%;
}

.hero-route {
  position: absolute;
  display: block;
  border: 1px solid rgba(0,170,210,.24);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(-10deg);
  animation: routePulse 6s ease-in-out infinite;
}

.hero-route--one {
  width: 330px;
  height: 160px;
  right: 23%;
  top: 230px;
}

.hero-route--two {
  width: 220px;
  height: 110px;
  left: 18%;
  bottom: 90px;
  border-color: rgba(255,94,0,.20);
  animation-delay: -2s;
}

.hero-line {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,170,210,.46), transparent);
  transform-origin: center;
  animation: lineSlide 9s ease-in-out infinite;
}

.hero-line--one {
  width: 34%;
  left: 8%;
  top: 144px;
}

.hero-line--two {
  width: 28%;
  right: 8%;
  bottom: 108px;
  background: linear-gradient(90deg, transparent, rgba(255,94,0,.42), transparent);
  animation-delay: -3s;
}

.hero-line--three {
  width: 22%;
  left: 34%;
  bottom: 172px;
  background: linear-gradient(90deg, transparent, rgba(30,122,140,.42), transparent);
  animation-delay: -5s;
}

.hero__bar,
.hero__body {
  z-index: 2;
}

.hero__body {
  padding: 42px var(--page-pad) 44px;
}

.hero__logo {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero__logo img {
  height: 58px;
}

.hero__meta {
  color: var(--ink-soft);
}

.hero__kicker {
  color: var(--teal);
}

.hero__title {
  color: var(--prussian);
  font-size: 56px;
}

.hero__title span + span {
  color: var(--teal);
}

.hero__lead {
  color: var(--ink-soft);
  margin-top: 24px;
}

.hero__actions {
  margin-top: 28px;
}

.hero__actions a {
  color: var(--prussian);
  background: rgba(255,255,255,.72);
  border-color: rgba(0,43,73,.14);
  box-shadow: 0 14px 34px rgba(0,43,73,.08);
}

.hero__actions a:first-child {
  color: #FFFFFF;
  background: var(--orange);
  border-color: var(--orange);
}

.hero__actions a:hover {
  color: var(--prussian);
  background: #FFFFFF;
  border-color: rgba(0,43,73,.28);
}

.hero__actions a:first-child:hover {
  color: #FFFFFF;
  background: #FF7430;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual--single {
  min-height: 420px;
  overflow: visible;
}

.hero__visual--single img {
  width: min(100%, 680px);
  height: auto;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-card--logo {
  min-height: 210px;
  background: #FFFFFF;
}

.hero-card--logo img {
  width: 88%;
  max-width: 390px;
  margin: auto 0;
}

.hero-card--logo small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-card--palette {
  min-height: 136px;
}

.hero-card__chips i {
  border-color: rgba(0,43,73,.12);
}

.hero-card--system {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(0,170,210,.08), rgba(255,94,0,.05)),
    #FFFFFF;
}

.mini-mark {
  width: 90px;
  height: 90px;
  position: relative;
  animation: miniMark 7s ease-in-out infinite alternate;
}

.mini-mark i {
  position: absolute;
  width: 42px;
  height: 42px;
}

.mini-mark i:nth-child(1) {
  left: 0;
  top: 0;
  border-top-left-radius: 100%;
  background: var(--prussian);
}

.mini-mark i:nth-child(2) {
  right: 0;
  top: 0;
  background: var(--lagoon);
}

.mini-mark i:nth-child(3) {
  left: 0;
  bottom: 0;
  background: var(--teal);
}

.mini-mark i:nth-child(4) {
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
}

.hero__scroll {
  display: none;
  color: var(--muted);
}

.hero__scroll::after {
  background: linear-gradient(rgba(0,43,73,.36), transparent);
}

@keyframes brandDrift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-24px, 18px, 0) rotate(-5deg); }
}

@keyframes brandField {
  from { transform: translate3d(0, 0, 0) skewX(-12deg); opacity: .8; }
  to { transform: translate3d(-42px, 18px, 0) skewX(-12deg); opacity: 1; }
}

@keyframes routePulse {
  0%, 100% { opacity: .28; transform: translate3d(0, 0, 0) rotate(-10deg); }
  50% { opacity: .62; transform: translate3d(12px, -8px, 0) rotate(-10deg); }
}

@keyframes lineSlide {
  0%, 100% { opacity: .18; transform: translateX(-18px); }
  50% { opacity: .68; transform: translateX(18px); }
}

@keyframes miniMark {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__system,
  .hero-route,
  .hero-line,
  .mini-mark,
  .hero__motion-bg::after {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .hero__system--one {
    right: -4%;
    top: 118px;
  }

  .hero__system--two {
    left: -120px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 760px;
  }

  .hero__motion-bg::after {
    width: 130%;
    right: -72%;
    top: 20%;
  }

  .hero__system--one {
    width: 230px;
    right: -72px;
    top: 92px;
  }

  .hero__system--two {
    width: 210px;
    left: -110px;
    bottom: 60px;
  }

  .hero-route--one {
    right: -38%;
    top: 310px;
  }

  .hero-route--two,
  .hero-line--three {
    display: none;
  }

  .hero__visual {
    display: none;
  }

  .hero__logo {
    padding: 0;
  }

  .hero__logo img {
    height: 46px;
  }

  .hero__title {
    font-size: 39px;
  }
}

.background-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.background-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.background-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  background: #FFFFFF;
  color: var(--prussian);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.background-filter button span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: var(--teal);
  background: #EAF6F8;
  font-size: 11px;
}

.background-filter button.is-active,
.background-filter button:hover {
  background: var(--prussian);
  border-color: var(--prussian);
  color: #FFFFFF;
}

.background-filter button.is-active span,
.background-filter button:hover span {
  color: var(--prussian);
  background: #FFFFFF;
}

.background-status {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.background-card {
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(0, 43, 73, .06);
  transition: opacity .18s ease, transform .18s ease;
}

.background-card[data-background-tier="official"] {
  border-color: rgba(0, 170, 210, .42);
  box-shadow: 0 18px 44px rgba(0, 43, 73, .10);
}

.background-card.is-hidden {
  display: none;
}

.background-card__media {
  position: relative;
  overflow: hidden;
}

.background-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #F2F7F9;
}

.background-card__media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: #FFFFFF;
  background: rgba(0, 43, 73, .88);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.background-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 132px;
  padding: 12px 14px 14px;
}

.background-card__body::before {
  content: "Recurso secundario";
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  color: var(--ink-soft);
  background: #F2F7F9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.background-card[data-background-tier="official"] .background-card__body::before {
  content: "Fondo oficial";
  color: var(--prussian);
  background: #EAF6F8;
}

.background-card strong {
  color: var(--prussian);
  font-size: 13px;
  line-height: 1.25;
}

.background-card p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.background-card a {
  margin-top: auto;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .background-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .background-gallery {
    grid-template-columns: 1fr;
  }

  .type-rules {
    grid-template-columns: 1fr;
  }
}

/* Final hero reset — clean editorial composition */
.hero {
  min-height: clamp(660px, 92vh, 820px);
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F7FBFC 60%, #EEF7FA 100%);
  color: var(--prussian);
  overflow: hidden;
}

.hero::before,
.hero::after,
.hero__motion-bg,
.hero__deco,
.hero-route,
.hero-line,
.hero__system {
  display: none !important;
}

.hero__bar {
  position: relative;
  z-index: 3;
  padding: 34px clamp(24px, 4vw, 112px) 0;
}

.hero__logo,
.hero .hero__logo,
.sidebar__logo,
.sidebar .sidebar__logo {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.hero__logo img {
  height: 58px !important;
  width: auto;
}

.hero__meta {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 82px);
  width: 92vw;
  margin: 0 auto;
  padding: clamp(68px, 9vh, 104px) 0 clamp(64px, 8vh, 96px);
}

.hero__copy {
  max-width: 560px;
}

.hero__kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero__title {
  margin-top: 24px;
  color: var(--prussian);
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

.hero__title span + span {
  color: var(--teal);
}

.hero__lead {
  max-width: 540px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.hero__actions {
  margin-top: 32px;
  gap: 12px;
}

.hero__actions a {
  min-height: 46px;
  padding: 0 18px;
  background: #FFFFFF;
  color: var(--prussian);
  border: 1px solid #D9E5EA;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__actions a:first-child {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
}

.hero__visual,
.hero__visual--single {
  min-height: 0;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
}

.hero__visual--single img {
  width: min(100%, 760px);
  max-height: min(66vh, 610px);
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sidebar {
  background: #FFFFFF;
}

.sidebar__logo img {
  height: 48px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
  }

  .hero__body {
    grid-template-columns: 1fr;
    width: min(88vw, 760px);
    padding-top: 58px;
  }

  .hero__visual,
  .hero__visual--single {
    justify-content: center;
  }

  .hero__visual--single img {
    width: min(100%, 640px);
    max-height: none;
  }
}

@media (max-width: 720px) {
  .hero__bar {
    padding-top: 22px;
  }

  .hero__logo img {
    height: 46px !important;
  }

  .hero__body {
    width: 92vw;
    padding-top: 48px;
  }

  .hero__title {
    font-size: 42px;
  }
}

/* 2026-06-22 premium reset: final published art direction */
.hero {
  min-height: clamp(660px, 88vh, 780px);
  background:
    radial-gradient(circle at 76% 34%, rgba(0,170,210,.10), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #F9FCFD 58%, #EEF7FA 100%);
  border-bottom: 1px solid #D7ECF2;
}

.hero::before,
.hero::after,
.hero__motion-bg,
.hero__deco,
.hero-route,
.hero-line,
.hero__system {
  display: none !important;
}

.hero__bar {
  width: 92vw;
  margin: 0 auto;
  padding: 28px 0 0 !important;
}

.hero__logo,
.hero .hero__logo,
.sidebar__logo,
.sidebar .sidebar__logo {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
}

.hero__logo img,
.sidebar__logo img {
  display: block;
  width: auto;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
}

.hero__logo img {
  height: 62px !important;
}

.hero__body {
  grid-template-columns: minmax(390px, .84fr) minmax(560px, 1.16fr);
  gap: clamp(44px, 6vw, 96px);
  width: 92vw;
  padding: clamp(54px, 7vh, 84px) 0 clamp(62px, 8vh, 88px) !important;
}

.hero__kicker {
  color: var(--teal) !important;
  letter-spacing: .06em;
}

.hero__title {
  font-size: clamp(48px, 5vw, 72px) !important;
  line-height: .98;
  max-width: 620px;
}

.hero__lead {
  color: #536472 !important;
  max-width: 600px;
}

.hero__actions a {
  border-radius: 0;
  box-shadow: none !important;
}

.hero__visual,
.hero__visual--single {
  justify-content: center !important;
}

.hero__visual--single img {
  width: min(100%, 640px) !important;
  max-height: min(62vh, 560px);
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sidebar {
  background: rgba(255,255,255,.96);
}

.sidebar__logo img {
  height: 46px !important;
}

.icon-application {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #FFFFFF;
}

.icon-application img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1040px) {
  .hero__bar,
  .hero__body {
    width: 92vw;
  }

  .hero__body {
    grid-template-columns: 1fr;
    padding-top: 48px !important;
  }

  .hero__visual--single img {
    width: min(100%, 540px) !important;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .hero__logo img {
    height: 44px !important;
  }

  .hero__body {
    width: 92vw;
    gap: 30px;
  }

  .hero__title {
    font-size: 40px !important;
  }
}

/* 2026-06-25 utility layer: practical brand-kit controls, kept intentionally quiet */
.quick-kit {
  scroll-margin-top: 110px;
  margin-top: 64px;
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: #F8FBFC;
  box-shadow: 0 16px 38px rgba(0, 43, 73, .06);
}

.quick-kit__label {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quick-kit h2 {
  margin-top: 10px;
  color: var(--prussian);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.quick-kit p:last-child {
  max-width: 62ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

.quick-kit__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-kit__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--prussian);
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}

.quick-kit__actions a:hover {
  border-color: var(--prussian);
}

.quick-kit__actions .quick-kit__primary {
  grid-column: 1 / -1;
  color: #FFFFFF;
  background: var(--prussian);
  border-color: var(--prussian);
}

.logo-rules,
.voice-phrases,
.application-recipes,
.background-guide {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.logo-rules,
.voice-phrases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logo-rules article,
.voice-phrases article,
.application-recipes article,
.background-guide article {
  border: 1px solid var(--line);
  background: #FFFFFF;
  padding: 18px;
}

.logo-rules h4,
.voice-phrases h4 {
  color: var(--prussian);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.logo-rules ul,
.voice-phrases ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.logo-rules li,
.voice-phrases li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.logo-rules li::before,
.voice-phrases li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--orange);
}

.swatch__body dd {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.copy-chip {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--prussian);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-chip:hover,
.copy-chip.is-copied {
  color: #FFFFFF;
  background: var(--prussian);
  border-color: var(--prussian);
}

.token-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #F8FBFC;
}

.token-strip strong,
.application-recipes strong,
.background-guide strong {
  display: block;
  color: var(--prussian);
  font-size: 14px;
  line-height: 1.25;
}

.token-strip span,
.application-recipes span,
.background-guide span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.background-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voice-phrases {
  margin-top: 18px;
}

.application-recipes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .quick-kit,
  .token-strip {
    grid-template-columns: 1fr;
  }

  .background-guide,
  .application-recipes,
  .logo-rules,
  .voice-phrases {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .quick-kit {
    margin-top: 42px;
  }

  .quick-kit__actions {
    grid-template-columns: 1fr;
  }

  .quick-kit__actions .quick-kit__primary {
    grid-column: auto;
  }

  .swatch__body {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .copy-chip {
    padding: 0 7px;
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media print {
  @page {
    size: A4;
    margin: 8.4mm;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  html,
  body {
    width: auto;
    background: #FFFFFF !important;
    color: #0B2A3F !important;
    font-family: var(--f-body);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .hero {
    min-height: 230mm;
    page-break-after: always;
  }

  .hero__motion-bg,
  .hero__deco,
  .hero__scroll,
  .sidebar,
  .quick-kit__actions,
  .dl__btn,
  .copy-chip {
    display: none !important;
  }

  .layout {
    display: block;
  }

  .content,
  .content-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .quick-kit,
  .section,
  .block {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .section {
    padding-top: 24mm;
  }

  .section__title {
    font-size: 34px;
  }

  .hero__bar,
  .hero__body {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .hero__body {
    text-align: left;
    align-items: flex-start;
  }

  .hero__title {
    font-size: 64px;
    line-height: .95;
  }

  .hero__lead {
    max-width: 680px;
  }

  .hero__actions {
    display: none;
  }

  .hero__visual {
    max-width: 420px;
    margin-top: 24px;
  }

  .quick-kit {
    margin-top: 0;
  }

  .downloads,
  .usage,
  .logo-rules,
  .voice-phrases,
  .application-recipes,
  .background-guide,
  .swatches,
  .fondos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .frame,
  .dl__art {
    background: #F6FAFC !important;
    border: 1px solid #DDE7EC;
  }
}

/* ==========================================================================
   EDITORIAL BRAND BOOK 2026
   Home is the manual. /recursos is the operational library.
   ========================================================================== */
.manual-document,
.resources-document {
  --manual-pad: 4%;
  --manual-page: 92%;
  --manual-ink: #062E49;
  --manual-muted: #617180;
  --manual-line: #D7E4EA;
  --manual-soft: #F4F8FA;
  --manual-paper: #FFFFFF;
  --manual-teal: #005F6B;
  --manual-lagoon: #00AAD2;
  --manual-orange: #FF5E00;
  background: #FFFFFF;
  color: var(--manual-ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.manual-document a,
.resources-document a {
  color: inherit;
}

.manual-topbar {
  width: var(--manual-page);
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--manual-line);
}

.manual-topbar__logo {
  display: inline-flex;
  align-items: center;
}

.manual-topbar__logo img {
  display: block;
  height: 58px;
  width: auto;
}

.manual-topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.manual-topbar__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  color: var(--manual-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

.manual-topbar__links a:hover,
.manual-topbar__links a:focus-visible {
  border-color: var(--manual-line);
  background: #F6FAFC;
  outline: 0;
}

.manual-topbar__links .manual-pill {
  background: var(--manual-orange);
  border-color: var(--manual-orange);
  color: #FFFFFF;
}

.manual-document .manual-topbar__links--structured,
.manual-document .manual-topbar__nav,
.manual-document .manual-topbar__utilities {
  display: flex;
  align-items: center;
}

.manual-document .manual-topbar__links--structured {
  gap: 18px;
  overflow: visible;
}

.manual-document .manual-topbar__nav {
  gap: 2px;
}

.manual-document .manual-topbar__utilities {
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--manual-line);
}

.manual-document .manual-topbar__utilities a {
  min-height: 42px;
}

.manual-document .manual-resource-link {
  color: var(--manual-teal);
}

.manual-document .manual-pill--download {
  justify-content: space-between;
  gap: 10px;
  padding-left: 14px;
}

.manual-document .manual-pill--download small {
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.86);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.manual-cover {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(0,43,73,.035) 1px, transparent 1px),
    linear-gradient(180deg, #FFFFFF 0%, #F8FBFC 58%, #EEF7FA 100%);
  background-size: 72px 100%, auto;
}

.manual-cover__grid {
  width: var(--manual-page);
  margin: 0 auto;
  padding: 74px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(440px, .76fr);
  gap: 72px;
  align-items: center;
}

.manual-kicker {
  margin: 0 0 22px;
  color: var(--manual-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-cover__mark {
  display: none;
  width: 190px;
  height: auto;
  margin: 0 0 34px;
}

.manual-cover h1 {
  max-width: 760px;
  margin: 0;
  color: var(--manual-ink);
  font-size: 72px;
  line-height: .95;
  font-weight: 900;
}

.manual-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #425464;
  font-size: 20px;
  line-height: 1.55;
}

.manual-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--manual-line);
  background: var(--manual-line);
}

.manual-meta-grid div {
  background: #FFFFFF;
  padding: 20px;
}

.manual-meta-grid span {
  display: block;
  color: var(--manual-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.manual-meta-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--manual-ink);
  font-size: 15px;
  line-height: 1.35;
}

.manual-cover__visual {
  margin: 0;
  padding: 0;
}

.manual-cover__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.manual-main {
  width: var(--manual-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 68px;
  align-items: start;
}

.manual-toc {
  position: sticky;
  top: 0;
  padding: 34px 0;
  display: grid;
  gap: 4px;
}

.manual-toc p {
  margin: 0 0 14px;
  color: var(--manual-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-toc a {
  display: block;
  padding: 9px 0;
  color: #425464;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.manual-toc a:hover,
.manual-toc a:focus-visible {
  color: var(--manual-ink);
  border-bottom-color: var(--manual-line);
  outline: 0;
}

.manual-pages {
  min-width: 0;
}

.manual-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--manual-line);
}

.manual-section__head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.manual-section__head span {
  grid-row: span 2;
  color: var(--manual-orange);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.manual-section__head p {
  margin: 0 0 12px;
  color: var(--manual-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-section__head h2 {
  margin: 0;
  max-width: 920px;
  color: var(--manual-ink);
  font-size: 44px;
  line-height: 1.04;
  font-weight: 850;
}

.manual-rule,
.manual-statement,
.manual-grid-3 article,
.manual-do-dont article,
.manual-visual-lanes article,
.manual-voice-grid article,
.manual-app-grid article,
.manual-logo-spec,
.manual-type-table,
.manual-type-specimen {
  border: 1px solid var(--manual-line);
  background: #FFFFFF;
}

.manual-rule {
  padding: 30px;
  margin-top: 22px;
}

.manual-rule h3,
.manual-do-dont h3,
.manual-voice-grid h3 {
  margin: 0 0 14px;
  color: var(--manual-ink);
  font-size: 22px;
  line-height: 1.1;
}

.manual-rule p,
.manual-grid-3 p,
.manual-visual-lanes p,
.manual-app-grid p,
.manual-logo-spec p,
.manual-do-dont li,
.manual-voice-grid li {
  color: var(--manual-muted);
  font-size: 16px;
  line-height: 1.65;
}

.manual-statement {
  margin-top: 24px;
  padding: 34px;
  background: linear-gradient(135deg, #F7FBFC 0%, #FFFFFF 78%);
  border-left: 5px solid var(--manual-orange);
}

.manual-statement p {
  margin: 0 0 10px;
  color: var(--manual-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-statement strong {
  display: block;
  color: var(--manual-ink);
  font-size: 38px;
  line-height: 1.08;
}

.manual-grid-3,
.manual-visual-lanes,
.manual-app-grid,
.manual-voice-grid,
.manual-do-dont {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.manual-grid-3,
.manual-visual-lanes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-app-grid,
.manual-voice-grid,
.manual-do-dont {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manual-grid-3 article,
.manual-visual-lanes article,
.manual-app-grid article,
.manual-do-dont article,
.manual-voice-grid article {
  padding: 26px;
}

.manual-grid-3 span,
.manual-visual-lanes span,
.manual-app-grid span,
.manual-type-table span,
.manual-swatches span {
  display: block;
  color: var(--manual-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.manual-grid-3 strong,
.manual-app-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--manual-ink);
  font-size: 21px;
  line-height: 1.15;
}

.manual-logo-spec {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--manual-line);
  overflow: hidden;
}

.manual-logo-spec figure,
.manual-logo-spec > div {
  margin: 0;
  background: #FFFFFF;
  padding: 34px;
}

.manual-logo-spec figure {
  display: grid;
  place-items: center;
  min-height: 300px;
}

.manual-logo-spec img {
  width: min(100%, 440px);
}

.manual-logo-spec h3 {
  margin: 0 0 16px;
  color: var(--manual-ink);
  font-size: 26px;
}

.manual-logo-spec dl {
  margin: 24px 0 0;
  display: grid;
  gap: 1px;
  background: var(--manual-line);
}

.manual-logo-spec dl div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  background: #FFFFFF;
  padding: 14px 0;
}

.manual-logo-spec dt {
  color: var(--manual-teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.manual-logo-spec dd {
  margin: 0;
  color: var(--manual-muted);
  font-size: 14px;
}

.manual-do-dont ul,
.manual-voice-grid ul {
  margin: 0;
  padding-left: 18px;
}

.manual-variants {
  display: grid;
  grid-template-columns: 1.2fr 1fr .72fr;
  gap: 18px;
  margin-top: 24px;
}

.manual-variants figure {
  margin: 0;
  border: 1px solid var(--manual-line);
  background: #FFFFFF;
  min-height: 210px;
  padding: 28px;
  display: grid;
  align-items: center;
}

.manual-variants img {
  max-width: 100%;
  max-height: 120px;
  margin: 0 auto;
}

.manual-variants figcaption {
  margin-top: 20px;
  color: var(--manual-muted);
  font-size: 13px;
  font-weight: 700;
}

.manual-variant-dark {
  background: var(--manual-ink) !important;
}

.manual-variant-dark figcaption {
  color: rgba(255,255,255,.75);
}

.manual-type-hero {
  padding: 38px;
  background: var(--manual-ink);
  color: #FFFFFF;
}

.manual-type-hero span {
  display: block;
  font-size: 96px;
  line-height: .9;
  font-weight: 900;
}

.manual-type-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.55;
}

.manual-type-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: var(--manual-line);
}

.manual-type-table div {
  background: #FFFFFF;
  padding: 24px;
}

.manual-type-table strong {
  display: block;
  margin-top: 14px;
  color: var(--manual-ink);
  font-size: 18px;
}

.manual-type-table p {
  margin: 10px 0 0;
  color: var(--manual-muted);
  font-size: 14px;
  line-height: 1.55;
}

.manual-type-specimen {
  margin-top: 22px;
  padding: 38px;
  background: #F8FBFC;
}

.manual-specimen-label {
  margin: 0 0 20px;
  color: var(--manual-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-type-specimen h3 {
  max-width: 760px;
  margin: 0;
  color: var(--manual-ink);
  font-size: 48px;
  line-height: 1.02;
  font-weight: 900;
}

.manual-type-specimen p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--manual-muted);
  font-size: 18px;
  line-height: 1.6;
}

.manual-type-specimen span {
  display: inline-block;
  margin-top: 24px;
  color: var(--manual-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.manual-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.manual-swatches article {
  border: 1px solid var(--manual-line);
  background: #FFFFFF;
  padding: 18px;
}

.manual-swatches i {
  display: block;
  aspect-ratio: 1.6;
  background: var(--swatch);
  border: 1px solid rgba(0,43,73,.12);
}

.manual-swatches strong {
  display: block;
  margin-top: 8px;
  color: var(--manual-ink);
  font-size: 14px;
}

.manual-ramps {
  margin-top: 24px;
}

.manual-image-wide {
  margin: 26px 0 0;
  border: 1px solid var(--manual-line);
  background: #FFFFFF;
  padding: 24px;
}

.manual-image-wide img {
  display: block;
  width: 100%;
  height: auto;
}

.manual-image-wide figcaption {
  margin-top: 14px;
  color: var(--manual-muted);
  font-size: 13px;
  line-height: 1.45;
}

.manual-image-contained img {
  max-height: 560px;
  object-fit: contain;
}

.manual-photo-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
}

.manual-photo-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--manual-line);
}

.manual-footer {
  width: 100%;
  padding: 36px var(--manual-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--manual-ink);
  color: #FFFFFF;
}

.manual-footer img {
  height: 54px;
  width: auto;
}

.manual-footer div {
  margin-right: auto;
}

.manual-footer strong,
.manual-footer span {
  display: block;
}

.manual-footer span {
  color: rgba(255,255,255,.66);
  font-size: 13px;
}

.manual-footer a {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.36);
}

/* Resources page */
.resources-hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(0,43,73,.90), rgba(0,95,107,.74)),
    url('../img/fondos/expo-logistica-2026-fondo-ciudad-camion.png') center/cover no-repeat;
  color: #FFFFFF;
}

.resources-topbar {
  border-bottom-color: rgba(255,255,255,.22);
}

.resources-topbar .manual-topbar__links a {
  color: #FFFFFF;
}

.resources-topbar .manual-topbar__links a:hover,
.resources-topbar .manual-topbar__links a:focus-visible {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}

.resources-hero__body {
  width: var(--manual-page);
  margin: 0 auto;
  padding: 82px 0 92px;
}

.resources-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #FFFFFF;
  font-size: 62px;
  line-height: 1;
  font-weight: 900;
}

.resources-hero p:not(.manual-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.6;
}

.resources-main {
  width: var(--manual-page);
  margin: 0 auto;
}

.resources-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--manual-line);
}

.resources-section__head {
  margin-bottom: 28px;
}

.resources-section__head span {
  color: var(--manual-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.resources-section__head h2 {
  margin: 10px 0 0;
  color: var(--manual-ink);
  font-size: 40px;
  line-height: 1.06;
  font-weight: 850;
}

.resources-section__head p {
  max-width: 760px;
  color: var(--manual-muted);
  font-size: 16px;
  line-height: 1.65;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.resource-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--manual-line);
  background: #FFFFFF;
}

.resource-card--wide {
  grid-column: span 2;
}

.resource-card__preview {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #F5FAFC;
  border-bottom: 1px solid var(--manual-line);
}

.resource-card__preview img {
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.resource-card__preview--dark {
  background: var(--manual-ink);
}

.resource-card__preview--plain {
  background: linear-gradient(135deg, #F7FBFC, #FFFFFF);
  color: var(--manual-ink);
  font-size: 26px;
  font-weight: 900;
}

.resource-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.resource-card__body span {
  color: var(--manual-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.resource-card__body h3 {
  margin: 10px 0 0;
  color: var(--manual-ink);
  font-size: 20px;
  line-height: 1.15;
}

.resource-card__body p {
  margin: 10px 0 20px;
  color: var(--manual-muted);
  font-size: 14px;
  line-height: 1.55;
}

.resource-card__body a,
.resource-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  padding: 10px 14px;
  background: var(--manual-ink);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.resource-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.resource-actions a {
  margin-top: 0;
}

.resources-filter {
  margin-top: 0;
  margin-bottom: 14px;
}

.resources-backgrounds {
  margin-top: 24px;
}

.resources-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .manual-cover__grid,
  .manual-main {
    grid-template-columns: 1fr;
  }

  .manual-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 22px 0 0;
    border-bottom: 1px solid var(--manual-line);
  }

  .manual-toc p {
    width: 100%;
  }

  .manual-toc a {
    padding-right: 16px;
  }

  .manual-cover h1 {
    font-size: 58px;
  }

  .manual-cover__visual {
    max-width: 560px;
  }

  .manual-grid-3,
  .manual-visual-lanes,
  .manual-type-table,
  .resource-grid,
  .resource-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .manual-topbar {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .manual-topbar__logo img {
    height: 48px;
  }

  .manual-topbar__links {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
  }

  .manual-topbar__links a {
    min-height: 36px;
    padding: 8px 10px;
  }

  .manual-cover {
    min-height: auto;
  }

  .manual-cover__grid,
  .resources-hero__body {
    padding: 48px 0 58px;
  }

  .manual-cover h1,
  .resources-hero h1 {
    font-size: 42px;
  }

  .manual-lead,
  .resources-hero p:not(.manual-kicker) {
    font-size: 17px;
  }

  .manual-meta-grid,
  .manual-section__head,
  .manual-logo-spec,
  .manual-grid-3,
  .manual-visual-lanes,
  .manual-app-grid,
  .manual-voice-grid,
  .manual-do-dont,
  .manual-variants,
  .manual-swatches,
  .manual-type-table,
  .manual-photo-grid,
  .resource-grid,
  .resource-grid--featured {
    grid-template-columns: 1fr;
  }

  .manual-section {
    padding: 58px 0;
  }

  .manual-section__head span {
    grid-row: auto;
    font-size: 26px;
  }

  .manual-section__head h2,
  .resources-section__head h2 {
    font-size: 32px;
  }

  .manual-statement strong,
  .manual-type-specimen h3 {
    font-size: 31px;
  }

  .manual-type-hero span {
    font-size: 64px;
  }

  .resource-card--wide {
    grid-column: auto;
  }

  .manual-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .manual-document {
    background: #FFFFFF !important;
  }

  .manual-topbar,
  .manual-toc,
  .manual-footer {
    display: none !important;
  }

  .manual-cover {
    min-height: auto;
    page-break-after: always;
    background: #FFFFFF !important;
  }

  .manual-cover__grid,
  .manual-main,
  .manual-pages {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
  }

  .manual-cover h1 {
    font-size: 58px;
  }

  .manual-cover__mark {
    display: block;
  }

  .manual-lead {
    font-size: 16px;
  }

  .manual-meta-grid,
  .manual-cover__visual {
    margin-top: 26px;
  }

  .manual-section {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 18mm 0 0;
  }

  .manual-section__head h2 {
    font-size: 31px;
  }

  .manual-rule,
  .manual-statement,
  .manual-grid-3 article,
  .manual-do-dont article,
  .manual-visual-lanes article,
  .manual-voice-grid article,
  .manual-app-grid article,
  .manual-logo-spec,
  .manual-type-table,
  .manual-type-specimen,
  .manual-image-wide {
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .manual-grid-3,
  .manual-visual-lanes,
  .manual-app-grid,
  .manual-voice-grid,
  .manual-do-dont,
  .manual-swatches,
  .manual-type-table {
    gap: 8px;
  }

  .manual-type-hero span {
    font-size: 70px;
  }

  .manual-photo-grid img {
    height: 190px;
  }

  .resources-document .resources-hero,
  .resources-document .resources-main,
  .resources-document .manual-footer {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .manual-document .manual-topbar {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .manual-document .manual-topbar__links--structured {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .manual-document .manual-topbar__links--structured {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .manual-document .manual-topbar__nav {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .manual-document .manual-topbar__utilities {
    width: 100%;
    padding: 10px 0 0;
    border-top: 1px solid var(--manual-line);
    border-left: 0;
  }

  .manual-document .manual-topbar__utilities a {
    flex: 1 1 0;
    justify-content: center;
  }
}
