/* Bespokem · Bio-Tailored Chemistry — bespokem.mx
   Paleta oficial del manual de marca; petróleo y verde como protagonistas de la división Bio. */
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1C1C1C;
  --paper: #F4F3F3;
  --white: #FFFFFF;
  --petrol: #005562;
  --petrol-deep: #00363F;
  --neon: #10E87A;
  --mint: #A0D0AB;
  --leaf: #2F8F57;
  --purple: #7457C1;
  --purple-deep: #3C2A55;
  --lilac: #A88FCB;
  --muted: #5B6466;
  --line: rgba(28, 28, 28, .12);
  --radius: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Urbanist", system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--neon); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--paper); display: block; }
.eyebrow--light::before { display: inline-block; vertical-align: middle; margin: -3px 10px 0 0; }
.eyebrow--neon { color: var(--neon); }
.eyebrow--lilac { color: var(--lilac); }
.strike { position: relative; }
.strike::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 3px; background: var(--neon); transform: rotate(-8deg); border-radius: 2px; }

/* Botones */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 600 17px/1 "Urbanist", sans-serif; text-decoration: none; background: var(--bg); color: var(--fg); border: 2px solid var(--bg); cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.btn--neon { --bg: var(--neon); --fg: var(--ink); }
.btn--neon:hover { --bg: #3BF197; }
.btn--purple { --bg: var(--purple); --fg: var(--white); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--small { padding: 11px 18px; font-size: 15px; }

/* Cabecera */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, color .4s; color: var(--paper); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.top.is-solid { background: rgba(244, 243, 243, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.brand { display: block; line-height: 0; }
.logo { width: 196px; height: auto; fill: currentColor; }
.logo .logo__iso { fill: var(--neon); }
.top.is-solid .logo .logo__iso { fill: var(--petrol); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 999px; transition: background .25s; }
.nav__list a:hover { background: rgba(127, 127, 127, .14); }
.top:not(.is-solid) .btn--ink { --bg: var(--paper); --fg: var(--ink); }
.tech-link { display: inline-flex !important; align-items: center; gap: 8px; border: 1.5px solid currentColor; margin-left: 6px; }
.tech-link__dot { width: 9px; height: 9px; border-radius: 3px; background: var(--purple); box-shadow: 7px 7px 0 -1px var(--lilac); margin-right: 6px; transform: translateY(-3px); }
.burger { display: none; }

/* Hero */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--petrol-deep); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 112%; object-fit: cover; object-position: 70% 50%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 38, 44, .92) 0%, rgba(0, 54, 63, .7) 38%, rgba(0, 54, 63, .08) 72%), linear-gradient(0deg, rgba(0, 30, 35, .65), transparent 40%); }
.hero__content { padding: 140px 0 clamp(150px, 18vh, 200px); }
.hero__title { font-size: clamp(50px, 8.6vw, 128px); font-weight: 700; letter-spacing: -.035em; line-height: .94; max-width: 15ch; }
.hero__title .line { display: block; }
.mark { position: relative; display: inline-block; color: var(--neon); }
.scribble { position: absolute; pointer-events: none; overflow: visible; }
.scribble path { fill: none; stroke: var(--neon); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.scribble--under { left: -2%; right: -4%; bottom: -.16em; width: 106%; height: .24em; }
.scribble--circle { left: -8%; top: -24%; width: 116%; height: 150%; }
.scribble--circle path { stroke-width: 3; }
.hero__lead { max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); margin-top: 30px; color: rgba(244, 243, 243, .88); }
.hero__lead strong { color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__badge { position: absolute; right: clamp(20px, 6vw, 90px); bottom: clamp(120px, 20vh, 190px); width: clamp(120px, 13vw, 176px); color: var(--paper); }
.hero__badge svg { width: 100%; animation: spin 26s linear infinite; overflow: visible; }
.hero__badge text { font-size: 15.4px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.hero__badge-iso { fill: var(--neon); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Onda de barras (motivo del brochure) */
.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; display: flex; align-items: flex-end; justify-content: space-between; gap: 3px; padding: 0 2px; opacity: .9; pointer-events: none; }
.wave span { flex: 1; max-width: 4px; height: 100%; border-radius: 3px 3px 0 0; background: var(--neon); transform-origin: bottom; transform: scaleY(var(--h, .3)); }
.wave span:nth-child(3n) { background: var(--lilac); }
.wave span:nth-child(5n) { background: var(--mint); }
.wave--top { top: 0; bottom: auto; align-items: flex-start; height: 80px; opacity: .55; }
.wave--top span { transform-origin: top; border-radius: 0 0 3px 3px; }

/* Marquesina */
.marquee { background: var(--neon); color: var(--ink); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(0, 0, 0, .08); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(18px, 2vw, 24px); font-weight: 700; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 10px; height: 10px; background: var(--petrol); transform: rotate(45deg); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifiesto */
.manifesto { padding-block: var(--section); }
.manifesto__text { font-size: clamp(28px, 3.6vw, 50px); font-weight: 600; line-height: 1.16; letter-spacing: -.02em; max-width: 24ch; }
.manifesto__text em { font-style: normal; color: var(--purple); }
.hl { background: linear-gradient(transparent 62%, rgba(16, 232, 122, .55) 62%); padding: 0 .08em; }
.manifesto__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 90px); }
.stat { border-top: 2px solid var(--ink); padding-top: 22px; }
.stat__k { display: block; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; color: var(--petrol); margin-bottom: 10px; letter-spacing: -.02em; }
.stat p { color: var(--muted); }

/* Química */
.chem { background: var(--petrol); color: var(--paper); padding-block: var(--section); position: relative; overflow: hidden; }
.chem::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(160, 208, 171, .18) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.section-head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); position: relative; }
.section-head__lead { font-size: clamp(18px, 1.5vw, 21px); margin-top: 24px; max-width: 680px; opacity: .88; }
.circled { position: relative; display: inline-block; }
.equation { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; align-items: stretch; gap: 18px; }
.molecule { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; backdrop-filter: blur(4px); }
.molecule--product { background: var(--paper); color: var(--ink); border-color: transparent; }
.molecule h3 { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.molecule__tag { font-size: 14px; margin-top: 8px; opacity: .75; }
.skeletal { width: 100%; height: auto; max-height: 130px; overflow: visible; }
.skeletal polyline, .skeletal line, .skeletal path { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.skeletal text { font: 600 18px "Urbanist", sans-serif; fill: var(--paper); }
.skeletal .atom { text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 10px; stroke-linejoin: round; }
.molecule--product .skeletal polyline, .molecule--product .skeletal line, .molecule--product .skeletal path { stroke: var(--petrol); }
.molecule--product .skeletal text { fill: var(--ink); }
.molecule--product .skeletal .atom { stroke: var(--paper); fill: var(--ink); }
.skeletal .sub { font-size: 15px; font-style: italic; }
.skeletal .bracket { stroke: var(--purple); stroke-width: 2.5; }
.op { align-self: center; font-size: 46px; font-weight: 300; color: var(--neon); text-align: center; }
.op--arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.op--arrow small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); line-height: 1.3; font-weight: 600; }
.pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pill--green { background: var(--neon); color: var(--ink); }

