/* ============================================================
   011 — Founder Setup · dirección Aitch
   Fondo negro, acento naranja 011, matriz 0/1 y diagonales cálidas.
   ============================================================ */

:root {
  --bg: #050608;
  --bg-soft: #0c0d10;
  --card: #101116;
  --card-hover: #15161c;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f5f4f1;
  --muted: #b1b1b9;
  --muted-2: #7d7d87;
  --brand: #ff4a00;
  --brand-hover: #ff6a2b;
  --brand-soft: rgba(255, 74, 0, .14);
  --cool: #8fb7ff;
  --cool-soft: rgba(143, 183, 255, .13);
  --pill-bg: #f5f4f1;
  --pill-ink: #17171a;
  --display: "Sora", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 110px; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow { max-width: 880px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 { font-size: 86px; }
h2 { font-size: 54px; }
h3 { font-size: 21px; line-height: 1.3; }

p { text-wrap: pretty; }

a { color: inherit; }

::selection { background: var(--brand); color: #fff; }

.accent { color: var(--brand); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(.98); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }

.btn-cookie-choice {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-cookie-choice:hover {
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.btn-nav { padding: 12px 20px; font-size: 15px; border-radius: 6px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-small { padding: 11px 16px; font-size: 13px; border-radius: 6px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-bar {
  --nav-glow-x: 18%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 1240px;
  background: linear-gradient(110deg, rgba(13, 13, 15, .96), rgba(31, 18, 13, .92));
  color: #fff;
  border: 1px solid rgba(255, 120, 65, .28);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 7px 7px 22px;
  box-shadow: 0 18px 46px -16px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav-bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--nav-glow-x) 50%, rgba(255, 74, 0, .22), transparent 68%);
  transition: background-position .18s ease;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  color: var(--pill-ink);
}

.nav-bar .brand { color: #fff; }

.brand-mark {
  width: 92px;
  height: auto;
  display: block;
}

.brand-picture {
  display: block;
  line-height: 0;
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-left: 3px;
}

.brand-lockup {
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  outline: none;
  line-height: 0;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
}

.brand-separator {
  color: rgba(255, 255, 255, .34);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transform-origin: center;
  transition: color .22s ease, transform .22s ease;
}

.brand-descriptor {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.brand-descriptor span {
  transition: color .2s ease, transform .2s ease;
}

.brand-lockup:hover .brand-separator,
.brand-lockup:focus-visible .brand-separator,
.brand-lockup:active .brand-separator {
  color: var(--brand);
  transform: scaleY(1.35);
}

.brand-lockup:hover .brand-descriptor span,
.brand-lockup:focus-visible .brand-descriptor span,
.brand-lockup:active .brand-descriptor span {
  color: var(--brand);
  transform: translateY(-1px);
}

.brand-lockup:hover .brand-descriptor span:nth-child(2) { transition-delay: .04s; }
.brand-lockup:hover .brand-descriptor span:nth-child(3) { transition-delay: .08s; }

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, .7);
  transition: color .15s ease;
}

.site-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform .25s ease;
}

.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none;
  width: 100%;
  max-width: 1060px;
  margin-top: 10px;
  background: rgba(15, 14, 16, .97);
  color: #fff;
  border: 1px solid rgba(255, 120, 65, .24);
  border-radius: 22px;
  padding: 18px 24px;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .55);
}

.nav-open .mobile-nav { display: flex; }

.mobile-nav a:not(.btn) {
  padding: 13px 0;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile-nav .btn { margin-top: 14px; }

/* ---------- Hero a pantalla completa ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  touch-action: pan-y;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 94%, rgba(255, 74, 0, .36), transparent 34%),
    radial-gradient(circle at 50% 112%, rgba(255, 74, 0, .72), rgba(255, 74, 0, .22) 19%, transparent 43%),
    linear-gradient(180deg, #050608 0%, #070709 46%, #0a0502 100%);
}

/* Fondo fundido: binario sutil + luz naranja inferior */

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  display: none;
}

.b1 {
  width: 78vw;
  height: 78vw;
  left: -24vw;
  bottom: -30vw;
  opacity: .28;
  background: radial-gradient(circle at 35% 35%, #ff6a1f 0%, #c33d05 38%, rgba(90, 22, 2, 0) 72%);
  animation: drift1 26s ease-in-out infinite alternate;
}

.b2 {
  width: 60vw;
  height: 60vw;
  right: -18vw;
  top: -22vw;
  opacity: .18;
  background: radial-gradient(circle at 60% 40%, var(--cool) 0%, #1c407c 45%, rgba(60, 14, 0, 0) 75%);
  animation: drift2 32s ease-in-out infinite alternate;
}

.b3 {
  width: 46vw;
  height: 46vw;
  left: 28vw;
  top: 18vh;
  opacity: .2;
  background: radial-gradient(circle at 50% 50%, rgba(255, 122, 43, .8) 0%, rgba(160, 48, 4, .55) 45%, rgba(40, 8, 0, 0) 75%);
  animation: drift3 22s ease-in-out infinite alternate;
}

.streak {
  position: absolute;
  left: 50%;
  bottom: -28%;
  width: min(860px, 94vw);
  height: min(860px, 94vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 74, 0, .7) 0%, rgba(255, 74, 0, .34) 25%, rgba(255, 74, 0, .08) 52%, transparent 70%);
  filter: blur(18px);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9vw, -7vh) scale(1.12); }
}

@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.08) rotate(0deg); }
  to { transform: translate(-8vw, 9vh) scale(.95) rotate(8deg); }
}

@keyframes drift3 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-10vw, -8vh) scale(1.22); }
}

@keyframes pulseGlow {
  from { opacity: .8; transform: translateX(-50%) scale(.98); }
  to { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

#glyph-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Contenido: hero centrado, orbita inferior */

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 26px;
  padding-bottom: 0;
  padding-top: 142px;
  text-align: center;
}

.hero-text { max-width: 790px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .76);
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}

.badge-arrow { color: var(--brand); font-size: 16px; }

