/* Portafolio DICOMSA — documento vertical */
:root {
  --black: #000000;
  --gold: #faaf4c;
  --white: #ffffff;
  --ink: #141414;
  --muted: rgba(255, 255, 255, .72);
  --muted-dark: rgba(0, 0, 0, .62);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.16, 1, .3, 1);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Lato", "Segoe UI", sans-serif;
  --nav: 76px;
  --shade: 0;
}

@property --shade {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #0c0c0c;
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, a { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--black);
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

/* ---------- Documento sobre el escritorio ---------- */
.desk {
  height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  background: #000;
}
.nav__brand {
  display: flex;
  align-items: center;
  align-self: stretch;
  background: #000;
  margin: 0 -20px 22px;
  padding: 22px 22px 20px;
  border-radius: 0;
}
.nav__brand:hover { opacity: .92; }
.nav__brand:active { opacity: .8; }
.logo { height: 58px; width: auto; display: block; }
.menu__links {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 14px;
}
.menu__links a { border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.menu__links a:hover,
.menu__links a:focus-visible { border-bottom-color: currentColor; }
.menu.is-compact .menu__links,
.menu.is-compact .nav__brand { display: none; }

/* ---------- Índice, lomo del documento ---------- */
.menu { position: relative; z-index: 3; flex: none; height: 100dvh; }
.menu__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 228px;
  background: var(--gold);
  color: var(--black);
  padding: 0 20px 20px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  transition: width .45s var(--spring), padding .45s var(--spring);
}
.menu.is-compact .menu__panel { width: 72px; padding: 16px 8px 16px; }
.menu__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; }
.menu__top p {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  transition: opacity .3s var(--ease);
}
.menu.is-compact .menu__top p { opacity: 0; width: 0; overflow: hidden; }
.menu__size { min-height: 44px; min-width: 44px; }
.menu__size:hover { opacity: .65; }
.menu__size:active { transform: translateY(1px); }
.menu__list {
  position: relative;
  margin-top: 8px;
  --p: 0;
}
.menu__list::before,
.menu__list::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(0, 0, 0, .18);
  pointer-events: none;
}
.menu__list::after {
  background: #000;
  transform: scaleY(var(--p));
  transform-origin: top center;
  transition: transform 1.25s linear;
}
.menu__list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.menu__list::-webkit-scrollbar { width: 0; height: 0; }
.menu__item {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 11px 0 12px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, .18);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  transition: opacity .35s var(--ease), transform .45s var(--spring);
}
.menu__item:hover,
.menu__item:focus-visible { opacity: 1; }
.menu__item:active { transform: translateY(1px); }
.menu__item[aria-current="true"] { opacity: 1; transform: translate3d(8px, 0, 0); }
.menu__n {
  font-family: var(--sans);
  font-size: 13px;
  width: 1.5rem;
  position: relative;
  z-index: 1;
}
.menu__item[aria-current="true"] .menu__n { font-weight: 700; }
.menu.is-compact .menu__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.menu.is-compact .menu__item { justify-content: center; padding-left: 0; transform: none; }
.menu.is-compact .menu__item[aria-current="true"] { transform: none; }