/* Ciclo */
.cycle { padding-block: var(--section); background: var(--paper); }
.cycle__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.cycle__copy > p:not(.eyebrow) { font-size: 19px; margin-top: 22px; color: var(--muted); max-width: 520px; }
.cycle__steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; gap: 2px; }
.cycle__steps li { counter-increment: step; position: relative; padding: 13px 0 13px 44px; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--muted); transition: color .4s; }
.cycle__steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-weight: 700; color: var(--petrol); font-size: 14px; }
.cycle__steps b { color: var(--ink); }
.cycle__steps li.is-active { color: var(--ink); }
.cycle__steps li.is-active::before { color: var(--leaf); }
.cycle__fig { position: relative; margin: 0; }
.cycle__svg { width: 100%; height: auto; overflow: visible; }
.cycle__track { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.cycle__progress { fill: none; stroke: var(--neon); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--p, 100); transform: rotate(-90deg); transform-origin: 240px 240px; transition: stroke-dashoffset .2s linear; }
.node circle { fill: var(--white); stroke: var(--petrol); stroke-width: 2; transition: fill .4s, stroke .4s; }
.node text { text-anchor: middle; font: 700 13px "Urbanist", sans-serif; fill: var(--petrol); }
.node.is-active circle { fill: var(--petrol); }
.node.is-active text { fill: var(--paper); }
.cycle__dot { fill: var(--neon); stroke: var(--white); stroke-width: 3; }
.cycle__iso { fill: var(--petrol); opacity: .9; }
.cycle__photo { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 54, 63, .6); border: 6px solid var(--paper); }
.cycle__photo img { width: 100%; height: 100%; object-fit: cover; }
.cycle__photo--a { width: 37%; aspect-ratio: 1; left: 31.5%; top: 31.5%; }