.hero h1 {
  font-size: clamp(58px, 7.1vw, 106px);
  line-height: .92;
  text-shadow: 0 2px 46px rgba(0, 0, 0, .5);
}

.hero h1 span { display: block; }

.hero-sub {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255, 255, 255, .72);
  text-shadow: 0 1px 24px rgba(0, 0, 0, .4);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-orbit {
  position: relative;
  width: min(760px, 100%);
  height: 390px;
  margin-top: 8px;
  overflow: hidden;
}

.orbit-core,
.orbit-ring,
.agent-node,
.orbit-glow {
  position: absolute;
  left: 50%;
  bottom: -92px;
  transform: translateX(-50%);
}

.orbit-glow {
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 0, .96), rgba(255, 74, 0, .28) 38%, transparent 68%);
  filter: blur(10px);
  z-index: 0;
}

.orbit-core {
  bottom: 46px;
  z-index: 3;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 2px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .16), transparent 38%),
    linear-gradient(180deg, #ff6a2b, #ff4a00 58%, #8f2300);
  box-shadow: 0 0 76px rgba(255, 74, 0, .62);
}

.core-mark {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.core-label {
  font-family: var(--display);
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

.orbit-ring {
  z-index: 1;
  border: 1px solid rgba(255, 104, 35, .36);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(255, 74, 0, .12);
}

.ring-one {
  width: 490px;
  height: 490px;
  bottom: -92px;
}

.ring-two {
  width: 610px;
  height: 610px;
  bottom: -152px;
  border-color: rgba(255, 104, 35, .24);
}

.agent-node {
  z-index: 2;
  width: 112px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(12, 10, 9, .84);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
}

.agent-node span {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .86);
}

.node-memory { transform: translateX(-50%) translate(-250px, -78px); }
.node-docs { transform: translateX(-50%) translate(-154px, -210px); }
.node-tasks { transform: translateX(-50%) translate(0, -252px); }
.node-chat { transform: translateX(-50%) translate(168px, -198px); }
.node-rules { transform: translateX(-50%) translate(255px, -68px); }

.btn-hero-ghost {
  background: rgba(10, 5, 2, .55);
  color: var(--text);
  border-color: rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover { border-color: #fff; transform: translateY(-1px); }

/* ---------- Dirección Aitch para el hero ---------- */

.hero {
  justify-content: flex-end;
  background:
    radial-gradient(920px 760px at 18% 54%, rgba(255, 111, 0, .34), rgba(110, 35, 12, .22) 34%, transparent 68%),
    radial-gradient(620px 560px at 88% 64%, rgba(255, 74, 0, .16), transparent 62%),
    linear-gradient(90deg, #1a0703 0%, #0c0605 34%, #050507 68%, #050608 100%);
}

.hero-bg::before {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image:
    linear-gradient(to bottom, rgba(0,0,0,.96), rgba(0,0,0,.78)),
    linear-gradient(to right, rgba(0,0,0,.68), rgba(0,0,0,.95) 58%, rgba(0,0,0,.62));
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: -24% -18%;
  background:
    linear-gradient(128deg, transparent 0 17%, rgba(255, 219, 83, .86) 20%, rgba(255, 111, 0, .7) 23%, rgba(125, 26, 8, .34) 31%, transparent 42%),
    linear-gradient(128deg, transparent 0 34%, rgba(255, 203, 58, .58) 37%, rgba(255, 96, 0, .44) 42%, rgba(105, 21, 7, .22) 50%, transparent 62%);
  filter: blur(10px);
  opacity: .8;
  mix-blend-mode: screen;
}

.streak {
  left: -12%;
  top: -28%;
  bottom: auto;
  width: 66%;
  height: 150%;
  border-radius: 44%;
  background: radial-gradient(closest-side, rgba(255, 145, 0, .55), rgba(255, 74, 0, .16) 62%, transparent 100%);
  transform: rotate(39deg);
  animation: pulseGlow 9s ease-in-out infinite alternate;
}

.hero-content {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  align-content: center;
  min-height: calc(100svh - 54px);
  gap: 30px;
  padding-top: 116px;
  padding-bottom: 56px;
  text-align: center;
}

.hero-text {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
  isolation: isolate;
}

.hero-text::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(780px, 94vw);
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 74, 0, .2), rgba(255, 74, 0, .07) 42%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.badge {
  padding: 9px 16px;
  border: 1px solid rgba(255, 122, 43, .28);
  background: rgba(6, 5, 5, .32);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 60px rgba(0, 0, 0, .22);
}

.hero h1 {
  font-size: clamp(66px, 6.7vw, 104px);
  line-height: .94;
  max-width: 920px;
  margin: 0 auto;
  color: #fffaf4;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, .78),
    0 0 72px rgba(255, 74, 0, .24);
}

.hero h1 span { display: inline; }

.hero-sub {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-ctas {
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
}

.hero-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  width: 100%;
  max-width: 920px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-proof span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: rgba(255, 255, 255, .52);
  white-space: nowrap;
}

/* Cinta inferior del hero */

.hero-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 4, 2, .35);
  backdrop-filter: blur(6px);
  padding: 16px 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: strip 34s linear infinite;
}

.strip-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-width: 100vw;
  padding-right: 40px;
}

.strip-group span {
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}

.strip-group i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

@keyframes strip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Secciones ---------- */

.section { padding: 130px 0; }

.section-tight { padding: 90px 0; }

.section-head { max-width: 760px; margin-bottom: 70px; }

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }

.eyebrow.center { justify-content: center; }

.section-lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
}

.section-head.center .section-lead { margin-left: auto; margin-right: auto; max-width: 620px; }

/* ---------- Split problema ---------- */

.problem-head {
  margin: 0 auto 58px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  align-self: stretch;
  background: #050506;
}

.split-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#problema .split-media img {
  filter: hue-rotate(-8deg) saturate(1.18) contrast(1.04);
}

#problema .split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 74, 0, .28), transparent 38%),
    linear-gradient(180deg, rgba(255, 74, 0, .08), transparent 58%);
  mix-blend-mode: color;
}

#problema .split-copy {
  align-self: center;
}

