/* Oraclum Technologies · sitio estático
   Traducido de Claude Design «Oraclum Home» + «Oraclum Internas» (29-sep-2026).
   Tipografías auto-hospedadas (SIL Open Font License): Outfit, Source Sans 3, IBM Plex Mono. */

@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/outfit-latin.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/source-sans-3-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); }

:root {
  --ink: #100f0d;
  --paper: #f3efe6;
  --sand: #e7e1d4;
  --ink-2: #1b1916;
  --gutter: clamp(16px, 4vw, 40px);
  --display: 'Outfit', sans-serif;
  --text: 'Source Sans 3', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

html, body { margin: 0; background: var(--ink); }
* { box-sizing: border-box; }
body { font-family: var(--text); color: var(--ink); -webkit-font-smoothing: antialiased; }
.page { background: var(--paper); }
a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { opacity: .75; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .chip input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--paper); color: var(--ink); font: 600 15px/1 var(--text); }
.skip:focus { top: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.ink { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); }
.sand { background: var(--sand); }

/* ─── Header ─── */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--paper); border-bottom: 1px solid rgba(243,239,230,.12); }
.site-header .bar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { flex: 0 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; text-decoration: none; color: var(--paper); }
.brand img { height: clamp(17px, 1.7vw, 22px); width: auto; }
.brand span { font: 400 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.nav-main { display: flex; align-items: center; gap: 30px; font: 400 15px/1 var(--text); }
.nav-main a, .nav-mobile a { text-decoration: none; text-underline-offset: 7px; }
.nav-main a[aria-current="page"], .nav-mobile a[aria-current="page"] { text-decoration: underline; }
.bar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.btn-paper { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--paper); border-radius: 2px; background: transparent; color: var(--paper); font: 600 14px/1 var(--text); text-decoration: none; white-space: nowrap; transition: background .2s; }
.btn-paper:hover { background: rgba(243,239,230,.08); }
.menu-btn { display: none; height: 38px; padding: 0 10px; border: 1px solid rgba(243,239,230,.35); border-radius: 2px; background: transparent; color: var(--paper); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu-btn:hover { background: rgba(243,239,230,.08); }
.nav-mobile { display: none; flex-direction: column; padding: 8px var(--gutter) 24px; border-top: 1px solid rgba(243,239,230,.12); font: 400 22px/1 var(--text); }
.nav-mobile a { padding: 16px 0; border-bottom: 1px solid rgba(243,239,230,.12); }
.nav-mobile a:last-child { border-bottom: 0; }
@media (max-width: 859.98px) {
  .nav-main { display: none; }
  .js .menu-btn { display: inline-block; }
  .nav-mobile.open { display: flex; }
}

/* ─── Tipografía común ─── */
.h-hero { margin: 0; max-width: 17ch; font: 400 clamp(34px, 6.1vw, 86px)/1.06 var(--display); letter-spacing: -.035em; padding-bottom: .08em; text-wrap: balance; }
.h-sec { margin: 0; font: 400 clamp(38px, 5.6vw, 80px)/1.06 var(--display); letter-spacing: -.035em; padding-bottom: .08em; text-wrap: balance; }
.h-row { margin: 0; font: 400 clamp(30px, 3.6vw, 48px)/1.08 var(--display); letter-spacing: -.035em; padding-bottom: .08em; text-wrap: balance; }
.kicker { margin: 0 0 16px; font: 300 30px/1 var(--display); }
.body { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 640px; font: 400 19px/1.6 var(--text); text-wrap: pretty; }
.mono-label { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.more { display: inline-flex; gap: 10px; margin-top: 48px; font: 600 17px/1 var(--text); text-decoration: underline; }
.btn-ink { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 600 17px/1 var(--text); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn-ink:hover { background: rgba(16,15,13,.08); }
.cta-note { margin: 0; max-width: 44ch; font: 400 15px/1.45 var(--text); }

/* ─── Home ─── */
.sec { padding: clamp(80px, 11vw, 152px) 0; }
.sec .inner { flex: 999 1 560px; min-width: 0; }
.hero { position: relative; overflow: hidden; min-height: max(700px, calc(100vh - 64px)); }
.hero-photo { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; overflow: hidden; }
.hero-photo img, .band img { position: absolute; left: 0; width: 100%; object-fit: cover; will-change: transform; }
.hero-photo img { top: -8%; height: 116%; object-position: center 70%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink) 0%, rgba(16,15,13,0) 34%); }
.hero .wrap { position: relative; padding-top: clamp(40px, 7vw, 96px); }
.hero-tag { margin: clamp(24px, 3vw, 36px) 0 0; font: 300 clamp(22px, 2.2vw, 30px)/1.2 var(--display); }
.band { position: relative; overflow: hidden; height: clamp(300px, 50vw, 680px); background: var(--ink); }
.band img { top: -10%; height: 120%; }
.band--oficios { height: clamp(260px, 42vw, 560px); }

.lines { margin-top: clamp(40px, 5vw, 64px); max-width: 760px; }
.lines p.line { margin: 0; padding: 18px 0; border-top: 1px solid var(--ink); font: 400 clamp(21px, 2vw, 26px)/1.3 var(--text); }
.lines p.line:nth-child(3) { border-bottom: 1px solid var(--ink); }
.lines .body { margin-top: 32px; font-size: 19px; line-height: 1.55; }

.oficios-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 1px; background: rgba(243,239,230,.18); border: 1px solid rgba(243,239,230,.18); }
.oficio { display: flex; gap: 14px; min-height: clamp(220px, 22vw, 300px); padding: 20px 16px 20px 14px; background: var(--ink); color: var(--paper); text-decoration: none; transition: background .2s; }
.oficio:hover { background: var(--ink-2); }
.oficio .ind { flex: none; writing-mode: vertical-rl; transform: rotate(180deg); font: 500 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.oficio .sym { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; font: 400 clamp(19px, 1.8vw, 24px)/1.22 var(--text); text-wrap: pretty; }
.oficio .arr { font-size: 20px; }

.onto-sub { margin: 20px 0 0; max-width: 30ch; font: 300 clamp(24px, 2.6vw, 34px)/1.2 var(--display); text-wrap: pretty; }
.qa-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 48px; }
.qa-grid > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.qa-grid h3 { margin: 0; font: 600 22px/1.25 var(--text); }
.qa-grid p { margin: 14px 0 0; font: 400 18px/1.6 var(--text); text-wrap: pretty; }

