/* Alternativa editorial independiente. No modifica los estilos de beta 0.1. */
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --editorial: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --paper: var(--text);
  --paper-ink: var(--bg);
  --paper-soft: #575a54;
  --paper-line: #c7c9bf;
  --light-line: #353a34;
  --space-page: clamp(1.5rem, 4.8vw, 6rem);
  --space-section: clamp(5rem, 9vw, 9rem);
  --display: clamp(3.8rem, 9vw, 8.9rem);
  --title: clamp(2.7rem, 4.9vw, 5.3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--editorial); -webkit-font-smoothing: antialiased; line-height: 1.5; }
::selection { background: var(--amber); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
em { font-style: normal; color: var(--amber); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
[hidden] { display: none; }
.wrap { width: min(100%, 1600px); padding-inline: var(--space-page); margin-inline: auto; }
.section-space { padding-block: var(--space-section); }
.eyebrow, .small-index { font-family: var(--mono); font-size: .65rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { line-height: 1.7; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 30; padding: 1rem; background: var(--amber); color: var(--ink); }
.skip:focus { top: 1rem; }
.masthead { position: relative; z-index: 5; height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { width: 145px; height: auto; }
.main-nav { display: none; }
.header-cta { display: flex; align-items: center; gap: 1.5rem; min-height: 44px; font-size: .875rem; border-bottom: 1px solid var(--light-line); }
.header-cta span { color: var(--amber); font-size: 1.3rem; }
.cinema { isolation: isolate; position: relative; overflow: hidden; padding-block: 2.5rem 22rem; }
.cinema__art { position: absolute; inset: auto -25% -1rem -25%; height: 28rem; z-index: -2; overflow: hidden; }
.cinema__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 35%, transparent 70%, var(--bg) 100%); }
.cinema__image { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.cinema__content { position: relative; z-index: 1; }
.cinema__eyebrow { color: var(--text-soft); display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; font-size: .59rem; }
.signal { display: inline-block; width: 5px; height: 5px; background: var(--amber); }
h1 { font-size: var(--display); line-height: .96; letter-spacing: -.065em; font-weight: 500; }
h1 em { font-weight: 400; }
.cinema__intro { margin-top: 2rem; }
.cinema__intro p { color: var(--text-soft); font-size: .95rem; line-height: 1.65; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 56px; padding: 1rem 1.35rem; border: 1px solid var(--amber); background: var(--amber); color: var(--ink); font-size: .86rem; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--amber-hi); transform: translateY(-2px); }
.button span { font-size: 1.2rem; line-height: 1; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 1.25rem; font-size: .85rem; }
.text-link span { color: var(--amber); }
.text-link:hover { color: var(--amber); }
.cinema__caption { position: absolute; right: var(--space-page); bottom: 4rem; font-family: var(--mono); font-size: .55rem; text-align: right; color: var(--text-soft); }
.cinema__caption span { display: block; }
.cinema__caption span:first-child { color: var(--amber); margin-bottom: .3rem; }
.motion-toggle { position: absolute; z-index: 3; right: var(--space-page); bottom: .5rem; display: flex; align-items: center; gap: .5rem; background: transparent; border: 0; color: var(--text-soft); min-height: 44px; padding: .5rem 0 .5rem 1rem; font-family: var(--mono); font-size: .58rem; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--amber); }
.cinema__scroll { position: absolute; left: var(--space-page); bottom: .5rem; min-height: 44px; display: flex; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .58rem; color: var(--text-soft); }
.cinema__scroll > span:last-child { color: var(--amber); font-size: 1.15rem; }
.disciplines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 1rem; padding-bottom: 1.75rem; }
.disciplines a { min-height: 74px; border-top: 1px solid var(--light-line); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; font-size: .76rem; }
.disciplines a + a { padding-left: .9rem; }
.disciplines a > span:last-child { display: none; }
.disciplines .small-index { color: var(--amber); font-size: .6rem; }
.disciplines a:hover { border-color: var(--amber); }
.expertise { background: var(--bg); color: var(--text); }
.expertise__intro { padding-top: var(--space-section); padding-bottom: 2rem; }
.section-heading { display: grid; gap: 2rem; margin-bottom: 3rem; }
.section-heading > .eyebrow { color: var(--amber); }
h2 { font-size: var(--title); line-height: 1.04; font-weight: 500; letter-spacing: -.055em; }
.quiet { color: var(--text-soft); }
.section-intro { margin-top: 1.75rem; max-width: 29rem; color: var(--text-soft); font-size: 1rem; line-height: 1.7; }
.services-toolbar { display: flex; justify-content: flex-end; }
.service-motion-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .5rem 0 .5rem 1rem; border: 0; background: transparent; color: var(--text-soft); font-family: var(--mono); font-size: .75rem; }
.service-motion-toggle[hidden] { display: none; }
.service-motion-toggle:hover { color: var(--amber); }
.service { --scene-bg: var(--bg); position: relative; isolation: isolate; background: var(--scene-bg); scroll-margin-top: 0; }
.service--reverse { --scene-bg: var(--surface); }
.service__frame { display: grid; gap: 1.5rem; padding-top: 3.5rem; padding-bottom: 4rem; }
.service__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; margin-bottom: 1.75rem; }
.service__number { font-family: var(--mono); font-size: .75rem; color: var(--amber); text-transform: uppercase; letter-spacing: .07em; }
.service__meta .eyebrow { font-size: .75rem; color: var(--text-soft); }
.service__heading { position: relative; z-index: 1; min-width: 0; }
.service h3 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.service h3 > span { display: block; }
.service h3 .service__subtitle { font-size: clamp(1.9rem, 5.1vw, 4rem); color: var(--text-soft); line-height: 1.1; margin-top: .25rem; }
.service__visual { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 3 / 2; margin-inline: calc(-1 * var(--space-page)); pointer-events: none; }
.service__visual img { width: 100%; height: 100%; object-fit: contain; }
.service__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--scene-bg), transparent 23%, transparent 72%, var(--scene-bg)); }
.service__body { position: relative; z-index: 1; min-width: 0; max-width: 28rem; }
.service__body > p { font-size: 1rem; color: var(--text-soft); line-height: 1.8; }
.service__body ul { padding: 0; margin: 1.75rem 0 2rem; list-style: none; font-size: .875rem; line-height: 1.7; }
.service__body li { padding-block: .35rem; }
.service__body li::before { content: "/"; color: var(--amber); margin-right: .75rem; font-family: var(--mono); }
.service__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 52px; padding: .8rem 1.15rem; border: 1px solid var(--muted); font-size: .875rem; font-weight: 500; }
.service__link span { color: var(--amber); font-size: 1.2rem; transition: transform .2s ease; }
.service__link:hover { border-color: var(--amber); }
.service__link:hover span { transform: translate(3px, -3px); }
.automation-example { margin-bottom: 2rem; padding-top: 1rem; border-top: 1px solid var(--light-line); }
.automation-example figcaption { color: var(--text-soft); font-family: var(--mono); font-size: .75rem; margin-bottom: .75rem; }
.automation-example ol { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; }
.automation-example li { display: flex; gap: 1rem; align-items: center; padding: 0; font-size: .875rem; }
.automation-example li::before { content: none; }
.automation-example li span { color: var(--amber); }
.perspective { background: var(--surface-2); }
.perspective__grid { display: grid; gap: 3rem; }
.perspective__intro > .eyebrow { color: var(--text-soft); margin-bottom: 2rem; }
.perspective h2 span { color: var(--text-soft); }
.perspective__intro > p:not(.eyebrow) { max-width: 21rem; margin-top: 1.75rem; color: var(--text-soft); }
.perspective .text-link { margin-top: 1rem; }
.method { list-style: none; margin: 0; padding: 0; }
.method li { padding-block: 2rem; border-top: 1px solid var(--light-line); }
.method .small-index { display: block; color: var(--amber); margin-bottom: 1rem; }
.method h3 { font-size: clamp(1.6rem, 2.1vw, 2.15rem); letter-spacing: -.03em; font-weight: 400; line-height: 1.25; }
.method p { margin-top: .85rem; max-width: 26rem; color: var(--text-soft); font-size: .9rem; line-height: 1.8; }
.principles { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; font-family: var(--mono); font-size: .63rem; color: var(--text-soft); }
.principles span { padding-top: 1rem; border-top: 1px solid var(--light-line); }
.principles span::before { content: "+"; display: inline-block; color: var(--amber); padding-right: .75rem; }
.contact-grid { display: grid; gap: 3rem; }
.contact-intro > .eyebrow { color: var(--text-soft); margin-bottom: 2rem; }
.contact-intro > p:not(.eyebrow) { margin-top: 2rem; font-size: 1rem; color: var(--text-soft); line-height: 1.8; }
.contact-mail { display: flex; align-items: center; gap: 2rem; min-height: 44px; width: fit-content; margin-top: 2rem; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.02em; }
.contact-mail span { color: var(--amber); }
.contact-intro > .text-link { margin-top: .5rem; color: var(--text-soft); font-size: .76rem; }
.form { display: grid; gap: 1.75rem; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: .7rem; font-size: .78rem; }
.field label span { color: var(--text-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 0; border-radius: 0; border-bottom: 1px solid var(--muted); padding: .65rem 0; background: transparent; color: var(--text); font-size: 1rem; box-shadow: none; }
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); opacity: .8; font-size: .85rem; }
.field select { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--amber); }
.field [aria-invalid="true"] { border-bottom-color: var(--amber); }
.field__err { font-size: .75rem; line-height: 1.5; color: var(--amber); margin-top: .4rem; }
.field__err:empty { display: none; }
.form__foot { display: grid; gap: 1.25rem; padding-top: .5rem; }
.form__foot .button { justify-content: center; width: 100%; }
.form__note { font-size: .7rem; color: var(--text-soft); }
.form__alert { padding: 1rem; border: 1px solid var(--amber); color: var(--amber); font-size: .85rem; }
.form__done { padding: 2rem; border-top: 1px solid var(--amber); }
.form__done .eyebrow { color: var(--amber); }
.form__done h3 { font-size: 2rem; font-weight: 500; margin-block: 1rem; }
.form__done p { color: var(--text-soft); }
.form[hidden], .form__done[hidden], .form__alert[hidden] { display: none; }
.form button[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer { padding-top: 2.5rem; padding-bottom: 1.5rem; }
.footer__top { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; border-top: 1px solid var(--light-line); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer__top > p { grid-column: 1; color: var(--text-soft); font-size: .85rem; }
.back-top { grid-column: 2; grid-row: 1; display: grid; place-items: center; border: 1px solid var(--light-line); width: 48px; height: 48px; }
.back-top:hover { color: var(--amber); border-color: var(--amber); }
.footer__bottom { border-top: 1px solid var(--light-line); display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; color: var(--text-soft); font-family: var(--mono); font-size: .57rem; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; gap: .75rem; width: fit-content; }
.footer__bottom a:hover { color: var(--amber); }
@media (min-width: 600px) {
  .cinema { padding-bottom: 27rem; }
  .cinema__art { height: 36rem; }
  .cinema__intro p { font-size: 1.05rem; }
  .cinema__eyebrow { font-size: .65rem; }
  .disciplines a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; font-size: 1rem; }
  .disciplines a > span:last-child { display: block; margin-left: auto; padding-right: 1.25rem; color: var(--text-soft); }
  .form { grid-template-columns: 1fr 1fr; column-gap: 1.75rem; }
  .form__wide, .form__foot, .form__alert { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr auto; align-items: center; }
  .footer__top > p { grid-column: 2; grid-row: 1; }
  .back-top { grid-column: 3; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 960px) {
  .masthead { height: 106px; }
  .brand img { width: 165px; }
  .main-nav { display: flex; gap: 2.5rem; margin-left: auto; margin-right: clamp(2rem, 9vw, 9rem); font-size: .81rem; color: var(--text-soft); }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .main-nav a:hover { color: var(--text); }
  .cinema { min-height: 735px; padding-block: 3.5rem 6rem; }
  .cinema__art { inset: -3rem -4% 0 34%; height: auto; }
  .cinema__art::after { background: linear-gradient(90deg, var(--bg) 0%, transparent 30%), linear-gradient(0deg, var(--bg) 0%, transparent 20%, transparent 88%, var(--bg) 100%); }
  .cinema__image { object-position: 61% center; }
  .cinema__eyebrow { margin-bottom: 2.2rem; }
  .cinema__intro { margin-top: 2rem; }
  .cinema__intro p { font-size: 1rem; }
  .cinema__caption { bottom: 6.3rem; font-size: .61rem; }
  .motion-toggle { bottom: 1.5rem; font-size: .6rem; }
  .cinema__scroll { bottom: 1.5rem; }
  .disciplines { padding-top: 0; padding-bottom: 1.75rem; }
  .disciplines a { min-height: 90px; font-size: 1.1rem; }
  .disciplines a + a { padding-left: 2rem; }
  .section-heading { grid-template-columns: 27% 1fr; gap: 2rem; margin-bottom: 5rem; }
  .section-heading > .eyebrow { padding-top: .7rem; }
  .section-intro { max-width: 30rem; }
  .service__frame { min-height: 740px; min-height: max(740px, 85svh); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 6%; row-gap: 2.25rem; padding-block: 6rem; align-content: center; }
  .service__heading { grid-column: 1; grid-row: 1; }
  .service h3 { font-size: clamp(4rem, 7.7vw, 7rem); }
  .service h3 .service__subtitle { font-size: clamp(2.5rem, 4.2vw, 4rem); }
  .service__body { grid-column: 1; grid-row: 2; }
  .service__visual { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 74%; aspect-ratio: auto; margin: 0; }
  .service__visual img { object-fit: cover; object-position: center; }
  .service__visual::after { background: linear-gradient(90deg, var(--scene-bg) 24%, transparent 65%), linear-gradient(180deg, var(--scene-bg), transparent 24%, transparent 75%, var(--scene-bg)); }
  .service--reverse .service__heading, .service--reverse .service__body { grid-column: 2; }
  .service--reverse .service__visual { right: auto; left: 0; width: 63%; }
  .service--reverse .service__visual img { object-position: left center; }
  .service--reverse .service__visual::after { background: linear-gradient(270deg, var(--scene-bg) 18%, transparent 55%), linear-gradient(180deg, var(--scene-bg), transparent 24%, transparent 75%, var(--scene-bg)); }
  .service--automation .service__visual img { object-position: right center; }
  .perspective__grid { grid-template-columns: 1.1fr 1fr; gap: 12%; }
  .method { padding-top: .4rem; }
  .method li { padding-block: 2rem; }
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 5rem; }
  .contact-grid { grid-template-columns: 1fr 1.04fr; gap: 12%; }
  .contact-form-shell { padding-top: 3rem; }
  .form { row-gap: 2rem; }
}
@media (min-width: 1500px) {
  .cinema { min-height: 850px; padding-top: 4.8rem; }
  .cinema__art { inset-inline: 37% 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .cinema__image { animation: sculpture-drift 22s ease-in-out infinite alternate; transform-origin: 62% 55%; }
  .motion-paused .cinema__image { animation-play-state: paused; }
  .motion-ready .service__visual img { animation: service-drift 16s ease-in-out infinite alternate; animation-play-state: paused; }
  .motion-ready .service.is-in-view .service__visual img { animation-play-state: running; }
  .motion-paused .service.is-in-view .service__visual img { animation-play-state: paused; }
  .service:nth-child(2) .service__visual img { animation-direction: alternate-reverse; }
  [data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1); }
  [data-reveal].reveal-pending { opacity: 0; transform: translateY(20px); }
  @keyframes sculpture-drift { from { transform: scale(1); } to { transform: scale(1.055) translate(-.5%, .4%); } }
  @keyframes service-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
}