#problema .eyebrow {
  justify-content: center;
}

#problema .section-lead {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

#problema .pain-list {
  max-width: 720px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.pain-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.pain-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--muted);
}

.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.pain-list strong { color: var(--text); font-weight: 600; }

/* ---------- Solución ---------- */

.solution-section {
  padding-top: 0;
  padding-bottom: 72px;
}

#comparacion {
  padding-top: 72px;
}

.solution-head {
  margin-bottom: 56px;
}

.solution-subtitle {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 18px;
  color: var(--muted);
}

.solution-subtitle + .section-lead {
  margin-top: 16px;
}

.ceo-agent-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 74, 0, .3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 74, 0, .16), rgba(255, 74, 0, 0) 46%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    var(--card);
}

.ceo-agent-media {
  height: 100%;
  min-height: 340px;
  margin: 0;
  border-right: 1px solid var(--line);
}

.ceo-agent-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ceo-agent-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: 56px 52px;
}

.ceo-agent-copy h3 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.08;
}

.ceo-agent-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.solution-tags span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  font-size: 14px;
  font-weight: 600;
}

.solution-steps {
  counter-reset: solution-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.solution-step {
  min-height: 230px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)),
    rgba(0, 0, 0, .18);
}

.solution-step::before {
  counter-increment: solution-step;
  content: "0" counter(solution-step);
  margin-bottom: 38px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
}

.solution-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
  color: var(--brand);
}

.solution-step p {
  font-size: 15.5px;
  color: var(--muted);
}

/* ---------- Comparación ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.compare-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.compare-col h3 { font-size: 22px; margin-bottom: 26px; }

.compare-featured {
  border: 1px solid var(--brand);
  background: linear-gradient(180deg, rgba(255, 74, 0, .09), rgba(255, 74, 0, 0) 55%), var(--card);
}

.dot-inline {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin: 0 8px 1px 2px;
}

.list-check, .list-x, .cta-points { list-style: none; display: grid; gap: 15px; }

.list-check li, .list-x li, .cta-points li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  color: var(--text);
}

.list-check li::before, .list-x li::before, .cta-points li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}

.list-check li::before { content: "✓"; color: var(--brand); }

.list-x li::before { content: "✕"; color: var(--muted-2); }

.list-x li { color: var(--muted); }

.compare-note {
  margin: 44px auto 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  max-width: 680px;
  text-align: center;
  color: var(--text);
}

#comparacion {
  padding-bottom: 76px;
}

#nosotros {
  padding-top: 76px;
  padding-bottom: 76px;
}

#faq {
  padding-top: 76px;
  padding-bottom: 76px;
}

#agendar {
  padding-top: 76px;
}

.agent-flow {
  max-width: 1040px;
  margin: 76px auto 0;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 74, 0, .12), rgba(255, 74, 0, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    var(--card);
}

.flow-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.flow-head h3 {
  font-size: 32px;
  line-height: 1.12;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.flow-step {
  position: relative;
  min-height: 220px;
  padding: 34px 30px 6px;
}

.flow-step + .flow-step {
  border-left: 1px solid var(--line);
}

.flow-number {
  display: block;
  margin-bottom: 42px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
}

.flow-step h4 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1;
}

.flow-step p {
  max-width: 260px;
  font-size: 15.5px;
  color: var(--muted);
}

/* ---------- Features bento ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  grid-column: span 2;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

/* ---------- Oferta ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: .86fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.offer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.offer-card h3 { margin-bottom: 16px; }

.offer-card p { color: var(--muted); font-size: 15.5px; }

.offer-price {
  border-color: var(--brand);
  background:
    linear-gradient(180deg, rgba(255, 74, 0, .12), rgba(255, 74, 0, 0) 58%),
    var(--card);
  display: grid;
  gap: 22px;
}

.offer-kicker {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--brand) !important;
}

.offer-price h3 {
  font-size: 58px;
  line-height: .95;
  margin: 0;
}

/* ---------- OpenClaw ---------- */

.openclaw-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
  background:
    radial-gradient(620px 360px at 0% 0%, rgba(255, 74, 0, .15), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(36px, 6vw, 76px);
}

.openclaw-copy h2 { margin-bottom: 24px; }

.openclaw-copy .section-lead { margin-bottom: 22px; }

.openclaw-note {
  color: var(--text);
  font-size: 16px;
  padding-left: 18px;
  border-left: 2px solid var(--brand);
}

.openclaw-flow { display: grid; gap: 12px; }

.openclaw-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .035);
}

.openclaw-step > span {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  padding-top: 3px;
}

.openclaw-step strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  margin-bottom: 3px;
}

.openclaw-step p { color: var(--muted); font-size: 14.5px; }

.feature-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: var(--line-strong); }

.feature-main {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.feature-media { height: 100%; min-height: 320px; }

.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-copy { padding: 44px 44px 44px 0; }

.feature-card h3 { margin-bottom: 12px; font-size: 22px; }

.feature-main h3 { font-size: 27px; }

.feature-card p { font-size: 16px; color: var(--muted); }

.feature-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.feature-tags span {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}

/* ---------- Pasos ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--brand);
  margin-bottom: 22px;
}

.step h3 { margin-bottom: 10px; font-size: 19px; }

.step p { font-size: 15px; color: var(--muted); }

/* ---------- Encaje (pricing) ---------- */

.fit {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}

.fit-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
}

.fit-col h3 { font-size: 21px; margin-bottom: 26px; }

.fit-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(255, 74, 0, .1), rgba(255, 74, 0, 0) 50%), var(--card);
  display: grid;
  gap: 22px;
}

.fit-tag {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--brand);
}

.fit-price .price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: 0;
}

.fit-desc { font-size: 15.5px; color: var(--muted); }

/* ---------- Quote ---------- */

.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 80px);
  max-width: 980px;
  margin: 0 auto;
  background-image: radial-gradient(600px 300px at 85% 0%, rgba(255, 74, 0, .12), transparent);
}

