:root {
  --ink: #0d0e0d;
  --ink-2: #171510;
  --paper: #eee9e1;
  --muted: #989187;
  --line: rgba(235, 224, 208, 0.16);
  --copper: #b9683b;
  --copper-light: #e1a16f;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: min(calc(100% - 8vw), var(--max));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 14px; font-size: .9rem; font-weight: 750; letter-spacing: .18em; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-name { line-height: 1; }
.brand-subtitle { display: none; color: #aaa39a; font-size: .5rem; font-weight: 550; letter-spacing: .13em; line-height: 1.1; text-transform: uppercase; }
.brand-mark { width: 30px; height: 30px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; transform-origin: center; }
.brand-mark i:nth-child(1) { transform: rotate(0deg) scaleX(1.7); }
.brand-mark i:nth-child(2) { transform: rotate(60deg) scaleX(1.7); }
.brand-mark i:nth-child(3) { transform: rotate(120deg) scaleX(1.7); border-color: var(--copper-light); }
nav { display: flex; align-items: center; gap: 34px; font-size: .82rem; color: #d0c9c0; }
nav a { white-space: nowrap; }
nav a:hover, nav a:focus-visible { color: #fff; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: #fff; }
.nav-cta span { color: var(--copper-light); margin-left: 6px; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: 2vw;
  padding: 126px max(4vw, calc((100vw - var(--max))/2)) 70px;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 42%, rgba(176,91,48,.16), transparent 30%),
    linear-gradient(115deg, #08131a 0%, #102632 52%, #0b1115 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.15), transparent 42%, rgba(0,0,0,.78));
  opacity: .3;
}
.hero-copy { position: relative; z-index: 3; max-width: 760px; min-width: 0; }
.eyebrow, .section-index { font-size: .72rem; letter-spacing: .18em; font-weight: 700; color: #aaa39a; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; }
.eyebrow span { width: 7px; height: 7px; background: var(--copper); border-radius: 50%; box-shadow: 0 0 18px var(--copper); }
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.15rem, 6vw, 7rem);
  line-height: .91;
  letter-spacing: -.067em;
  font-weight: 690;
}
h1 em { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--copper-light); letter-spacing: -.055em; }
.hero-lede { max-width: 610px; margin: 34px 0 0; color: #aaa39a; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 24px; border-radius: 999px; font-size: .87rem; font-weight: 650; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--paper); color: var(--ink); }
.button-primary span { color: var(--copper); }
.button-quiet { border: 1px solid var(--line); color: #c8c0b6; }
.button-quiet:hover { background: rgba(255,255,255,.06); color: #fff; }

.hero-visual { min-height: 660px; min-width: 0; position: relative; display: grid; place-items: center; perspective: 1200px; }
.visual-aura { position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(188,102,57,.22), rgba(102,57,36,.08) 42%, transparent 70%); filter: blur(10px); }
.core-placeholder { position: relative; width: min(42vw, 580px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(8deg); animation: coreFloat 7s ease-in-out infinite; }
.core-asset { position: absolute; width: 112%; height: 112%; left: -6%; top: -6%; object-fit: contain; filter: drop-shadow(0 36px 35px rgba(0,0,0,.5)) drop-shadow(0 0 32px rgba(177,93,51,.2)); }
.core-shadow { position: absolute; left: 19%; right: 19%; bottom: 6%; height: 9%; border-radius: 50%; background: rgba(135,68,39,.48); filter: blur(28px); transform: rotateX(76deg) translateZ(-60px); }
.visual-caption { position: absolute; right: 0; bottom: 11%; display: flex; align-items: flex-start; gap: 13px; color: #b8afa4; font-size: .78rem; line-height: 1.4; }
.visual-caption span { color: var(--copper-light); font-variant-numeric: tabular-nums; }
.visual-caption p { margin: 0; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #717e8b; font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.scroll-cue i { display: block; width: 1px; height: 30px; background: linear-gradient(var(--copper-light), transparent); }

.ecosystem-intro { min-height: 82vh; background: #ece8e1; color: #171513; padding: 120px max(5vw, calc((100vw - var(--max))/2)); display: flex; flex-direction: column; justify-content: space-between; }
.ecosystem-intro .section-index { color: #6b635b; }
.ecosystem-intro h2 { max-width: 1150px; margin: 80px 0 0; font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.intro-bottom { margin-top: 84px; padding-top: 28px; border-top: 1px solid #cbc3b9; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.intro-bottom p { margin: 0; max-width: 560px; color: #554e47; font-size: 1.05rem; line-height: 1.55; }
.intro-bottom span { font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: #6b635b; }

.companies { padding: 120px max(4vw, calc((100vw - var(--max))/2)) 145px; background: #f2eee7; color: #171513; }
.companies .section-index { color: #6b635b; }
.section-head { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid #cbc3b9; }
.section-note { margin: 0; color: #6b635b; font-size: .78rem; line-height: 1.45; text-align: right; }
.companies > h2 { margin: 0 0 65px; max-width: 980px; font-size: clamp(2.8rem, 5vw, 5.7rem); line-height: .95; letter-spacing: -.06em; }
.companies > h2 em, .thesis h2 em, .method h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--copper-light); }
.company-grid { display: grid; grid-template-columns: 1.06fr .94fr; grid-template-rows: repeat(2, minmax(295px, 1fr)); gap: 22px; perspective: 1400px; }
.company-card { display: block; min-height: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; padding: 26px; transform-style: preserve-3d; transition: transform .2s ease, border-color .3s ease; }
.company-live:focus-visible { outline: 2px solid #62bfe3; outline-offset: 5px; }
.company-card:hover { border-color: rgba(204,134,86,.58); }
.company-ofm, .company-nodo { transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .45s ease; }
.company-ofm:hover, .company-ofm:focus-within, .company-nodo:hover, .company-nodo:focus-within { transform: translateY(-16px) !important; border-color: rgba(204,134,86,.58); box-shadow: 0 26px 55px rgba(0,0,0,.28); }
.company-live { grid-row: 1 / span 2; min-height: 640px; background: radial-gradient(circle at 70% 35%, rgba(175,91,47,.16), transparent 35%), linear-gradient(145deg, #211811, #0e0e0d 65%); }
.company-ofm { background: linear-gradient(145deg, #171614, #0c0d0c); }
.company-nodo { background: radial-gradient(circle at 82% 16%, rgba(173,94,52,.1), transparent 34%), linear-gradient(145deg, #181512, #0c0d0c); }
.card-top { display: flex; justify-content: space-between; color: #938a80; font-size: .68rem; letter-spacing: .14em; }
.status { color: #c8ad97; display: flex; align-items: center; gap: 8px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #c77a49; box-shadow: 0 0 12px #c77a49; }
.status.muted { color: #746b62; }
.company-symbol { position: absolute; top: 20%; left: 8%; right: 8%; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); transform: translateZ(40px); }
.convierte-lockup { transform-style: preserve-3d; animation: convierteLogo3d 7s ease-in-out infinite; }
.convierte-lockup::before { content: ""; position: absolute; width: 82%; aspect-ratio: 2.7; border-radius: 50%; background: rgba(0,136,204,.12); filter: blur(38px); }
.convierte-lockup svg { position: relative; z-index: 1; flex: 0 0 auto; width: clamp(58px, 7vw, 94px); filter: drop-shadow(0 16px 20px rgba(0,0,0,.46)) drop-shadow(0 0 18px rgba(0,136,204,.28)); }
.convierte-lockup span { position: relative; z-index: 1; color: #fff; font-family: Fraunces, Georgia, serif; font-size: clamp(2.5rem, 5.6vw, 6.4rem); font-weight: 600; letter-spacing: .015em; line-height: 1; text-shadow: 0 18px 28px rgba(0,0,0,.42); }
.ofm-monogram { position: absolute; right: 5%; top: 20%; color: rgba(225,214,199,.045); font-size: clamp(6rem, 11vw, 10rem); font-weight: 800; letter-spacing: -.08em; line-height: .8; transform: translateZ(25px); }
.future-orbit { position: absolute; inset: 4% 3% auto auto; width: 46%; aspect-ratio: 1; transform-style: preserve-3d; opacity: .42; }
.future-orbit i { position: absolute; inset: 24%; border: 2px solid #4b4540; border-radius: 50%; }
.future-orbit i:nth-child(1) { transform: rotateX(67deg); }
.future-orbit i:nth-child(2) { transform: rotateY(67deg); }
.future-orbit i:nth-child(3) { transform: rotateX(47deg) rotateY(52deg); border-color: #754a34; }
.card-copy { position: absolute; left: 28px; right: 28px; bottom: 30px; max-width: 510px; transform: translateZ(55px); }
.company-type { margin: 0 0 15px; color: #897e73; font-size: .67rem; letter-spacing: .15em; }
.card-copy h3 { margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.055em; }
.card-copy > p:not(.company-type) { max-width: 450px; margin: 17px 0 26px; color: #a59b91; font-size: 1rem; line-height: 1.5; }
.card-copy a { display: inline-flex; gap: 28px; padding-bottom: 6px; border-bottom: 1px solid #695447; color: #e9e0d5; font-size: .82rem; }
.card-copy a span { color: var(--copper-light); }

.thesis { background: #ece8e1; color: #171513; padding: 125px max(5vw, calc((100vw - var(--max))/2)) 140px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 8vw; }
.thesis-sticky { align-self: start; position: sticky; top: 70px; }
.thesis .section-index { color: #5f6872; }
.thesis h2 { margin: 70px 0 0; max-width: 700px; font-size: clamp(3rem, 5.2vw, 6rem); line-height: .94; letter-spacing: -.065em; }
.principles { padding-top: 100px; }
.principle { padding: 42px 0 46px; border-top: 1px solid #cbc2b7; display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; }
.principle:last-child { border-bottom: 1px solid #cbc2b7; }
.principle > span { color: #8d5b42; font-size: .75rem; padding-top: 7px; }
.principle h3 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 2.35rem); letter-spacing: -.035em; }
.principle p { grid-column: 2; margin: 15px 0 0; color: #5e574f; line-height: 1.6; max-width: 550px; }

.method { padding: 140px max(4vw, calc((100vw - var(--max))/2)); background: linear-gradient(135deg, #0d0e0d, #1c1713 52%, #0c0d0c); display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; position: relative; overflow: hidden; }
.method::before { content: ""; position: absolute; width: 520px; height: 520px; left: 8%; top: 24%; border-radius: 50%; background: rgba(153,78,43,.12); filter: blur(90px); }
.method-copy { position: relative; }
.method h2 { margin: 55px 0 30px; font-size: clamp(3rem, 5vw, 5.8rem); line-height: .95; letter-spacing: -.06em; }
.method-copy > p:last-child { max-width: 500px; color: #958c82; font-size: 1.05rem; line-height: 1.6; }
.method-stack { display: grid; gap: 13px; perspective: 1300px; }
.method-card { min-height: 142px; padding: 26px 30px; display: grid; grid-template-columns: 52px 150px 1fr; align-items: center; gap: 20px; border: 1px solid rgba(222,203,184,.15); border-radius: 17px; background: rgba(29,26,22,.78); box-shadow: 0 22px 40px rgba(0,0,0,.18); transform: rotateY(-3deg); transition: transform .3s ease, background .3s ease; }
.method-card:nth-child(2) { transform: translateX(25px) rotateY(-3deg); }
.method-card:nth-child(3) { transform: translateX(50px) rotateY(-3deg); }
.method-card:nth-child(4) { transform: translateX(75px) rotateY(-3deg); }
.method-card:hover { transform: translateX(0) rotateY(0) translateZ(20px); background: #241a14; }
.method-card > span { color: var(--copper-light); font-size: .76rem; }
.method-card strong { font-size: 1.3rem; }
.method-card p { margin: 0; color: #958b80; line-height: 1.5; font-size: .9rem; }

.statement { min-height: 90vh; padding: 120px 5vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background: linear-gradient(145deg, #123440, #224c5b 54%, #0d222b); }
.statement-orbit { position: absolute; width: min(76vw, 980px); aspect-ratio: 1; transform-style: preserve-3d; opacity: .42; }
.statement-orbit i { position: absolute; inset: 25%; border: 1px solid #8f5739; border-radius: 50%; }
.statement-orbit i:first-child { transform: rotateX(68deg); }
.statement-orbit i:nth-child(2) { transform: rotateY(68deg); }
.statement-orbit b { position: absolute; inset: 42%; border-radius: 50%; background: #4a2b20; box-shadow: 0 0 100px rgba(177,91,46,.38); }
.statement .section-index, .statement h2, .statement > p:last-child { position: relative; z-index: 2; }
.statement h2 { margin: 52px 0 30px; max-width: 1100px; font-size: clamp(3rem, 6.2vw, 7rem); line-height: .91; letter-spacing: -.067em; }
.statement > p:last-child { max-width: 600px; margin: 0; color: #968c82; font-size: 1.05rem; line-height: 1.6; }

.contact { padding: 120px max(5vw, calc((100vw - var(--max))/2)) 130px; background: #8f4a2d; color: #fbf7f1; }
.contact .section-index { color: #f0d9c8; }
.contact-grid { margin-top: 70px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 9vw; align-items: end; }
.contact h2 { margin: 0; font-size: clamp(3.1rem, 6vw, 7rem); line-height: .9; letter-spacing: -.067em; }
.contact-side p { margin: 0 0 42px; max-width: 500px; color: #eedfd4; font-size: 1.05rem; line-height: 1.6; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); font-size: clamp(1rem, 1.8vw, 1.45rem); }

footer { min-height: 160px; padding: 48px max(4vw, calc((100vw - var(--max))/2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 50px; background: #071016; color: #81909a; font-size: .74rem; }
.footer-brand { color: #e8e0d6; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.site-header.is-scrolled { position: fixed; height: 68px; width: 100%; padding: 0 max(4vw, calc((100vw - var(--max))/2)); background: rgba(13,14,13,.86); backdrop-filter: blur(18px); border-color: rgba(255,255,255,.1); }

@keyframes coreFloat { 0%,100% { transform: rotateX(-12deg) rotateY(8deg) translateY(0); } 50% { transform: rotateX(-7deg) rotateY(16deg) translateY(-16px); } }
@keyframes convierteLogo3d { 0%,100% { transform: translateZ(40px) rotateX(-4deg) rotateY(-8deg); } 50% { transform: translateZ(68px) rotateX(5deg) rotateY(10deg) translateY(-8px); } }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 38px); height: 70px; }
  .brand { gap: 9px; font-size: .82rem; letter-spacing: .16em; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-subtitle { display: block; }
  nav a:not(.nav-cta) { display: inline; }
  nav a { color: #e8e0d6; font-size: .68rem; letter-spacing: .02em; }
  .hero { min-height: 100svh; grid-template-columns: 1fr; padding: 84px 20px 22px; }
  .hero-copy { padding-top: 8px; }
  .hero .eyebrow { display: none; }
  h1 { font-size: clamp(2.7rem, 11.2vw, 4rem); }
  .hero-lede { margin-top: 20px; font-size: .96rem; line-height: 1.42; }
  .hero-visual { min-height: 300px; margin-top: -30px; align-self: end; }
  .core-placeholder { width: min(72vw, 300px); }
  .visual-caption { display: flex; right: 2px; bottom: 2%; gap: 8px; font-size: .64rem; }
  .scroll-cue { display: none; }
  .section-head { flex-direction: column; }
  .section-note { text-align: left; }
  .companies { padding: 76px 20px 92px; }
  .companies > h2 { margin: 0 0 42px; font-size: clamp(2.5rem, 12vw, 4.1rem); }
  .company-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-rows: auto; }
  .company-card, .company-live { min-height: 420px; grid-row: auto; border-radius: 18px; padding: 20px; }
  .company-ofm, .company-nodo { min-height: 300px; }
  .company-ofm:hover, .company-ofm:focus-within, .company-nodo:hover, .company-nodo:focus-within { transform: translateY(-8px) !important; }
  .company-symbol { top: 18%; }
  .convierte-lockup span { font-size: clamp(2.1rem, 12vw, 4.3rem); }
  .card-copy { left: 20px; right: 20px; bottom: 22px; }
  .card-copy > p:not(.company-type) { margin: 12px 0 0; font-size: .93rem; }
  .ofm-monogram { top: 18%; font-size: clamp(5rem, 25vw, 8rem); }
  .statement { min-height: 58vh; padding: 82px 20px; }
  .statement h2 { margin: 38px 0 0; font-size: clamp(2.8rem, 13vw, 5rem); }
  .statement > p:last-child { display: none; }
  footer { grid-template-columns: 1fr; gap: 14px; padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Compatibilidad para iPhones y Android antiguos. */
@supports not (aspect-ratio: 1 / 1) {
  .core-placeholder { width: 300px; height: 300px; aspect-ratio: auto; }
  .visual-aura { width: 300px; height: 300px; }
}
@supports not (font-size: clamp(1rem, 2vw, 3rem)) {
  h1 { font-size: 2.8rem; }
  .hero-lede { font-size: 1rem; }
  .companies > h2 { font-size: 2.8rem; }
  .statement h2 { font-size: 3rem; }
}
.legacy-mobile .hero { min-height: 100vh; }
.legacy-mobile .hero-visual { min-height: 300px; }
.legacy-mobile .core-placeholder { width: 76vw; max-width: 300px; height: 76vw; max-height: 300px; aspect-ratio: auto; }
.legacy-mobile .visual-aura { width: 76vw; max-width: 300px; height: 76vw; max-height: 300px; aspect-ratio: auto; }
.legacy-mobile .core-asset { width: 112%; height: 112%; }
.legacy-mobile .visual-caption { display: flex; }