/* Escala */
.scale { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ink); color: var(--paper); min-height: 640px; }
.scale__media { position: relative; overflow: hidden; }
.scale__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.scale.is-in .scale__media img { transform: scale(1); }
.scale__copy { padding: clamp(56px, 7vw, 110px) clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.scale__number { font-size: clamp(84px, 11vw, 168px); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--neon); display: flex; align-items: baseline; gap: 14px; }
.scale__number small { font-size: 22px; letter-spacing: .02em; color: var(--paper); font-weight: 600; }
.scale__copy h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 26px 0 18px; }
.scale__copy > p:not(.scale__number):not(.eyebrow) { color: rgba(244, 243, 243, .78); max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--neon) url("/assets/check.svg") center / 13px no-repeat; }

/* Grados */
.grades { padding-block: var(--section); background: linear-gradient(180deg, var(--paper), #E9F2EC); }
.grades .section-head__lead { color: var(--muted); opacity: 1; }
.grades__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grade { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(0, 54, 63, .35); transition: transform .5s var(--ease), box-shadow .5s; }
.grade:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -36px rgba(0, 54, 63, .45); }
.grade__img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.grade__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.grade:hover .grade__img img { transform: scale(1.05); }
.grade__body { padding: 26px 26px 30px; }
.grade__n { font-size: 13px; font-weight: 700; color: var(--leaf); letter-spacing: .1em; }
.grade__body h3 { font-size: 26px; margin: 8px 0 10px; }
.grade__body p { color: var(--muted); font-size: 16.5px; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 2px solid var(--ink); }
.process__item { display: flex; gap: 18px; align-items: flex-start; padding: 26px 22px 0 0; }
.process__item + .process__item { padding-left: 22px; border-left: 1px solid var(--line); }
.process__item p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.ico { display: inline-block; width: 30px; height: 30px; flex: none; background: currentColor; mask: var(--i) center / contain no-repeat; -webkit-mask: var(--i) center / contain no-repeat; }
.process__ico { width: 46px; height: 46px; color: var(--petrol); }
.ico--canister { --i: url("/assets/icons/018-canister.svg"); }
.ico--bottles { --i: url("/assets/icons/010-plastic-1.svg"); }
.ico--bag { --i: url("/assets/icons/007-packaging-1.svg"); }
.ico--cutlery { --i: url("/assets/icons/008-cutlery.svg"); }
.ico--cup { --i: url("/assets/icons/001-plastic-glass.svg"); }
.ico--flex { --i: url("/assets/icons/004-packaging.svg"); }
.ico--straw { --i: url("/assets/icons/006-straw.svg"); }
.ico--drink { --i: url("/assets/icons/009-drink-1.svg"); }
.ico--fabric { --i: url("/assets/icons/020-fabric.svg"); }

/* Aplicaciones */
.apps { padding-block: var(--section); }
.apps__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.apps__photo { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.apps__photo figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: var(--ink); background: rgba(244, 243, 243, .85); padding: 4px 10px; border-radius: 999px; }
.apps__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apps__list li { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 16px; padding: 16px 18px; font-weight: 600; font-size: 16.5px; transition: background .3s, color .3s, transform .3s var(--ease); }
.apps__list li:hover { background: var(--petrol); color: var(--paper); transform: translateY(-2px); }
.apps__list .ico { color: var(--petrol); }
.apps__list li:hover .ico { color: var(--neon); }

/* Fabricantes */
.makers { background: var(--petrol-deep); color: var(--paper); padding-block: var(--section); position: relative; overflow: hidden; }
.makers::after { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 232, 122, .22), transparent 65%); pointer-events: none; }
.makers__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.makers__head > p { color: rgba(244, 243, 243, .8); font-size: 19px; }
.makers__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.makers__photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 360px; }
.makers__photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 24px; transition: background .4s, border-color .4s; }
.steps li:hover { background: rgba(16, 232, 122, .1); border-color: rgba(16, 232, 122, .5); }
.steps span { font-size: 14px; font-weight: 700; color: var(--neon); }
.steps h3 { margin: 12px 0 8px; font-size: 21px; }
.steps p { font-size: 16px; color: rgba(244, 243, 243, .74); }
.benefits { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefits li { border-top: 2px solid var(--neon); padding-top: 20px; display: grid; gap: 8px; }
.benefits b { font-size: 21px; }
.benefits span { color: rgba(244, 243, 243, .74); font-size: 16.5px; }

/* Ciudad */
.city { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.city__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2; will-change: transform; }
.city__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 30, 35, .85), rgba(0, 30, 35, .1) 65%); }
.city__copy { padding-block: 120px 80px; }
.city h2 { font-size: clamp(34px, 5.2vw, 72px); max-width: 18ch; }
.city p { max-width: 560px; margin-top: 22px; font-size: 19px; color: rgba(255, 255, 255, .86); }