.quote-card blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.quote-context {
  margin-top: 26px;
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Sobre nosotros ---------- */

.about-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.about-grid-story {
  grid-template-columns: 1fr;
  max-width: 1120px;
  align-items: start;
  gap: clamp(34px, 5vw, 58px);
}

.about-photo {
  min-height: 580px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  object-position: center top;
}

.about-copy h2 {
  max-width: 1040px;
  margin: 0 auto 26px;
}

.about-copy {
  text-align: center;
}

.about-copy .eyebrow {
  justify-content: center;
}

.about-copy .section-lead {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.about-story {
  color: var(--muted);
  font-size: 17px;
  margin: 20px auto 0;
  max-width: 920px;
}

.about-read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--brand);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.about-read-more:hover {
  color: var(--brand-hover);
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  max-width: 920px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.about-proof div {
  min-width: 0;
  padding: 24px 22px 22px;
  background: rgba(255,255,255,.035);
}

.about-proof span {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.about-proof p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 34px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.about-timeline div {
  position: relative;
  min-width: 0;
  padding-left: 18px;
}

.about-timeline div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(255,74,0,.1);
}

.about-timeline span {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-timeline p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- Historia ---------- */

.story-page {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 74, 0, .14), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 106, 43, .08), transparent 34%),
    var(--bg);
}

.story-main {
  padding-top: 132px;
}

.story-hero {
  padding: 96px 0 48px;
  text-align: center;
}

.story-kicker {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.story-kicker > a {
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.story-kicker > a:hover {
  color: var(--brand);
}

.story-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: 72px;
}

.story-lead {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.story-section {
  padding: 50px 0;
}

.story-section-tight {
  padding-top: 20px;
  padding-bottom: 110px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.story-photo {
  position: sticky;
  top: 118px;
  overflow: hidden;
  border: 1px solid rgba(255, 74, 0, .22);
  border-radius: var(--radius);
  background: #09090b;
  box-shadow: 0 22px 70px -34px rgba(255, 74, 0, .48);
}

.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.04) brightness(.86);
}

.story-photo figcaption {
  padding: 18px 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.story-copy {
  max-width: 680px;
  padding-top: 8px;
}

.story-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.78;
}

.story-copy p + p {
  margin-top: 26px;
}

.story-timeline {
  margin-top: 0;
}

.layer-system {
  margin-top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(680px 300px at 50% 0%, rgba(255,74,0,.1), transparent 72%),
    var(--card);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.layer-head {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) clamp(28px, 6vw, 76px) 46px;
  text-align: center;
}

.layer-head .eyebrow { justify-content: center; }

.layer-head h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.layer-head > p:last-child {
  max-width: 650px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 16.5px;
}

.layer-stack {
  margin: 0 clamp(18px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #090a0d;
}

.layer-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 156px;
}

.layer-row + .layer-row { border-top: 1px solid var(--line); }

.layer-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}

.layer-label > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 10px;
}

.layer-label small { display: block; color: var(--muted-2); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.layer-label strong { display: block; color: var(--brand); font-family: var(--display); font-size: 13px; }

.layer-body {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(230px, 1.2fr) auto;
  gap: 26px;
  align-items: center;
  padding: 28px clamp(24px, 3vw, 38px);
}

.layer-person,
.layer-agent {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.layer-avatar {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #17181d;
}

.layer-avatar img,
.demo-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.layer-avatar-javier img { object-position: center top; }

.layer-person strong,
.layer-agent strong { display: block; font-family: var(--display); font-size: 14.5px; }
.layer-person small,
.layer-agent small { display: block; color: var(--muted); font-size: 11px; }

.layer-body > p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.layer-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.layer-tags span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }

.layer-coordination {
  background: linear-gradient(90deg, rgba(255,74,0,.1), rgba(255,74,0,.025) 70%, transparent);
}

.layer-coordination .layer-label { background: rgba(255,74,0,.055); }
.layer-coordination .layer-label > span { border-color: rgba(255,74,0,.38); }
.layer-coordination .layer-tags span { border-color: rgba(255,74,0,.3); color: #ff8b5a; }

.layer-person i { margin-left: auto; color: #72d6a0; font-size: 9px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.layer-person i b { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #42c983; box-shadow: 0 0 0 4px rgba(66,201,131,.11); }

.layer-execution { min-height: 210px; }
.layer-execution-body { grid-template-columns: 1.15fr .85fr; }

.layer-front-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.layer-front-title > span { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #42c983; box-shadow: 0 0 0 4px rgba(66,201,131,.11); }
.layer-front-title strong { display: block; font-family: var(--display); font-size: 13px; }
.layer-front-title small { display: block; color: #72d6a0; font-size: 9px; font-weight: 600; text-transform: uppercase; }

.layer-agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.layer-agent .layer-avatar { width: 42px; height: 42px; }

.layer-growth { padding-left: 28px; border-left: 1px dashed var(--line-strong); }
.layer-growth > small { display: block; margin-bottom: 8px; color: var(--brand); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.layer-growth > p { margin-bottom: 17px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.layer-growth > div { display: flex; flex-wrap: wrap; gap: 7px; }
.layer-growth span { color: var(--muted); font-family: var(--display); font-size: 10.5px; }
.layer-growth span + span::before { content: "/"; margin-right: 7px; color: var(--brand); }

.layer-memory { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 28px 28px; }
.layer-memory > span { display: inline-grid; width: 38px; height: 38px; flex: none; place-items: center; border: 1px solid rgba(255,74,0,.34); border-radius: 50%; color: var(--brand); font-size: 18px; }
.layer-memory strong { display: block; font-family: var(--display); font-size: 12.5px; }
.layer-memory p { color: var(--muted); font-size: 11px; }

.team-lineup {
  margin-top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(680px 300px at 50% 0%, rgba(255,74,0,.1), transparent 72%),
    var(--card);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.team-head {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) clamp(28px, 6vw, 76px) 48px;
  text-align: center;
}

.team-head .eyebrow { justify-content: center; }
.team-head h3 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; }
.team-head > p:last-child { max-width: 640px; margin-inline: auto; color: var(--muted); font-size: 16.5px; }

.team-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  margin: 0 clamp(18px, 4vw, 48px);
  padding: 4px 0 0;
}

.org-node {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 74%),
    #090a0d;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.org-node-ceo {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px clamp(20px, 2.4vw, 28px) 28px;
  background:
    radial-gradient(260px 180px at 12% 20%, rgba(255,74,0,.18), transparent 70%),
    linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.014) 74%),
    #090a0d;
}

.org-node-agent {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px clamp(20px, 2.4vw, 28px) 28px;
}

.org-node-manuel {
  background:
    linear-gradient(165deg, rgba(255,74,0,.13), rgba(255,74,0,.018) 72%),
    #090a0d;
}

.org-meta {
  position: absolute;
  top: 20px;
  right: 22px;
}

.org-meta span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.org-branches {
  position: relative;
  height: 74px;
  max-width: min(760px, calc(100% - 96px));
  margin: 0 auto;
}

.org-branches::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 42px;
  background: var(--line-strong);
}

.org-branches span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  border-radius: 18px 18px 0 0;
}