/* ---------- Pista ---------- */
.viewport {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  height: 100dvh;
  width: auto;
  overflow: hidden;
  margin: 0;
  perspective: 1800px;
  perspective-origin: left center;
  border-radius: 0;
  box-shadow: none;
  touch-action: pan-y;
}
.viewport.is-turning-page { overflow: visible; }
.track {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.tile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  transform-origin: left center;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.tile.is-on { z-index: 2; transform: rotateY(0deg); }
.tile.is-under { z-index: 1; transform: rotateY(0deg); pointer-events: none; }
.tile.is-turned {
  z-index: 0;
  transform: rotateY(-180deg);
  visibility: hidden;
  pointer-events: none;
}
.tile.is-turning {
  z-index: 6;
  visibility: visible;
  pointer-events: none;
  overflow: visible;
  border-radius: 0;
  backface-visibility: visible;
}
.pageback {
  position: absolute;
  inset: 0;
  z-index: 5;
  visibility: hidden;
  pointer-events: none;
  backface-visibility: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 12%),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(0, 0, 0, .04) 31px 32px),
    #f3eee4;
  transform: rotateY(180deg) translateZ(1px);
}
.tile.is-turning .pageback { visibility: visible; }
.tile.is-turning > :not(.pageback),
.tile.is-turning::after {
  backface-visibility: hidden;
}
.viewport.is-turning-page .tile.is-on {
  box-shadow: inset 32px 0 54px rgba(0, 0, 0, .38);
}
.js .tile:not(.is-on):not(.is-under):not(.is-turning):not(.is-incoming):not(.is-parked) {
  visibility: hidden;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .16) 9%, rgba(255, 255, 255, .22) 16%, transparent 40%),
    linear-gradient(270deg, rgba(0, 0, 0, .32), transparent 24%);
  opacity: var(--shade);
  pointer-events: none;
}
.tile--landing,
.tile--work,
.tile--fleet,
.tile--contact,
.tile--projects,
.tile--split[data-surface="black"] { background: var(--black); color: var(--white); }
.tile--gold,
.tile--split[data-surface="gold"] { background: var(--gold); color: var(--black); }
.tile--about,
.tile--rest,
.tile--list,
.tile--split[data-surface="white"] { background: var(--white); color: var(--ink); }
.tile--offer { background: var(--white); color: var(--ink); }

h1, h2, .claims h3, .about__pair h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: .92;
}

/* ---------- Portada ---------- */
.tile--landing { display: flex; flex-direction: column; }
.landing__photo { flex: 1 1 0; min-height: 0; margin: 0; overflow: hidden; }
.landing__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0.72 1 0;
  min-height: 0;
  padding: 28px 40px 96px;
}
.landing__line {
  max-width: 36ch;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}