/* Horizonte */
.horizon { padding-block: var(--section); background: var(--paper); }
.horizon__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.horizon__grid > div > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 19px; max-width: 520px; }
.routes { display: grid; gap: 18px; }
.route { border-radius: var(--radius); padding: 30px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.route::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid var(--mint); opacity: .45; }
.route--bio::after { border-color: var(--lilac); }
.route__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); background: rgba(0, 85, 98, .08); padding: 6px 12px; border-radius: 999px; }
.route--bio .route__tag { color: var(--purple); background: rgba(116, 87, 193, .1); }
.route h3 { font-size: 24px; margin: 16px 0 10px; max-width: 22ch; }
.route p { color: var(--muted); max-width: 46ch; }
.invest { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background-image: radial-gradient(circle at 100% 0%, rgba(16, 232, 122, .25), transparent 45%); }
.invest h3 { font-size: clamp(24px, 2.4vw, 32px); }
.invest p { color: rgba(244, 243, 243, .78); margin-top: 8px; max-width: 60ch; }

/* División Bespotech */
.division { background: var(--purple-deep); color: var(--paper); padding-block: clamp(70px, 8vw, 110px); }
.division__inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.division__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1; }
.division__mosaic span:nth-child(1) { background: var(--purple); }
.division__mosaic span:nth-child(2) { background: transparent; }
.division__mosaic span:nth-child(3) { background: var(--neon); }
.division__mosaic span:nth-child(4) { background: var(--lilac); }
.division__mosaic span { transition: transform .6s var(--ease); }
.division:hover .division__mosaic span:nth-child(1) { transform: translate(8px, 8px); }
.division:hover .division__mosaic span:nth-child(4) { transform: translate(-8px, -8px); }
.division h2 { font-size: clamp(30px, 3.6vw, 48px); }
.division__word { letter-spacing: .04em; font-weight: 700; color: var(--lilac); }
.division p:not(.eyebrow) { margin: 18px 0 28px; max-width: 56ch; color: rgba(244, 243, 243, .8); }