.org-reports {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.org-node-agent::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 1px;
  height: 34px;
  background: var(--line-strong);
}

.team-cards .org-node-agent::before { display: none; }

.team-avatar {
  display: inline-flex;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #17181d;
}

.team-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.team-avatar-javier img { object-position: center top; }

.team-avatar-initials {
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,74,0,.2), transparent 55%),
    #111217;
}

.org-node-ceo .team-avatar {
  width: 76px;
  height: 76px;
  border-color: rgba(255,74,0,.36);
}

.org-node h4 { margin-bottom: 2px; font-family: var(--display); font-size: 17px; }
.team-role { margin-bottom: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.team-role i { display: block; margin-top: 4px; color: #72d6a0; font-size: 8.5px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.team-role i b { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #42c983; }
.team-report {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.team-verb { display: block; margin: auto 0 10px; color: var(--brand); font-family: var(--display); font-size: clamp(22px, 2.2vw, 29px); line-height: 1; }
.org-node-ceo .team-verb { margin: 4px 0 10px; color: var(--brand); }
.org-node > p:last-child:not(.team-report),
.org-node-ceo div > p:last-child { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.team-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 4vw, 48px);
  padding: 26px 2px 32px;
}

.team-next small { display: block; color: var(--muted-2); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.team-next strong { display: block; color: var(--brand); font-family: var(--display); font-size: 13px; }
.team-next-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.team-next-list span { padding: 7px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 10.5px; }
}


/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 14px; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 26px;
  transition: border-color .2s ease;
}

.faq-list details[open] { border-color: var(--line-strong); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17.5px;
  padding: 22px 0;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brand);
  transition: transform .25s ease;
}

.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }

details[open] .faq-icon::after { transform: scaleY(0); }

.faq-list details p {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}

/* ---------- CTA final ---------- */

.section-cta { padding-bottom: 150px; }

.cta-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: start;
  background-image: radial-gradient(700px 400px at 0% 100%, rgba(255, 74, 0, .12), transparent);
}

.cta-copy h2 { margin-bottom: 0; }

.cta-title-accent { color: var(--brand); }

.cta-invite {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cta-points span {
  border: 1px solid rgba(255, 74, 0, .28);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  background: rgba(255, 74, 0, .08);
  font-size: 13px;
  font-weight: 600;
}

.cta-media {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 420px;
}

.cta-media img { width: 100%; height: auto; }

/* Formulario */

.cta-form {
  display: grid;
  gap: 16px;
  align-self: center;
}

.form-row { display: grid; gap: 8px; }

.form-row label {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.form-row .opt { color: var(--muted-2); font-weight: 400; }

.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form select,
.cta-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15.5px;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cta-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.cta-form select option { background: var(--card); color: var(--text); }

.cta-form textarea { resize: vertical; min-height: 124px; }

.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.cta-form input.invalid, .cta-form select.invalid, .cta-form textarea.invalid { border-color: var(--brand); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex: none;
}

.form-note { font-size: 13px; color: var(--muted-2); text-align: center; }

.form-note.ok { color: #7ed9a7; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 380px; }

.footer-brand .brand { color: var(--text); font-size: 28px; }
.footer-logo .brand-mark { width: 104px; }

.footer-brand p { margin-top: 16px; font-size: 15px; color: var(--muted); }

.footer-nav { display: grid; gap: 12px; align-content: start; }

.footer-title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.footer-nav a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--brand); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted-2);
}

.footer-copyright {
  display: grid;
  gap: 4px;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

.legal-links button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color .18s ease;
}

.legal-links button:hover,
.legal-links button:focus-visible {
  color: var(--brand);
  outline: none;
}

/* ---------- Legal y cookies ---------- */

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(760px, calc(100vw - 48px));
  padding: 20px;
  border: 1px solid rgba(255, 74, 0, .28);
  border-radius: 10px;
  background: rgba(7, 8, 12, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .52);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] { display: none; }

.cookie-title {
  margin-bottom: 6px;
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.cookie-banner p:not(.cookie-title),
.legal-intro {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-modal,
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal.is-open,
.cookie-modal.is-open {
  display: flex;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.legal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 38px;
  border: 1px solid rgba(255, 74, 0, .22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 74, 0, .08), transparent 42%),
    #090a0f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.legal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.legal-close:hover,
.legal-close:focus-visible {
  border-color: var(--brand);
  outline: none;
}

.legal-dialog h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
}

.legal-copy {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal-copy h3 {
  margin-bottom: 8px;
  color: var(--brand);
  font-family: var(--display);
  font-size: 17px;
}

.legal-copy ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.legal-copy strong { color: var(--text); }

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-copy table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 13px;
}

.legal-copy th,
.legal-copy td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-copy th {
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  background: rgba(255, 255, 255, .04);
}

.legal-copy tr:last-child td { border-bottom: 0; }

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.cookie-option {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex: none;
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--display);
}