.quote { margin: clamp(48px, 6vw, 80px) 0 0; padding-top: 28px; border-top: 1px solid var(--ink); max-width: 22ch; font: 300 clamp(30px, 4vw, 54px)/1.1 var(--display); text-wrap: balance; }

.mandato { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; border-bottom: 1px solid rgba(243,239,230,.25); }
.mandato a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(243,239,230,.25); text-decoration: none; font: 400 clamp(21px, 2.3vw, 30px)/1.25 var(--text); }
.mandato a span:first-child { max-width: 34ch; text-wrap: pretty; }
.mandato a span:last-child { flex: none; }

.demo { scroll-margin-top: 64px; }
.demo-grid { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: flex-start; }
.demo-copy { flex: 1 1 420px; min-width: 0; }
.demo-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.demo-copy .more { margin-top: 40px; }
.hoja { flex: 1 1 300px; max-width: 440px; margin: 0; }

/* ─── Internas ─── */
.int-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.int-hero .kicker { margin-bottom: 18px; }
.int-lede { margin: clamp(28px, 3.5vw, 40px) 0 0; max-width: 620px; font: 400 20px/1.55 var(--text); text-wrap: pretty; }
.int-body { padding-top: clamp(40px, 6vw, 80px); }
.row { display: flex; flex-wrap: wrap; gap: 20px 32px; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--ink); scroll-margin-top: 64px; }
.row-idx { flex: 1 1 160px; max-width: 260px; font: 300 24px/1 var(--text); }
.row-idx--stack { display: flex; flex-direction: column; gap: 14px; }
.row-idx .ind { font: 500 12px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.row-main { flex: 999 1 560px; min-width: 0; max-width: 820px; }
.row-sub { margin: 20px 0 0; max-width: 680px; font: 300 clamp(22px, 2.2vw, 28px)/1.25 var(--display); text-wrap: pretty; }
.row-p { margin: 20px 0 0; max-width: 680px; font: 400 18px/1.6 var(--text); text-wrap: pretty; }
.list { margin: 28px 0 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(16,15,13,.2); }
.list li { padding: 14px 0; border-top: 1px solid rgba(16,15,13,.2); font: 400 18px/1.5 var(--text); text-wrap: pretty; }
.list li.strong { font-weight: 600; }
.list--num li { display: flex; gap: 18px; }
.list--num .n { flex: none; width: 28px; font: 500 11px/27px var(--mono); }
.faq { margin-top: 28px; display: flex; flex-direction: column; border-bottom: 1px solid rgba(16,15,13,.2); }
.faq > div { padding: 18px 0; border-top: 1px solid rgba(16,15,13,.2); display: flex; flex-direction: column; gap: 6px; }
.faq h3 { margin: 0; font: 600 19px/1.35 var(--text); }
.faq p { margin: 0; font: 400 18px/1.5 var(--text); text-wrap: pretty; }
.closing { margin: 0; padding: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--ink); font: 300 clamp(24px, 2.6vw, 34px)/1.2 var(--display); }