/* Contacto */
.contact { position: relative; background: var(--petrol); color: var(--paper); padding-block: calc(var(--section) + 30px) var(--section); overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(34px, 4.4vw, 58px); }
.contact__grid > div > p:not(.eyebrow) { margin-top: 20px; color: rgba(244, 243, 243, .82); font-size: 19px; }
.contact__mail { font-size: clamp(22px, 2.4vw, 30px) !important; font-weight: 600; margin-top: 30px !important; }
.contact__mail a { text-decoration-color: var(--neon); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.contact__form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 14px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; transition: background .25s, border-color .25s, color .25s; background: var(--white); }
.chips input:checked + span { background: var(--petrol); color: var(--paper); border-color: var(--petrol); }
.chips input:focus-visible + span { outline: 3px solid var(--neon); outline-offset: 2px; }
.field { display: grid; gap: 8px; margin-top: 24px; font-weight: 700; font-size: 17px; }
.field small { font-weight: 400; color: var(--muted); }
textarea { font: 400 16.5px/1.5 "Urbanist", sans-serif; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); resize: vertical; color: var(--ink); }
textarea:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 4px rgba(0, 85, 98, .15); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact__form .btn--ghost { color: var(--petrol); }
.contact__note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Pie */
.foot { background: var(--ink); color: var(--paper); padding: 64px 0 40px; }
.foot__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 40px; align-items: start; }
.foot .logo { width: 240px; }
.foot__brand p { margin-top: 16px; color: rgba(244, 243, 243, .6); font-size: 15px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot__nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; }
.foot__nav a:hover { opacity: 1; color: var(--neon); }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: 13px; color: rgba(244, 243, 243, .5); }

/* Revelado al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .5s; }
.js .is-drawn .scribble path, .js .is-drawn.scribble path { stroke-dashoffset: 0; }
.js .hero__title .line { opacity: 0; transform: translateY(40px); animation: rise 1s var(--ease) forwards; }
.js .hero__title .line:nth-child(2) { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Responsivo */
@media (max-width: 1080px) {
  .nav__list { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; background: var(--paper); color: var(--ink); padding: 14px var(--pad) 26px; gap: 2px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  .nav__list a { padding: 14px 10px; font-size: 18px; }
  .tech-link { margin: 10px 0 0 !important; justify-content: center; }
  .nav.is-open .nav__list { transform: none; opacity: 1; visibility: visible; }
  .js .burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
  .burger__bar, .burger__bar::before, .burger__bar::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s; }
  .burger__bar::before, .burger__bar::after { content: ""; position: absolute; left: 0; }
  .burger__bar::before { top: -6px; } .burger__bar::after { top: 6px; }
  .nav.is-open .burger__bar { background: transparent; }
  .nav.is-open .burger__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .burger__bar::after { transform: translateY(-6px) rotate(-45deg); }
  html:not(.js) .nav__list { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; background: none; color: inherit; box-shadow: none; padding: 0; }
  .equation { grid-template-columns: 1fr auto 1fr; }
  .op--arrow { grid-column: 1 / -1; flex-direction: row; gap: 14px; justify-self: center; }
  .op--arrow span { transform: rotate(90deg); }
  .molecule--product { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
  .cycle__grid, .apps__grid, .horizon__grid, .contact__grid, .makers__head, .makers__grid { grid-template-columns: 1fr; }
  .cycle__fig { max-width: 560px; margin-inline: auto; width: 100%; }
  .scale { grid-template-columns: 1fr; }
  .scale__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .node text { font-size: 17px; }
  .node circle { r: 44px; }
  body { font-size: 17px; }
  .top__inner { height: 68px; }
  .logo { width: 150px; }
  .nav .btn--small { display: none; }
  .hero__content { padding: 120px 0 170px; }
  .hero__shade { background: linear-gradient(0deg, rgba(0, 30, 35, .95) 0%, rgba(0, 45, 52, .78) 55%, rgba(0, 54, 63, .35) 100%); }
  .hero__badge { display: none; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .wave { height: 70px; }
  .manifesto__grid, .grades__grid, .process, .benefits { grid-template-columns: 1fr; }
  .process__item + .process__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
  .equation { grid-template-columns: 1fr; }
  .op { line-height: 1; }
  .op--arrow { grid-column: auto; }
  .steps, .apps__list { grid-template-columns: 1fr; }
  .invest { flex-direction: column; align-items: flex-start; }
  .division__inner { grid-template-columns: 1fr; }
  .division__mosaic { width: 140px; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero__title .line { opacity: 1; transform: none; }
  .js .scribble path { stroke-dashoffset: 0; }
  .cycle__dot { display: none; }
}

/* 404 */
.notfound { background: var(--petrol); color: var(--paper); }
.nf { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding-block: 60px; }
.nf__logo { width: 220px; margin-bottom: 30px; }
.nf h1 { font-size: clamp(40px, 6vw, 80px); max-width: 14ch; }
.nf p:not(.eyebrow) { font-size: 19px; opacity: .85; }
