/* INGEMECANIC — sistema visual
   Conserva la identidad actual: logo, cian de marca y Josefin Sans. */
:root {
  --ink: #141618;
  --graphite: #1e2124;
  --steel: #303133;
  --paper: #ffffff;
  --mist: #f3f4f4;
  --line: #dcdfe1;
  --line-dark: rgba(255, 255, 255, .16);
  --text: #2b2e31;
  --muted: #5d6368;
  --muted-dark: #a7adb2;
  --cyan: #45c5ea;
  --cyan-deep: #0b7392;
  --display: 'Josefin Sans', 'Segoe UI', sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(64px, 9vw, 128px);
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.12; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #d6dadd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

.eyebrow { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-deep); }
.section--dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--cyan); }
.h2 { font-size: clamp(32px, 4.2vw, 56px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); }
.split__head { grid-column: span 5; }
.split__body { grid-column: 7 / -1; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 64px); }
.head > div { max-width: 780px; }
.head .eyebrow, .split__head .eyebrow { margin-bottom: 16px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px; font: 500 15px/1.2 var(--body); text-decoration: none; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--cyan); color: var(--ink); }
.btn--primary:hover { background: #fff; }
.btn--line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--cyan); color: var(--ink); }
.link { display: inline-flex; gap: 10px; font-weight: 500; font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--cyan); white-space: nowrap; }
.link:hover { color: var(--cyan-deep); }
.section--dark .link:hover { color: var(--cyan); }