.cookie-option small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-actions-modal {
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 52px 0 30px;
  }

  .footer-inner {
    gap: 30px;
  }

  .footer-logo .brand-mark {
    width: 96px;
  }

  .footer-brand p {
    max-width: 300px;
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.65;
  }

  .footer-nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
  }

  .footer-title {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    font-size: 12px;
  }

  .footer-nav a {
    font-size: 14px;
    line-height: 1.3;
  }

  .footer-legal {
    margin-top: 38px;
    padding-top: 22px;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    text-align: center;
  }

  .footer-legal,
  .legal-links {
    justify-content: center;
  }

  .legal-links {
    gap: 10px 18px;
    width: 100%;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .legal-modal,
  .cookie-modal {
    padding: 14px;
  }

  .legal-dialog {
    padding: 30px 22px 24px;
    max-height: calc(100vh - 28px);
  }
}

/* ---------- Animaciones ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1);
}

.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature-card:hover { transform: none; }
  .blob, .streak, .strip-track { animation: none; }
  .hero-bg { transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  h1 { font-size: 62px; }
  h2 { font-size: 42px; }
  .hero h1 { font-size: 60px; }
  .quote-card blockquote { font-size: 34px; }
  .section { padding: 100px 0; }
  .solution-section { padding-top: 0; padding-bottom: 60px; }
  #comparacion { padding-top: 60px; padding-bottom: 64px; }
  #nosotros { padding-top: 64px; padding-bottom: 64px; }
  #faq { padding-top: 64px; padding-bottom: 64px; }
  #agendar { padding-top: 64px; }
  .hero-content { grid-template-columns: 1fr; align-items: start; }
  .hero-orbit { max-width: 680px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media { max-height: 460px; }
  .ceo-agent-panel { grid-template-columns: 1fr; }
  .ceo-agent-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ceo-agent-copy {
    min-height: auto;
    padding: 42px 34px;
  }
  .solution-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-step { min-height: auto; padding: 28px 24px; }
  .solution-step h3 { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fit { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .offer-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .cta-panel { grid-template-columns: 1fr; gap: 48px; }
  .cta-media { display: none; }
  .feature-main { grid-template-columns: 1fr; gap: 0; }
  .feature-media { min-height: 260px; max-height: 340px; }
  .feature-copy { padding: 36px 32px; }
  .agent-flow { max-width: 680px; padding: 38px 30px; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { min-height: auto; padding: 28px 0; }
  .flow-step + .flow-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .flow-step p { max-width: none; }
  .openclaw-panel { grid-template-columns: 1fr; gap: 42px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-proof { grid-template-columns: 1fr; }
  .about-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-photo { min-height: 460px; max-height: 620px; }
  .about-photo img { min-height: 460px; }
  .story-hero h1 { font-size: 54px; }
  .story-layout { grid-template-columns: 1fr; max-width: 760px; }
  .story-photo { position: relative; top: auto; }
  .layer-row { grid-template-columns: 190px minmax(0, 1fr); }
  .layer-body { grid-template-columns: minmax(190px, .9fr) minmax(210px, 1.1fr); }
  .layer-tags { grid-column: 1 / -1; justify-content: flex-start; }
  .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-node-agent { min-height: 330px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .hero h1 {
    font-size: 33px;
    line-height: 1.04;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .offer-price h3 { font-size: 44px; }
  .fit-price .price { font-size: 36px; }
  .quote-card blockquote { font-size: 28px; }

  .site-header {
    top: max(10px, env(safe-area-inset-top));
    padding: 0 16px;
    width: 100%;
    align-items: center;
  }

  .nav-bar {
    width: 100%;
    max-width: 420px;
    min-height: 58px;
    padding: 5px 6px 5px 16px;
    gap: 10px;
  }

  .brand-mark { width: 58px; }
  .brand-lockup { gap: 8px; }
  .brand-separator {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, .28);
  }
  .brand-descriptor {
    display: inline-flex;
    gap: 4px;
    font-size: 10.5px;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .site-nav, .nav-bar .btn-nav { display: none; }

  .nav-toggle { display: flex; }

  h1 br, h2 br { display: none; }

  .hero {
    min-height: 100svh;
    justify-content: center;
  }

  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100svh;
    align-items: center;
    align-content: center;
    justify-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding-top: calc(106px + env(safe-area-inset-top));
    padding-bottom: calc(38px + env(safe-area-inset-bottom));
    gap: 22px;
    text-align: center;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    order: 1;
  }

  .badge {
    margin-bottom: 16px;
    font-size: 13px;
    justify-content: center;
    padding: 8px 13px;
  }

  .hero-sub {
    max-width: 340px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .84);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    order: 2;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0;
  }

  .hero-ctas .btn { width: 100%; }

  .btn { white-space: normal; }

  .hero-orbit {
    display: none;
  }

  .hero-proof {
    display: none;
  }

  .hero-strip {
    display: none;
  }

  .hero-proof span {
    font-size: 14px;
  }

  .orbit-glow {
    width: 340px;
    height: 340px;
    bottom: -102px;
  }

  .orbit-core {
    width: 112px;
    height: 112px;
    bottom: 28px;
  }

  .core-mark { font-size: 24px; }
  .core-label { font-size: 12px; }

  .ring-one {
    width: 350px;
    height: 350px;
    bottom: -80px;
  }

  .ring-two {
    width: 430px;
    height: 430px;
    bottom: -120px;
  }

  .agent-node {
    width: 92px;
    height: 38px;
  }

  .agent-node span { font-size: 11.5px; }

  .node-memory { transform: translateX(-50%) translate(-142px, -58px); }
  .node-docs { transform: translateX(-50%) translate(-86px, -154px); }
  .node-tasks { transform: translateX(-50%) translate(0, -184px); }
  .node-chat { transform: translateX(-50%) translate(92px, -142px); }
  .node-rules { transform: translateX(-50%) translate(140px, -46px); }

  .streak { width: 70%; right: -20%; }

  .section { padding: 84px 0; }
  .solution-section { padding-top: 0; padding-bottom: 50px; }
  #comparacion { padding-top: 50px; padding-bottom: 52px; }
  #nosotros { padding-top: 52px; padding-bottom: 52px; }
  #faq { padding-top: 52px; padding-bottom: 52px; }
  #agendar { padding-top: 52px; }

  .section-head { margin-bottom: 48px; }

  .features { grid-template-columns: 1fr; }

  .feature-card, .feature-main { grid-column: auto; }

  .cta-panel {
    padding: 36px 24px;
    gap: 38px;
  }

  .cta-copy {
    width: 100%;
    min-width: 0;
  }

  .cta-copy h2 {
    width: 100%;
    font-size: 31px;
    line-height: 1.08;
    text-wrap: initial;
  }

  .cta-invite {
    width: 100%;
    max-width: none;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    text-wrap: initial;
  }

  .cta-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .cta-points span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
  }

  .cta-points span:last-child {
    grid-column: 1 / -1;
  }

  .solution-head { margin-bottom: 38px; }
  .ceo-agent-copy { padding: 34px 24px; }
  .ceo-agent-copy h3 { font-size: 28px; }
  .ceo-agent-copy p { font-size: 16px; line-height: 1.55; }
  .solution-tags span { width: 100%; justify-content: center; }
  .solution-steps { grid-template-columns: 1fr; gap: 14px; }
  .solution-step { min-height: auto; }
  .solution-step::before { margin-bottom: 24px; }

  .compare { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .openclaw-panel { padding: 34px 24px; }

  .about-timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-proof div { padding: 22px 20px; }

  .about-photo,
  .about-photo img { min-height: 440px; }

  .story-main { padding-top: 96px; }
  .story-hero { padding: 58px 0 26px; }
  .story-hero h1 {
    max-width: 340px;
    font-size: 34px;
    overflow-wrap: break-word;
  }
  .story-lead {
    max-width: 285px;
    font-size: 16px;
  }
  .story-section { padding: 34px 0; }
  .story-section-tight { padding-bottom: 76px; }
  .story-copy p { font-size: 17px; line-height: 1.72; }
  .story-photo figcaption { padding: 16px 18px 18px; }

  .team-lineup { margin-top: 64px; border-radius: 18px; }
  .team-head { padding: 38px 22px 34px; text-align: left; }
  .team-head .eyebrow { justify-content: flex-start; }
  .team-head > p:last-child { margin-inline: 0; }
  .team-cards { margin-inline: 14px; }
  .team-cards { grid-template-columns: minmax(0, 1fr); }
  .team-next { align-items: flex-start; margin-inline: 18px; }
  .team-next-list { justify-content: flex-start; }

  .layer-system { margin-top: 64px; border-radius: 18px; }
  .layer-head { padding: 38px 22px 34px; text-align: left; }
  .layer-head .eyebrow { justify-content: flex-start; }
  .layer-head > p:last-child { margin-inline: 0; }
  .layer-stack { margin-inline: 14px; }
  .layer-row { grid-template-columns: minmax(0, 1fr); }
  .layer-label { padding: 18px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .layer-body { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 20px 28px; }
  .layer-tags { grid-column: auto; justify-content: flex-start; }
  .layer-execution-body { grid-template-columns: minmax(0, 1fr); }
  .layer-growth { padding: 22px 0 0; border-top: 1px dashed var(--line-strong); border-left: 0; }
  .layer-memory { align-items: flex-start; justify-content: flex-start; padding-inline: 24px; }

  .footer-inner { flex-direction: column; gap: 36px; }

  .footer-legal { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 22px; }
  .hero-content { max-width: 100%; }
  .hero h1 {
    font-size: 40px;
    line-height: .98;
  }
  .hero-sales h1 { font-size: 38px; }
  .btn-lg { padding: 16px 24px; font-size: 16px; }
  .compare-col, .fit-col { padding: 30px 24px; }
}

@media (max-width: 360px) {
  .container { padding-inline: 18px; }
  .site-header { padding: 0 12px; }
  .nav-bar { min-height: 58px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 54px; }
  .brand-lockup { gap: 6px; }
  .brand-separator { font-size: 14px; }
  .brand-descriptor { font-size: 9.5px; gap: 3px; }
  .nav-toggle { width: 40px; height: 40px; }
  .hero-content {
    padding-top: calc(96px + env(safe-area-inset-top));
    gap: 18px;
  }
  .hero h1,
  .hero-sales h1 { font-size: 34px; }
  .hero-sub { max-width: 300px; font-size: 15px; }
  .agent-node {
    width: 82px;
    height: 36px;
  }
  .agent-node span { font-size: 10.8px; }
  .node-memory { transform: translateX(-50%) translate(-126px, -54px); }
  .node-docs { transform: translateX(-50%) translate(-76px, -148px); }
  .node-chat { transform: translateX(-50%) translate(82px, -136px); }
  .node-rules { transform: translateX(-50%) translate(126px, -44px); }
}

/* ============================================================
   V2 comercial — producto visible, mensaje orientado a resultado
   ============================================================ */