.landing__year { font-size: 15px; color: var(--gold); margin-bottom: 12px; }
.tile--landing h1 {
  font-size: clamp(42px, 5vh, 60px);
  max-width: 10ch;
}
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.tile--about .kicker,
.tile--rest .kicker,
.tile--list .kicker,
.tile--offer .kicker,
.tile--split[data-surface="white"] .kicker { color: #8a5a12; }
.tile--gold .kicker,
.tile--split[data-surface="gold"] .kicker { color: #1a1208; }
.figure {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 8px 0 6px;
}
.figure > span {
  font-family: var(--display);
  font-size: clamp(64px, 8.2vh, 92px);
  line-height: .82;
  letter-spacing: -0.045em;
  color: var(--gold);
}
.tile--gold .figure > span,
.tile--split[data-surface="white"] .figure > span,
.tile--split[data-surface="gold"] .figure > span { color: #111; }
.figure small {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 8.2ch;
  padding-bottom: 8px;
}
.statrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.statrow strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(30px, 4vh, 42px);
  letter-spacing: -0.04em;
  line-height: .9;
  color: var(--gold);
}
.statrow span {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.35;
  max-width: 22ch;
}
.statgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 12px;
}
.statgrid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(40px, 5.6vh, 58px);
  letter-spacing: -0.045em;
  line-height: .85;
}
.tile--split[data-surface="gold"] .statgrid strong { color: #111; }
.statgrid span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.35;
  max-width: 16ch;
}
.pull {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 16ch;
  color: var(--gold);
}
.landing__photo img,
.split__photo img,
.split__stack img,
.about__photo img,
.hoverdeck__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s var(--spring);
}
.js .tile.is-on .landing__photo img,
.js .tile.is-on .split__photo img,
.js .tile.is-on .split__stack img,
.js .tile.is-on .about__photo img {
  transform: scale(1);
}
.word { display: inline-block; white-space: nowrap; }
.char {
  display: inline-block;
  opacity: .38;
  transform: translateY(0);
}
.tile.is-on h1 .char,
.tile.is-on h2 .char,
.tile.is-on h3 .char,
.menu__item[aria-current="true"] .char,
.hoverdeck__names button.is-hot .char {
  opacity: 1;
  animation: char-up .36s cubic-bezier(.25, .46, .45, .94) both;
  animation-delay: calc(var(--i) * 16ms);
}
.menu__item:hover .char,
.menu__item:focus-visible .char,
.hoverdeck__names button:hover .char,
.hoverdeck__names button:focus-visible .char { opacity: 1; }
@keyframes char-up {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.js .rise {
  opacity: 0;
  transform: translate3d(-36px, 22px, 0);
  transition: opacity .7s var(--spring), transform .85s var(--spring);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .tile.is-on .rise {
  opacity: 1;
  transform: none;
}

/* ---------- Enfoque ---------- */
.tile--gold {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 88px;
  overflow: auto;
}
.tile--gold h2 { font-size: 34px; max-width: 12ch; margin-bottom: 16px; }
.claims li {
  padding: 16px 0 18px;
  border-top: 1px solid rgba(0, 0, 0, .22);
}
.claims li:last-child { border-bottom: 1px solid rgba(0, 0, 0, .22); }
.claims h3 { font-size: 20px; margin-top: 8px; }
.claims p { max-width: 36ch; margin-top: 6px; font-size: 15px; }
.claims .figure { margin-top: 0; }
.gold__sign {
  margin-top: 28px;
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.03em;
}

/* ---------- Empresa ---------- */
.tile--about { display: flex; flex-direction: column; min-height: 0; }
.about__photo {
  order: -1;
  margin: 0;
  flex: 0 1 150px;
  height: 18vh;
  min-height: 100px;
  max-height: 168px;
  overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 20px 40px 100px;
}
.about__aims {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 0;
  align-content: start;
}
.about__aims h3 { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.about__aims p { color: var(--muted-dark); font-size: 16px; line-height: 1.5; max-width: 38ch; }
.about__facts {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.about__facts li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(0, 0, 0, .16);
}
.about__facts strong {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.about__facts span { font-size: 15px; color: var(--muted-dark); max-width: 24ch; text-align: left; }
.about__copy h2 { font-size: 32px; max-width: 18ch; line-height: 1.05; }
.about__copy > p { max-width: 62ch; margin-top: 10px; color: var(--muted-dark); font-size: 16px; line-height: 1.45; }
.about__pair { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
.about__pair h3 { font-size: 24px; margin-bottom: 6px; }
.about__pair p { color: var(--muted-dark); font-size: 15px; max-width: 42ch; }

/* ---------- Proyectos ---------- */
.tile--projects {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 40px 84px;
  min-height: 0;
}
.tile--projects h2 { font-size: 42px; margin-bottom: 18px; }
.hoverdeck {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 0;
  flex: 1;
}
.hoverdeck__photos { order: -1; }
.hoverdeck__names {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.hoverdeck__names button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  text-align: left;
  padding: 12px 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}
.hoverdeck__name { flex: 1; min-width: 0; }
.hoverdeck__fig {
  flex: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--gold);
}
.hoverdeck__names button:hover,
.hoverdeck__names button:focus-visible,
.hoverdeck__names button.is-hot { color: var(--gold); }
.hoverdeck__names button:active { transform: translateY(1px); }
.hoverdeck__photos {
  display: grid;
  height: 26%;
  min-height: 148px;
  flex: none;
  overflow: hidden;
}
.hoverdeck__photos > * {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  margin: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s cubic-bezier(.33, 1, .68, 1);
}
.hoverdeck__photos > *.is-show { clip-path: inset(0 0 0 0); }
.hoverdeck__photos img { width: 100%; height: 100%; object-fit: cover; }
.hoverdeck__plain {
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background: var(--gold);
  color: var(--black);
}
.hoverdeck__plain p {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ---------- Fichas ---------- */
.tile--split { display: flex; flex-direction: column; }
.split__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 28px 40px 88px;
}
.split__copy h2 { font-size: 34px; max-width: 14ch; }
.split__copy > p,
.notes p,
.fine { max-width: 42ch; margin-top: 16px; }
.tile--split[data-surface="black"] .split__copy > p,
.tile--split[data-surface="black"] .notes,
.tile--split[data-surface="black"] .fine { color: var(--muted); }
.tile--split[data-surface="white"] .split__copy > p,
.tile--split[data-surface="white"] .notes { color: var(--muted-dark); }
.split__copy ul { margin-top: 22px; }
.split__copy li { padding: 12px 0; border-top: 1px solid currentColor; max-width: 36ch; }
.mark {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.03em;
  color: var(--gold);
}
.tile--split[data-surface="gold"] .mark,
.tile--split[data-surface="white"] .mark { color: var(--black); }
.lead-in { margin-bottom: 8px; }
.fine { font-size: 15px; }
.split__photo, .split__stack { height: 30%; flex: none; min-height: 0; order: -1; }
#santo-espiritu .split__photo,
#renta .split__photo { height: 24%; }
.split__photo { margin: 0; }
.split__stack { display: grid; grid-template-rows: 1fr 1fr; }
.split__stack figure { margin: 0; min-height: 0; }

.fleet a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  transition: color .25s var(--ease);
}
.fleet a:hover { color: var(--gold); }
.fleet span { color: var(--gold); }

/* ---------- Servicios ---------- */
.tile--list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 40px 88px;
  overflow: auto;
}
.tile--list h2 { font-size: 40px; margin-bottom: 18px; }
.catalog { display: grid; grid-template-columns: 1fr; }
.catalog a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .16);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.catalog a:hover { color: #9a6410; border-bottom-color: var(--gold); }
.catalog a:active { transform: translateY(1px); }
.catalog span { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--muted-dark); }

/* ---------- Hojas que ocupan el alto ---------- */
.sheet {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 40px 96px;
}
.sheet__head { flex: none; margin-bottom: 12px; }
.sheet__head h2 {
  font-size: clamp(32px, 4.4vh, 40px);
  max-width: 16ch;
  line-height: .98;
}
.cases {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.case {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-top: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .25s var(--ease);
}
.case:hover { background: rgba(255, 255, 255, .06); }
.case:active { transform: translateY(1px); }
.case:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.case.is-open .case__photo { flex: 0.7 1 0; }
.case__photo { margin: 0; flex: 1 1 0; min-height: 0; overflow: hidden; }
.case__photo img { width: 100%; height: 100%; object-fit: cover; }
.case__body {
  flex: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 12px;
}
.case__lead {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}
.case__place {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.case h3 { font-size: 26px; margin-top: 4px; line-height: 1.05; }
.case__fig {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 6px;
  color: var(--gold);
}
.case__fig span {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
  flex: none;
}
.case__more { display: none; margin-top: 12px; }
.case.is-open .case__more { display: block; }
.case__more p { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 36ch; }
.case__more li {
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 15px;
  max-width: 36ch;
}
.cases:has(.case.is-open) .case:not(.is-open) .case__fig,
.cases:has(.case.is-open) .case:not(.is-open) .case__place { display: none; }
.offers {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.offers article {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 28px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-top: 4px solid var(--gold);
  overflow: hidden;
}
.offers h3 { font-size: clamp(28px, 3.2vh, 40px); line-height: 1.05; }
.offer__fig {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 4px 0;
}
.offer__fig span {
  font-family: var(--display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111;
}
.offer__fig small,
.case__fig small {
  font-size: 15px;
  line-height: 1.25;
  max-width: 18ch;
  padding-bottom: 3px;
}
.offer__line {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 4px 0;
}
.offers article > p:last-child { max-width: 36ch; font-size: 17px; line-height: 1.45; }
.tile--fleet .fleet {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.tile--fleet .fleet li { min-height: 0; min-width: 0; display: flex; }
.tile--fleet .fleet a {
  flex: 1;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border-bottom: 0;
  overflow: hidden;
}
.tile--fleet .fleet img {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--spring);
}
.tile--fleet .fleet a:hover img { transform: scale(1.04); }
.fleet__meta {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.tile--fleet .fleet__name { color: var(--white); }
.fleet__ask { color: var(--gold); }
.tile--fleet .fleet a:hover .fleet__ask { color: var(--white); }
.tile--rest .catalog {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  column-gap: 36px;
}
.tile--rest .catalog a { align-items: center; }

/* ---------- Contacto ---------- */
.tile--contact {
  display: block;
  padding: 0;
}
.tile--contact h2 { font-size: 44px; max-width: 14ch; }
.reach {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}
.reach li { flex: 1; min-height: 0; display: flex; }
.reach a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.reach li:last-child a { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.reach a:hover { background: rgba(255, 255, 255, .08); }
.reach a:active { transform: translateY(1px); }
.reach span {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.reach strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.8vh, 30px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: right;
  max-width: 62%;
}
.reach__main {
  background: var(--gold);
  color: #000;
  border-top-color: transparent;
}
.reach__main span { color: #1a1208; }
.reach__main:hover { background: #fff; color: #000; }
.mail {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 56px;
  padding: 0 28px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.mail:hover { background: var(--gold); color: var(--black); }
.mail:active { transform: translateY(1px); }
.contacts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.contacts a { border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.contacts a:hover { border-bottom-color: var(--black); }

/* ---------- Pie de presentación ---------- */
.pager {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 14px;
  color: var(--white);
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .28));
}
body[data-surface="gold"] .pager,
body[data-surface="white"] .pager,
body[data-surface="gold"] .pager button,
body[data-surface="white"] .pager button { color: var(--black); }
body[data-surface="gold"] .pager,
body[data-surface="white"] .pager {
  background: linear-gradient(transparent, rgba(255, 255, 255, .72));
}
.pager p { margin: 0; display: flex; gap: 10px; align-items: baseline; }
#slide-name { opacity: .8; }
.pager div { display: flex; gap: 8px; pointer-events: auto; }
.pager button {
  min-height: 40px;
  padding: 6px 2px;
  color: var(--white);
  transition: opacity .25s var(--ease);
}
.pager button:hover { opacity: .65; }
.pager button:disabled { opacity: .35; cursor: default; }
.pager button:active:not(:disabled) { transform: translateY(1px); }
.live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.rail {
  position: absolute;
  z-index: 9;
  left: 20px;
  right: 20px;
  bottom: 4px;
  display: flex;
  gap: 6px;
  height: 14px;
  pointer-events: auto;
}
.rail button {
  flex: 1;
  height: 18px;
  position: relative;
}
.rail button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  opacity: .28;
  transform: scaleX(.35);
  transform-origin: left center;
  transition: transform .45s var(--spring), opacity .45s var(--spring), background-color .45s var(--spring);
}
.rail button[aria-current="true"]::before,
.rail button.is-done::before {
  opacity: 1;
  transform: scaleX(1);
  background: var(--gold);
}
body[data-surface="gold"] .rail button[aria-current="true"]::before,
body[data-surface="white"] .rail button[aria-current="true"]::before,
body[data-surface="gold"] .rail button.is-done::before,
body[data-surface="white"] .rail button.is-done::before { background: var(--black); }
.rail button:hover::before { opacity: .8; }
.rail button:active::before { transform: scaleX(1) translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .tile, .menu__item, .menu__panel, .catalog a, .fleet a, .mail, .rise, .rail button::before,
  .landing__photo img, .split__photo img, .split__stack img, .about__photo img,
  .hoverdeck__photos > *, .char { transition: none; animation: none; }
  .js .rise, .js .tile.is-on .rise { opacity: 1; transform: none; }
  .char,
  .tile.is-on h1 .char,
  .tile.is-on h2 .char,
  .tile.is-on h3 .char,
  .menu__item[aria-current="true"] .char {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .landing__photo img, .split__photo img, .split__stack img, .about__photo img { transform: none; }
  .hoverdeck__photos > *.is-show { clip-path: inset(0 0 0 0); }
}

@media (max-width: 860px) {
  body { overflow: hidden; height: 100%; background: #000; }
  .desk {
    display: block;
    position: relative;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
    background: #000;
  }
  .menu__panel {
    position: fixed;
    z-index: 5;
    top: 0;
    bottom: 0;
    left: 0;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }
  .menu:not(.is-compact) .menu__panel { width: min(320px, 88vw); }
  .menu.is-compact .menu__panel { width: 64px; }
  .menu.is-compact .nav__brand,
  .menu.is-compact .menu__links { display: none; }
  .nav__brand { border-radius: 0; }
  .viewport {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 64px;
    width: auto;
    height: auto;
    margin: 0;
    perspective: 900px;
    border-radius: 0;
    box-shadow: none;
  }
  .viewport.is-turning-page { overflow: visible; }
  .track { height: 100%; }
  .tile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
  }
  .sheet { padding: 16px 16px 92px; }
  .sheet__head { margin-bottom: 6px; }
  .sheet__head h2,
  .tile--contact h2 { font-size: 28px; max-width: 14ch; }
  .pager {
    padding: 14px 12px 8px;
    font-size: 13px;
    gap: 8px;
  }
  .pager p { white-space: nowrap; min-width: 0; }
  #slide-name {
    display: inline-block;
    max-width: 11ch;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
  .cases { grid-template-columns: 1fr; gap: 0; }
  .case {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    padding: 8px 0;
    overflow: visible;
  }
  .case__photo { width: 84px; height: auto; min-height: 72px; flex: none; }
  .case__lead { display: none; }
  .case__body { flex: 1; min-width: 0; padding-top: 0; overflow: visible; }
  .case__fig { flex-direction: column; align-items: flex-start; gap: 2px; }
  .case__fig small { display: block; max-width: 100%; white-space: normal; font-size: 12px; }
  .case h3 { font-size: 16px; line-height: 1.15; }
  .case.is-open { flex-direction: column; align-items: stretch; }
  .case.is-open .case__photo { width: 100%; height: 120px; }
  .case.is-open .case__lead { display: block; }
  .case__fig span { font-size: 22px; }
  .case__more p,
  .case__more li { font-size: 13px; }
  .offers { gap: 8px; }
  .offers article { padding: 10px 12px; gap: 4px; justify-content: flex-start; }
  .offers h3 { font-size: 20px; }
  .offer__fig span { font-size: 28px; }
  .offer__line { font-size: 20px; }
  .offers article > p:last-child { font-size: 13px; line-height: 1.35; }
  .tile--fleet .fleet { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .about__photo { flex: none; height: 16%; min-height: 88px; max-height: 130px; }
  .about__copy { justify-content: flex-start; gap: 6px; }
  .about__copy > p { margin-top: 4px; font-size: 13px; line-height: 1.35; }
  .about__copy h2 { line-height: 1.05; }
  .about__aims { flex: none; grid-template-columns: 1fr; gap: 6px; margin-top: 4px; }
  .about__aims h3 { font-size: 20px; margin-bottom: 2px; }
  .about__aims p { font-size: 13px; line-height: 1.3; }
  .about__facts { flex: none; grid-template-columns: 1fr; gap: 0; margin-top: 6px; }
  .about__facts li { padding: 4px 0 0; }
  .fleet__meta { flex-direction: column; align-items: flex-start; gap: 0; min-height: 32px; }
  .tile--fleet .fleet__name,
  .fleet__ask { font-size: 12px; line-height: 1.15; }
  .tile--fleet .fleet li,
  .tile--fleet .fleet a { overflow: hidden; }
  .tile--rest .catalog { grid-template-columns: 1fr; }
  .statrow span { font-size: 12px; max-width: none; }
  .landing__line { font-size: 15px; margin-top: 8px; }
  .reach strong { font-size: 18px; }
  .reach span { font-size: 11px; letter-spacing: .08em; }
  .landing__copy,
  .about__copy { padding: 16px 16px 92px; }
  .about__copy h2 { font-size: 26px; }
  .about__facts strong { font-size: 22px; }
  .about__facts span { font-size: 13px; }
  .catalog a { font-size: 18px; padding: 0; }
  .tile--landing h1 { font-size: 40px; }
  .figure > span { font-size: 56px; }
  .statrow strong { font-size: 28px; }
  .statgrid { gap: 12px; }
  .statgrid strong { font-size: 36px; }
  .hoverdeck__names button { font-size: 20px; }
  .split__copy,
  .landing__copy,
  .about__copy,
  .tile--projects,
  .tile--list,
  .tile--contact,
  .tile--gold { padding-left: 20px; padding-right: 20px; }
}