/* Cabecera */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header); color: #fff; transition: background-color .25s, height .25s; }
.header.is-solid, .header.is-open { background: var(--ink); height: 68px; }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo { margin-right: auto; display: block; }
.header__logo img { width: 158px; height: auto; }
.menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.menu a { font-size: 15px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current] { border-bottom-color: var(--cyan); }
.menu__contact { display: none; color: var(--cyan); }
.header .btn { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.toggle { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .2s, top .2s; }
.toggle span:first-child { top: 17px; }
.toggle span:last-child { top: 26px; }
.is-open .toggle span:first-child { top: 22px; transform: rotate(45deg); }
.is-open .toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* Portada */
.hero { position: relative; min-height: min(100svh, 980px); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transition: opacity .9s ease; }
.hero__media img.is-active { opacity: 1; }
.hero__tools { position: relative; display: flex; align-items: center; gap: 24px; min-height: 36px; margin-bottom: 8px; }
.hero__label { min-width: 0; font-size: 15px; color: #fff; text-decoration: none; }
.hero__label::after { content: ' →'; color: var(--cyan); }
.hero__label:hover { color: var(--cyan); }
.hero__dots { display: flex; gap: 6px; flex: 1; max-width: 300px; margin-left: auto; }
.hero__dots button { flex: 1; height: 24px; display: flex; align-items: center; }
.hero__dots span { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; transition: background-color .2s; }
.hero__dots button:hover span { background: rgba(255, 255, 255, .6); }
.hero__dots .is-current span::after { content: ''; position: absolute; inset: 0; background: var(--cyan); transform-origin: left; animation: slide-progress 4s linear forwards; }
.hero.is-paused .hero__dots .is-current span::after { animation: none; }
@keyframes slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { flex: none; padding: 8px 0; font-size: 14px; color: #dfe3e6; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 5px; }
.hero__pause:hover { color: #fff; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 24, .92) 0%, rgba(20, 22, 24, .68) 48%, rgba(20, 22, 24, .2) 100%), linear-gradient(0deg, rgba(20, 22, 24, .9) 0%, rgba(20, 22, 24, 0) 40%), linear-gradient(180deg, rgba(20, 22, 24, .55) 0%, rgba(20, 22, 24, 0) 22%); }
.hero__in { position: relative; width: 100%; padding-top: calc(var(--header) + 48px); }
.hero h1 { color: #fff; font-weight: 300; font-size: clamp(42px, 6.6vw, 96px); line-height: 1.04; max-width: 13em; margin: 20px 0 24px; }
.hero__lead { max-width: 620px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #dfe3e6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 clamp(16px, 2vw, 28px); }
.creds { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.creds li { padding: 22px 24px 26px 0; }
.creds li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.creds strong { display: block; font: 400 clamp(26px, 2.8vw, 38px)/1.1 var(--display); color: #fff; }
.creds span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--muted-dark); }

.creds--band { margin-top: clamp(32px, 4vw, 56px); }

/* Clientes */
.clients { display: flex; align-items: center; gap: clamp(20px, 4vw, 64px); padding: 20px 0; border-bottom: 1px solid var(--line); }
.clients__label { flex: 0 0 auto; max-width: 150px; font: 500 13px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.clients__list { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clients__list img { width: 112px; height: 112px; object-fit: contain; filter: grayscale(1); }

/* Etapas */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); counter-reset: s; }
.stages li::after { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.stages li:hover::after { transform: scaleX(1); }
.stages li { position: relative; padding: 28px 28px 8px 0; counter-increment: s; }
.stages li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stages li::before { content: '0' counter(s); display: block; font: 500 13px var(--mono); color: var(--cyan-deep); margin-bottom: 40px; }
.stages h3 { font-size: 23px; margin-bottom: 10px; }
.stages p { font-size: 16px; color: var(--muted); line-height: 1.5; }

/* Especialidades (portada) */
.areas { border-top: 1px solid var(--line); }
.icon { width: 52px; height: 52px; fill: none; stroke: var(--cyan-deep); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .2s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.area:hover .icon { transform: rotate(-6deg) scale(1.06); }
.spec h3 { display: flex; align-items: center; gap: 14px; }
.spec h3 .icon { flex: none; width: 40px; height: 40px; }
.area { position: relative; display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 8fr) 24px; gap: 24px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s; }
.area__n { font: 500 13px/2.4 var(--mono); color: var(--cyan-deep); }
.area h3 { font-size: clamp(24px, 2.5vw, 34px); }
.area p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.area__go { font-size: 20px; line-height: 1.6; color: var(--muted); transition: transform .2s, color .2s; }
.area:hover .area__go { transform: translateX(6px); color: var(--cyan-deep); }
.area::before { content: ''; position: absolute; left: -16px; top: 0; bottom: 0; width: 3px; background: var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.area:hover::before { transform: scaleY(1); }
.area:hover h3 { color: var(--cyan-deep); }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.pcard { grid-column: span 4; text-decoration: none; display: block; }
.pcard--wide { grid-column: span 6; }
.pcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.pcard__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(18px, 2vw, 28px); background: rgba(20, 22, 24, .86); color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .3s; }
.pcard__over p { font-size: 16px; line-height: 1.45; }
.pcard__over span { font: 500 12.5px/1.5 var(--mono); color: var(--muted-dark); }
.pcard__over strong { font-weight: 500; font-size: 15px; color: var(--cyan); }
.pcard:hover .pcard__over, .pcard:focus-visible .pcard__over { opacity: 1; transform: none; }
@media (hover: none) { .pcard__over { display: none; } }
.pcard--wide .pcard__img { aspect-ratio: 16 / 10; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font: 500 12.5px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { margin-top: 8px; font-size: clamp(22px, 2vw, 28px); }
.pcard:hover h3 { color: var(--cyan-deep); }
.section--dark .pcard h3 { color: #fff; }
.section--dark .pcard:hover h3 { color: var(--cyan); }
.section--dark .pcard__meta { color: var(--muted-dark); }

/* Captura 3D */
.capture { background: var(--ink); color: #d6dadd; }
.capture__visual { position: relative; }
.capture__visual img { width: 100%; max-height: 720px; object-fit: cover; }
.capture__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(20, 22, 24, 0) 30%); }
.capture__body { position: relative; padding-bottom: var(--section); }
.capture__body h2 { color: #fff; }
.capture__intro { margin-top: -80px; position: relative; }
.scanners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(40px, 5vw, 64px); background: var(--line-dark); border: 1px solid var(--line-dark); }
.scanner:hover .scanner__v { color: #fff; }
.scanner__v { transition: color .2s; }
.scanner { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--ink); }
.scanner img { width: 132px; height: 160px; object-fit: contain; }
.scanner h3 { font-size: 22px; }
.scanner__v { display: block; margin: 20px 0 2px; font: 300 clamp(40px, 4.4vw, 60px)/1 var(--display); color: var(--cyan); }
.scanner__l { font: 500 12.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-dark); }
.scanner p { margin-top: 16px; font-size: 16px; line-height: 1.55; color: var(--muted-dark); }
.bim { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
.bim h3 { font-size: 22px; margin-bottom: 8px; }
.bim p { font-size: 16px; line-height: 1.5; color: var(--muted-dark); }
.bim p.bim__t { font: 300 clamp(36px, 4vw, 52px)/1.05 var(--display); color: #fff; }

/* Respaldo */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(32px, 4vw, 56px); }
.assure > * { background: #fff; padding: clamp(24px, 3vw, 40px); }
.section--mist .assure > * { background: var(--mist); }
.assure h3 { font-size: 25px; margin-bottom: 12px; }
.assure p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.assure .link { margin-top: 18px; font-size: 15px; }
.iso { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.iso span { font: 500 13px/1 var(--mono); padding: 8px 10px; border: 1px solid var(--line); color: var(--ink); background: #fff; }

/* Noticias */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 28px); }
.ncard { text-decoration: none; display: block; }
.ncard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ncard:hover .ncard__img img { transform: scale(1.03); }
.ncard time { display: block; margin-top: 16px; font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ncard h3 { margin-top: 8px; font-size: 22px; line-height: 1.2; }
.ncard:hover h3 { color: var(--cyan-deep); }

/* Contacto */
.contact { background: var(--graphite); color: #d6dadd; padding: var(--section) 0; }
.contact h2 { color: #fff; font-weight: 300; font-size: clamp(36px, 5vw, 72px); }
.contact .lead { color: var(--muted-dark); margin-top: 20px; max-width: 520px; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact__data { border-top: 1px solid var(--line-dark); }
.contact__data div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact__data dt { font: 500 12.5px/1.8 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-dark); }
.contact__data dd { margin: 0; color: #fff; font-size: 16px; overflow-wrap: anywhere; }
.contact__data dd span { display: block; font-size: 14.5px; color: var(--muted-dark); }
.contact__data a { text-decoration-color: var(--cyan); text-underline-offset: 4px; }
dl { margin: 0; }

/* Pie */
.footer { background: var(--ink); color: var(--muted-dark); padding: 44px 0 36px; font-size: 14.5px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__top img { width: 148px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__end { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* Cabeza de páginas interiores */
.page-head { position: relative; background: var(--ink); color: #fff; padding: calc(var(--header) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-head--img { min-height: 62vh; display: flex; align-items: flex-end; }
.page-head--img .wrap { width: 100%; }
.page-head__media { position: absolute; inset: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media img { object-position: 50% 30%; }
.page-head__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 24, .96) 0%, rgba(20, 22, 24, .72) 34%, rgba(20, 22, 24, .12) 68%, rgba(20, 22, 24, .55) 100%); }
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; font-weight: 300; font-size: clamp(38px, 5.6vw, 80px); margin-top: 16px; max-width: 16em; }
.page-head p { margin-top: 20px; max-width: 700px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #dfe3e6; }

/* Nosotros */
.about-text p + p { margin-top: 20px; }
.about-text p { font-size: 19px; line-height: 1.6; color: var(--text); }
.about-figs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); }
.about-figs li { background: #fff; padding: 22px 24px; }
.about-figs strong { display: block; font: 300 34px/1.1 var(--display); color: var(--ink); }
.about-figs span { font-size: 14.5px; line-height: 1.35; color: var(--muted); display: block; margin-top: 4px; }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video__play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--cyan); color: var(--ink); font-weight: 500; font-size: 15px; }
.video__play::before { content: ''; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.timeline { border-top: 1px solid var(--line-dark); }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.timeline strong { font: 300 30px/1.2 var(--display); color: var(--cyan); }
.timeline p { color: #d6dadd; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team h3 { margin-top: 16px; font-size: 23px; }
.team p { font-size: 15.5px; line-height: 1.4; color: var(--muted); margin-top: 4px; }

/* Servicios */
.spec { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.spec__img { grid-column: span 4; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.spec__img img { width: 100%; height: 100%; object-fit: cover; }
.spec__body { grid-column: 5 / span 4; }
.spec h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.spec p { color: var(--muted); font-size: 16.5px; }
.spec__list { grid-column: 9 / -1; }
.ticks li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.ticks li:first-child { border-top: 1px solid var(--line); }
.section--dark .ticks li { border-color: var(--line-dark); }
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.duo > * { background: #fff; padding: clamp(28px, 3.4vw, 48px); }
.duo h3 { font-size: 30px; margin-bottom: 14px; }
.duo p { color: var(--muted); }
.duo .ticks { margin-top: 20px; }

/* Ingeniería de procesos */
#procesos .spec__img img { object-position: 50% 88%; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.pgrid h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 14px; }
.pgrid h4 { font-size: 20px; margin-bottom: 12px; }
.pgrid .ticks li { font-size: 15.5px; }
.industry { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--ink); }
.industry__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3vw, 40px); align-items: center; margin-bottom: clamp(28px, 3vw, 40px); }
.industry__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.industry__img img { width: 100%; height: 100%; object-fit: cover; }
.industry h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.industry__head p { color: var(--muted); }
.why { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.why__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.why__list { margin-top: 14px; border-top: 1px solid var(--line); counter-reset: w; }
.why__list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 clamp(20px, 2vw, 26px)/1.2 var(--display); color: var(--ink); counter-increment: w; }
.why__list li::before { content: '0' counter(w); font: 500 13px/2 var(--mono); color: var(--cyan-deep); }

/* Ficha de proyecto: cajetín tipo plano */
.titleblock { display: flex; border: 1px solid var(--ink); }
.titleblock > div { flex: 2 1 0; min-width: 0; padding: 16px 20px 18px; border-right: 1px solid var(--ink); }
.titleblock > div:first-child, .titleblock > div:last-child { flex-grow: 4; }
.titleblock > div:last-child { border-right: 0; }
.titleblock dt { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.titleblock dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.45; }
.titleblock .big { font: 300 clamp(26px, 2.6vw, 38px)/1.05 var(--display); white-space: nowrap; }
.prose-duo { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.prose-duo > div { grid-column: span 6; }
.prose-duo h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.prose-duo p { color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: clamp(40px, 5vw, 72px); }
.gallery button { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); grid-column: span 2; cursor: zoom-in; }
.gallery button:nth-child(1), .gallery button:nth-child(2), .gallery button:nth-child(9):nth-last-child(2), .gallery button:nth-child(10):nth-last-child(1) { grid-column: span 3; aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 22, 24, .94); }
.lightbox img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; }
.lightbox__close { position: fixed; top: 16px; right: 16px; padding: 10px 16px; background: #fff; color: var(--ink); font-size: 15px; }
.pager { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.pager a { padding: 28px 0; text-decoration: none; }
.pager a:last-child { text-align: right; }
.pager span { display: block; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.pager strong { font: 400 clamp(20px, 2vw, 26px)/1.2 var(--display); color: var(--ink); }
.pager a:hover strong { color: var(--cyan-deep); }

/* Experiencia */
.cases li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.cases { border-top: 1px solid var(--line-dark); }
.cases strong { font: 400 22px/1.25 var(--display); color: #fff; }
.cases p { color: var(--muted-dark); font-size: 16.5px; line-height: 1.55; }

/* Entrada al bajar: solo se activa con JavaScript */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Contenido recuperado del sitio actual */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.videos--one { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-top: clamp(32px, 4vw, 56px); }
.capture .video-note { color: var(--muted-dark); }
.section--scanners .capture__body { padding-top: var(--section); }
.linkedin { position: relative; overflow: hidden; }
.linkedin__bg { position: absolute; inset: 0; opacity: .16; }
.linkedin__bg img { width: 100%; height: 100%; object-fit: cover; }
.linkedin .wrap { position: relative; }
.linkedin__feed { min-height: 120px; }
.news--four { grid-template-columns: repeat(4, 1fr); }
.news--four .ncard h3 { font-size: 20px; }
.about-photo { margin-top: 32px; }
.about-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.banner img { width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; }
.team__in { margin-top: 10px; font-size: 15px; }
.closing { margin-top: clamp(32px, 4vw, 56px); max-width: 860px; }
.duo__img { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 24px; background: var(--mist); }
.duo__img img { width: 100%; height: 100%; object-fit: cover; }
.prose-duo > div:only-child { grid-column: 1 / -1; max-width: 860px; }
.project-intro { max-width: 860px; margin-top: clamp(32px, 4vw, 56px); font-size: 19px; line-height: 1.6; }
.project-intro > * + *, .prose-duo > div > * + * { margin-top: 14px; }
.hoursblock { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 2px solid var(--ink); }
.hoursblock > strong { font: 300 clamp(38px, 4.6vw, 64px)/1 var(--display); color: var(--ink); }
.hoursblock h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.hoursblock p + p { margin-top: 12px; }
.contact__stripe { width: 180px; height: 14px; object-fit: cover; margin-bottom: 24px; }
.footer__iso { display: inline-flex; align-items: center; gap: 10px; }
.article img { width: 100%; height: auto; }

/* Artículos y texto largo */
.article { max-width: 760px; margin: 0 auto; }
.article > * + * { margin-top: 20px; }
.article h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 44px; }
.article ul { list-style: square; padding-left: 20px; }
.article ol { list-style: decimal; padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article li::marker { color: var(--cyan-deep); }
.article a { color: var(--cyan-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.article blockquote { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--cyan); }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article th, .article td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.article__cover { max-width: 1100px; margin: 0 auto clamp(32px, 4vw, 56px); }
.article__cover img { width: 100%; max-height: 620px; object-fit: cover; }

/* Compliance */
.report { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); }
.report__main { grid-column: span 7; }
.report__main > * + * { margin-top: 20px; }
.report__main h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 44px; }
.report__main h2:first-child { margin-top: 0; }
.report__side { grid-column: 9 / -1; align-self: start; position: sticky; top: 96px; background: var(--ink); color: #d6dadd; padding: 28px; }
.report__side h2 { color: #fff; font-size: 25px; margin-bottom: 18px; }
.report__side a { color: #fff; text-decoration-color: var(--cyan); text-underline-offset: 4px; overflow-wrap: anywhere; }
.report__side dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-dark); margin-top: 16px; }
.report__side dd { margin: 4px 0 0; }
.report__side p { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 15px; line-height: 1.5; color: var(--muted-dark); }

@media (min-width: 1081px) {
  .split--about .split__head { grid-column: span 6; }
  .split--about .split__body { grid-column: 8 / -1; }
}

@media (max-width: 1080px) {
  :root { --header: 72px; }
  .toggle { display: block; }
  .header__cta { display: none; }
  .menu { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--ink); display: none; }
  .is-open .menu { display: flex; }
  .menu a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .menu .menu__contact { display: block; border-bottom: 0; }
  .split__head, .split__body { grid-column: 1 / -1; }
  .spec__img { grid-column: span 12; aspect-ratio: 16 / 8; }
  .spec__body { grid-column: span 6; }
  .spec__list { grid-column: 7 / -1; }
  .bim { grid-template-columns: repeat(3, 1fr); }
  .bim__t { grid-column: 1 / -1; }
  .report__main, .report__side { grid-column: 1 / -1; position: static; }
}

@media (max-width: 860px) {
  .creds { grid-template-columns: repeat(2, 1fr); }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .clients { flex-direction: column; align-items: flex-start; gap: 4px; }
  .clients__label { max-width: none; }
  .clients__list { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 12px; }
  .clients__list img { width: 84px; height: 84px; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stages li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stages li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stages li::before { margin-bottom: 20px; }
  .area { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; }
  .area > .icon { width: 44px; height: 44px; }
  .area::before { left: -10px; }
  .area p { grid-column: 1 / -1; margin-top: 8px; }
  .videos, .news--four, .hoursblock { grid-template-columns: minmax(0, 1fr); }
  .area__go { display: none; }
  .pcard, .pcard--wide { grid-column: span 6; }
  .pcard--wide .pcard__img { aspect-ratio: 4 / 3; }
  .scanners, .assure, .news, .duo { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .industry__head, .why { grid-template-columns: minmax(0, 1fr); }
  .titleblock { flex-direction: column; }
  .titleblock > div { flex: none; border-right: 0; border-bottom: 1px solid var(--ink); }
  .titleblock > div:last-child { border-bottom: 0; }
  .prose-duo > div { grid-column: 1 / -1; }
  .cases li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .spec__body, .spec__list { grid-column: 1 / -1; }
  .head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header__logo img { width: 134px; }
  .hero h1 { font-size: 40px; }
  .hero__cta .btn { width: 100%; }
  .hero__tools { flex-wrap: wrap; gap: 4px 16px; }
  .hero__label { flex: 1 1 100%; }
  .contact__cta .btn { width: 100%; }
  .pcard, .pcard--wide { grid-column: 1 / -1; }
  .bim { grid-template-columns: minmax(0, 1fr); }
  .scanner { grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
  .scanner img { width: 84px; height: 110px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button, .gallery button:nth-child(1), .gallery button:nth-child(2), .gallery button:nth-child(9):nth-last-child(2), .gallery button:nth-child(10):nth-last-child(1) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .contact__data div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer__end { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