.hero-sales {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .78fr);
  justify-items: stretch;
  gap: clamp(48px, 7vw, 96px);
  max-width: 1220px;
  text-align: left;
}

.hero-sales .hero-copy { align-self: center; max-width: 710px; }

.hero-sales .badge { margin-bottom: 26px; }

.hero-sales h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(56px, 5.5vw, 84px);
  line-height: .96;
  text-wrap: balance;
}

.hero-sales h1 em {
  display: block;
  color: #ff5a12;
  font-style: normal;
  text-shadow: 0 0 50px rgba(255, 74, 0, .3);
}

.hero-sales .hero-sub {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: 19px;
}

.hero-sales .hero-ctas { justify-content: flex-start; margin-top: 30px; padding: 0; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255,255,255,.55);
  font-size: 13.5px;
}

.hero-trust span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48d597;
  box-shadow: 0 0 0 5px rgba(72, 213, 151, .1);
}

.assistant-carousel {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.assistant-carousel-viewport {
  width: calc(100% + 12px);
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 0 42px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  cursor: grab;
  outline: none;
}

.assistant-carousel-viewport:active { cursor: grabbing; }
.assistant-carousel-viewport::-webkit-scrollbar { display: none; }
.assistant-carousel-viewport:focus-visible { border-radius: 28px; box-shadow: 0 0 0 3px rgba(255,90,18,.5); }

.assistant-carousel-track {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assistant-carousel-track::after {
  content: "";
  flex: 0 0 18px;
}

.assistant-demo {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 455px;
  margin-left: auto;
  color: #17171a;
  background: #f5f4f1;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 26px;
  box-shadow: 0 45px 100px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.025);
  overflow: hidden;
  transform: rotate(1.5deg);
}

.assistant-carousel .assistant-demo {
  flex: 0 0 min(455px, calc(100% - 30px));
  width: min(455px, calc(100% - 30px));
  min-width: min(455px, calc(100% - 30px));
  max-width: none;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: .48;
  filter: blur(2.4px) saturate(.72);
  transform: rotate(.4deg) scale(.965);
  transform-origin: center;
  transition: opacity .42s ease, filter .42s ease, transform .42s cubic-bezier(.2,.75,.2,1);
}

.assistant-carousel .assistant-demo.is-active {
  opacity: 1;
  filter: none;
  transform: rotate(.4deg) scale(1);
}

.assistant-demo::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.demo-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid #deddd9;
}