.cta-sec { padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 64px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 20px 32px; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--ink); scroll-margin-top: 96px; }
.cta-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* Columna izquierda con etiqueta en Plex Mono (CTA de demo y «La entrada») */
.split { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.split-idx { flex: 1 1 160px; max-width: 260px; padding-top: 8px; margin: 0; }

/* ─── Formulario de demo (FormSubmit) ─── */
.demo-form { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font: 600 17px/1.3 var(--text); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 400 18px/1.4 var(--text); }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus { background: rgba(16,15,13,.04); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .actions { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ─── La entrada (plática) ─── */
.entrada-sec { padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 64px; }
.entrada-h { margin: 0; max-width: 18ch; font: 400 clamp(30px, 3.6vw, 48px)/1.08 var(--display); letter-spacing: -.035em; padding-bottom: .08em; text-wrap: balance; }
.entrada-p { margin: 28px 0 0; max-width: 680px; font: 400 18px/1.6 var(--text); text-wrap: pretty; }
.pick { margin: 44px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pick + .pick { margin-top: 32px; }
.pick legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font: 600 17px/1.3 var(--text); }
.pick legend span { font-weight: 400; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 400 16px/1.2 var(--text); cursor: pointer; transition: background .15s; }
.chip--modo span { height: 48px; padding: 0 22px; font-weight: 600; }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.entrada-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.entrada-cta .btn-ink:hover { opacity: 1; }
.mono-note { margin: 0; font: 400 11px/1.5 var(--mono); letter-spacing: .02em; }

/* ─── Aviso de privacidad ─── */
.legal .row-main p { margin: 20px 0 0; max-width: 680px; font: 400 18px/1.6 var(--text); text-wrap: pretty; }
.legal .row-main p:first-of-type { margin-top: 28px; }

/* ─── Pie ─── */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 104px) 0 48px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 48px 32px; justify-content: space-between; }
.foot-id { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.foot-id p { margin: 0; }
.foot-name { font: 600 20px/1.2 var(--text); }
.foot-tag { font: 300 24px/1.2 var(--display); }
.foot-nav { flex: 1 1 200px; display: flex; flex-direction: column; gap: 12px; font: 400 17px/1.2 var(--text); }
.foot-nav a { text-decoration: none; }
.foot-contact { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; font: 400 17px/1.2 var(--text); }
.foot-contact .item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--paper); }
.foot-contact svg { width: 18px; height: 18px; fill: currentColor; }

/* ─── Movimiento ─── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .hero-photo img, .band img { will-change: auto; }
}