.demo-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6a1f, #d93600);
  color: white;
  font-family: var(--display);
  font-weight: 700;
  overflow: hidden;
}

.demo-top strong { display: block; font-family: var(--display); font-size: 15px; }
.demo-top small { display: block; margin-top: 2px; color: #747479; font-size: 11.5px; }
.demo-top small i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #35b97a; }
.demo-more { margin-left: auto; color: #8f8f93; letter-spacing: 2px; }

.demo-body {
  position: relative;
  z-index: 2;
  min-height: 430px;
  padding: 22px 18px 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 74, 0, .08), transparent 36%),
    #e9e7e1;
}

.demo-date { margin-bottom: 18px; text-align: center; color: #98958f; font-size: 9px; font-weight: 700; }

.message {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 13px;
  padding: 12px 14px;
  border-radius: 15px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(31,29,24,.07);
}

.message-user { margin-left: auto; background: #ff5a12; color: white; border-bottom-right-radius: 4px; }
.message-agent { background: #fff; border-bottom-left-radius: 4px; }
.message-short { margin-top: 13px; }
.message-label { display: block; margin-bottom: 4px; color: #e54806; font-size: 9px; font-weight: 800; letter-spacing: .08em; }

.demo-task {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 78%;
  margin: 4px 0 0 10px;
  padding: 11px 13px;
  border: 1px solid rgba(23,23,26,.08);
  border-radius: 11px;
  background: rgba(255,255,255,.58);
}

.demo-task > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #d9f5e8; color: #168b58; font-weight: 800; }
.demo-task strong { display: block; font-size: 11.5px; }
.demo-task small { display: block; margin-top: 2px; color: #87837c; font-size: 10px; }

.demo-input {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 13px 14px 13px 20px;
  color: #98958f;
  background: #fff;
  border-top: 1px solid #deddd9;
  font-size: 12px;
}

.demo-input b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: #ff4a00; font-size: 15px; }
.demo-glow { position: absolute; right: -35%; bottom: -20%; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,74,0,.22); filter: blur(55px); }

.assistant-carousel-controls {
  position: absolute;
  left: 0;
  width: 130px;
  bottom: 2px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel-arrow,
.carousel-dot {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.78);
  background: rgba(12,9,8,.58);
  font-size: 15px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  color: #fff;
  border-color: rgba(255,90,18,.72);
  background: rgba(255,90,18,.28);
  transform: scale(1.06);
  outline: none;
}

.carousel-dots { display: flex; align-items: center; gap: 7px; }

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.32);
  transition: width .3s ease, background .3s ease, transform .2s ease;
}

.carousel-dot.is-active { width: 22px; background: #ff5a12; }
.carousel-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.assistant-carousel-hint {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 5;
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
}

.assistant-carousel-hint span { color: #ff5a12; }

.fit-price .price { display: block; font-size: clamp(28px, 3vw, 40px); line-height: 1.03; }

@media (max-width: 1024px) {
  .hero-sales { grid-template-columns: 1fr .78fr; gap: 42px; }
  .hero-sales h1 { font-size: clamp(50px, 6vw, 68px); }
  .assistant-demo { max-width: 390px; }
  .demo-body { min-height: 390px; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero-sales {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 390px;
    margin-left: 0;
    margin-right: auto;
    min-height: auto;
    padding-inline: 24px;
    padding-top: calc(112px + env(safe-area-inset-top));
    padding-bottom: 52px;
    gap: 46px;
    text-align: left;
  }
  .hero-sales .hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  .hero-sales .badge { justify-content: flex-start; }
  .hero-sales h1 {
    margin: 0;
    max-width: 100%;
    font-size: 36px;
    line-height: .98;
    overflow-wrap: break-word;
  }
  .hero-sales h1 em { max-width: 10.5ch; }
  .hero-sales .hero-sub { max-width: none; margin: 22px 0 0; font-size: 17px; }
  .hero-sales .hero-ctas { align-items: stretch; margin-top: 26px; }
  .hero-sales .hero-ctas .btn { width: 100%; }
  .hero-trust { justify-content: flex-start; font-size: 12.5px; }
  .assistant-demo { max-width: 380px; margin: 0 auto; transform: rotate(.5deg); }
  .demo-body { min-height: 365px; }
  .hero-strip { display: block; }
  .strip-track { animation-duration: 28s; }
}

@media (max-width: 390px) {
  .hero-sales { padding-inline: 18px; }
  .hero-sales h1 { font-size: 33px; }
  .hero-sales .badge { font-size: 11.5px; }
  .assistant-demo { border-radius: 21px; }
  .demo-body { min-height: 350px; padding-inline: 14px; }
  .message { max-width: 88%; font-size: 12.5px; }
  .org-node-agent { min-height: 280px; }
  .org-node-agent::before { display: none; }
  .team-next { flex-direction: column; }
  .layer-agents { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .layer-person { align-items: flex-start; }
  .layer-person i { padding-top: 5px; }
}
