/* ===== Steep · Soft dawn on a marble dashboard ===== */
:root {
  --color-ink: #17191c;
  --color-white: #ffffff;
  --color-fog: #f7f7f8;
  --color-ash: #4c4c4c;
  --color-graphite: #777b86;
  --color-dove: #a3a6af;
  --line: #e9e5da;
  --line-soft: #f0ede6;
  --color-rust: #C8623A;          /* Gemleaf terracota */
  --color-rust-deep: #A94E2C;
  --color-rust-soft: #E08A5E;
  --color-apricot: #FBEEE6;        /* warm terracota wash */
  --color-lilac: #C8623A;
  --color-sky: #F4E5DB;            /* terracota wash (success / verified states) */
  --color-blue: #A35536;           /* deep terracota for success / verified text */

  --font-display: "Spectral", "Source Serif 4", Georgia, serif;
  --font-ui: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --shadow-subtle: rgba(16,24,40,0.05) 0px 1px 2px 0px;
  --shadow-card: rgba(4, 23, 43, 0.05) 0px 0px 0px 1px,
                 rgba(0, 0, 0, 0.10) 0px 20px 25px -5px,
                 rgba(0, 0, 0, 0.10) 0px 8px 10px -6px;
  --shadow-float: rgba(4, 23, 43, 0.05) 0px 0px 0px 1px,
                  rgba(0, 0, 0, 0.10) 0px 24px 30px -8px,
                  rgba(0, 0, 0, 0.08) 0px 8px 10px -6px;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.38;
  letter-spacing: -0.14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* responsive media: never let an image/video push the layout wider */
img, video, canvas { max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* display type */
.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.nav-inner {
  height: 72px; display: flex; align-items: center; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--color-ink); margin-right: 30px; }
.brand svg { width: 26px; height: 26px; }
.brand img.brand-mark { width: 26px; height: 26px; object-fit: contain; display: block; }
.brand-word { font-family: var(--font-display); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; min-width: 0; }
.nav-links a { color: var(--color-ink); text-decoration: none; font-size: 15px; font-weight: 450; }
.nav-links a:hover { color: var(--color-ash); }
.nav-right { display: flex; align-items: center; gap: 18px; flex: none; }
.nav-right .login { font-weight: 500; }
@media (max-width: 1040px) { .nav-right .login { display: none; } }

/* nav menus */
.nav-top {
  font: inherit; font-size: 15px; font-weight: 450; color: var(--color-ink);
  background: none; border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.nav-top:hover { color: var(--color-ash); }
.nav-top.active { color: var(--color-rust); font-weight: 600; }
.nav-top .caret { width: 15px; height: 15px; transition: transform .2s ease; opacity: .6; }
.has-drop { position: relative; }
.has-drop:hover .caret, .has-drop.open .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 268px; background: #fff; border: 1px solid var(--line, #e9e5da);
  border-radius: 16px; box-shadow: var(--shadow-float); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 60;
}
.has-drop:hover .drop-menu, .has-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.drop-menu a:hover { background: var(--color-fog); }
.drop-menu .dt { display: block; font-size: 14.5px; font-weight: 600; color: var(--color-ink); }
.drop-menu .dd { display: block; font-size: 12.5px; color: var(--color-graphite); margin-top: 1px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: .25s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  /* A filtered ancestor (backdrop-filter) traps position:fixed children, which
     collapsed the slide-in menu against the 72px bar. Drop it on mobile so the
     panel positions against the viewport and covers the full screen. */
  .nav {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: #fff; border-bottom: 1px solid var(--line, #e9e5da);
  }
  .nav-inner { padding: 0 18px; gap: 12px; }
  .brand { margin-right: 0; }
  .nav-links {
    position: fixed; inset: 72px 0 0 0; height: auto; background: #fff; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 14px 22px 40px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .3s ease; z-index: 49;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { transform: none; }
  .nav-toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav-top { padding: 15px 2px; font-size: 17px; width: 100%; justify-content: space-between; }
  .nav-links > a.nav-top,
  .has-drop { border-bottom: 1px solid var(--line-soft, #f0ede6); }
  .drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; padding: 0 0 12px 6px; min-width: 0; display: none;
  }
  /* override the desktop centering transform (specificity .has-drop.open .drop-menu)
     so the panel flows inline instead of shifting off the left edge on mobile */
  .has-drop:hover .drop-menu,
  .has-drop.open .drop-menu { transform: none; opacity: 1; visibility: visible; }
  .has-drop.open .drop-menu { display: block; }
  .nav-right { gap: 12px; }
  .nav-right .login { display: none; }
}
@media (max-width: 900px) {
  /* Safety net against accidental horizontal overflow on phones/tablets from
     decorative absolute glows, sub-pixel grid rounding, etc. `clip` (unlike
     `hidden`) does NOT create a scroll container, so it preserves the sticky
     nav and the scrollytelling `position:sticky` stages. */
  html, body { overflow-x: clip; }
}
@media (max-width: 768px) {
  /* the bottom sticky "Agendar demo" bar already provides the CTA on phones */
  .nav-right .btn-fill { display: none; }
}

/* buttons */
.btn-fill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-ink); color: #fff;
  border: none; border-radius: 9999px;
  font: inherit; font-size: 15px; font-weight: 450;
  padding: 9px 20px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn-fill:hover { background: #000; transform: translateY(-1px); }
.btn-link {
  background: none; border: none; color: var(--color-ink);
  font: inherit; font-size: 15px; font-weight: 450; cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.btn-link:hover { color: var(--color-ash); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 72px; }
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 620px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46% 60% at 50% 40%, rgba(240,194,166,0.78) 0%, rgba(240,194,166,0) 70%),
    radial-gradient(40% 55% at 62% 30%, rgba(200,98,58,0.22) 0%, rgba(200,98,58,0) 72%),
    radial-gradient(34% 50% at 38% 36%, rgba(160,180,140,0.42) 0%, rgba(160,180,140,0) 70%);
  filter: blur(6px);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; padding: 0 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--color-ash);
  border: 1px solid var(--color-dove); border-radius: 9999px;
  padding: 6px 14px; margin-bottom: 28px; background: rgba(255,255,255,0.6);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-rust); }
h1.hero-title { font-size: 64px; margin: 0; letter-spacing: -1.6px; }
@media (max-width: 760px){ h1.hero-title { font-size: 44px; letter-spacing: -0.66px; } }
.hero-sub {
  font-size: 18px; line-height: 1.5; color: var(--color-ash);
  max-width: 560px; margin: 22px auto 0; letter-spacing: -0.16px;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 34px; }

/* floating hero cards */
.hero-floats { position: relative; z-index: 1; max-width: var(--maxw); margin: 56px auto 0; padding: 0 32px; min-height: 40px; }
.float-card {
  position: absolute; background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-float); padding: 16px 18px;
}
.float-card .fc-label { font-size: 13px; color: var(--color-graphite); font-weight: 480; }
.float-card .fc-val { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; margin-top: 2px; }
.fc-delta { font-size: 12px; font-weight: 500; color: #2f7d4f; margin-left: 8px; }
@media (max-width: 980px){ .hero-floats { display: none; } }

/* ---------------- Globe hero (Anthropic-style) ---------------- */
.globe-hero {
  position: relative;
  height: clamp(740px, 96vh, 1020px);
  overflow: hidden;
  background: #F3EFE6;
}
#globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.globe-head {
  position: relative; z-index: 2;
  text-align: center; padding: 60px 32px 0;
  pointer-events: none;
}
.globe-head .eyebrow { pointer-events: auto; }
.globe-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 1.02; letter-spacing: -0.03em; margin: 14px 0 0;
  color: var(--color-ink);
}
.globe-sub {
  font-size: clamp(16px, 1.5vw, 20px); color: var(--color-ash);
  max-width: 540px; margin: 20px auto 0; line-height: 1.5;
}
.globe-cta { margin-top: 26px; display: flex; justify-content: center; gap: 18px; pointer-events: auto; }

/* testimonial carousel pinned to lower area */
.globe-testi {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(36px, 6vh, 72px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0 32px; pointer-events: none;
}
.testi-dots { display: flex; gap: 9px; pointer-events: auto; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(40,33,22,0.20); cursor: pointer; transition: background .25s, transform .25s;
}
.testi-dot:hover { background: rgba(40,33,22,0.4); }
.testi-dot.on { background: var(--color-rust); transform: scale(1.25); }

.testi-block {
  text-align: center; max-width: 640px;
  opacity: 0; transform: translateY(10px);
}
.testi-block.show { animation: testiIn .55s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes testiIn { to { opacity: 1; transform: none; } }
.testi-tag {
  display: inline-block; background: var(--color-rust); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 7px; margin-bottom: 14px;
}
.testi-quote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.28; letter-spacing: -0.02em;
  color: var(--color-ink); margin: 0; text-wrap: balance;
}
.testi-author { margin-top: 14px; font-size: 14px; color: var(--color-graphite); font-weight: 500; }

@media (max-width: 760px){
  .globe-head { padding-top: 40px; }
  .testi-quote { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce){
  .testi-block.show { animation: none; opacity: 1; transform: none; }
}

/* ---------------- Section frame ---------------- */
section[id] { scroll-margin-top: 88px; }
.section { padding: 96px 0; }
.section.fog { background: var(--color-fog); }
.sec-head { max-width: 720px; }
.sec-kicker { font-size: 14px; font-weight: 500; color: var(--color-rust); letter-spacing: 0.02em; margin-bottom: 14px; }
.sec-title { font-size: 44px; margin: 0; letter-spacing: -0.66px; }
.sec-desc { font-size: 18px; color: var(--color-ash); margin-top: 16px; line-height: 1.5; }

/* ---------------- Showcase (tabbed video) ---------------- */
.showcase { display: grid; grid-template-columns: 340px 1fr; gap: 56px; margin-top: 56px; align-items: start; }
@media (max-width: 920px){ .showcase { grid-template-columns: 1fr; gap: 28px; } }

.tabs { display: flex; flex-direction: column; }
.tab {
  position: relative; text-align: left; cursor: pointer;
  background: none; border: none; font: inherit;
  padding: 22px 0 22px; border-top: 1px solid #e7e7ea;
  color: var(--color-graphite);
  transition: color .2s ease;
}
.tab:first-child { border-top: none; }
.tab .tab-name { font-size: 22px; font-weight: 450; letter-spacing: -0.2px; transition: color .2s ease; }
.tab .tab-desc {
  font-size: 15px; line-height: 1.5; color: var(--color-graphite);
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height .35s ease, opacity .3s ease, margin-top .35s ease;
}
.tab.active { color: var(--color-ink); }
.tab.active .tab-name { color: var(--color-ink); }
.tab.active .tab-desc { max-height: 120px; opacity: 1; margin-top: 10px; }
/* progress bar under active tab */
.tab-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: transparent; }
.tab-prog .fill { display: block; height: 100%; width: 0; background: var(--color-ink); border-radius: 2px; }
.tab.active .tab-prog { background: #e7e7ea; }

/* media frame */
.media-wrap { position: relative; }
.media-glow {
  position: absolute; z-index: 0; top: -70px; right: -40px; width: 70%; height: 220px;
  pointer-events: none;
  background:
    radial-gradient(50% 70% at 70% 30%, rgba(240,194,166,0.85) 0%, rgba(240,194,166,0) 72%),
    radial-gradient(46% 64% at 50% 40%, rgba(160,180,140,0.5) 0%, rgba(160,180,140,0) 72%),
    radial-gradient(40% 60% at 30% 36%, rgba(200,98,58,0.28) 0%, rgba(200,98,58,0) 72%);
  filter: blur(8px);
}
.media-card {
  position: relative; z-index: 1; background: #fff; border-radius: 24px;
  box-shadow: var(--shadow-card); overflow: hidden;
  aspect-ratio: 16 / 10;
}
.media-frame { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.media-frame.show { opacity: 1; pointer-events: auto; }

/* ---------------- mini mock dashboard ---------------- */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mock-bar { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid #eee; }
.mk-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-body { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; min-height: 0; }
.mk-eyebrow { font-size: 12px; color: var(--color-graphite); font-weight: 500; }
.mk-h { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; margin: 2px 0 0; }
.mk-row { display: flex; gap: 14px; flex: 1; min-height: 0; margin-top: 16px; }
.mk-tile { background: var(--color-fog); border-radius: 16px; padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.mk-tile.warm { background: var(--color-apricot); }
.mk-tile.cool { background: var(--color-sky); }
.mk-tile .t { font-size: 12px; color: var(--color-ash); font-weight: 500; }
.mk-tile .big { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; margin-top: 2px; }
.mk-spark { margin-top: auto; }
.mk-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 9999px; font-size: 11px; font-weight: 500; background: #fff; color: var(--color-ash); border: 1px solid var(--color-dove); }
.mk-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--color-ink); }

/* chat mock */
.mk-chat { background: var(--color-fog); border-radius: 16px; padding: 14px; margin-top: auto; }
.mk-input { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--color-dove); border-radius: 14px; padding: 10px 12px; }
.mk-input .ph { color: var(--color-graphite); font-size: 13px; flex: 1; }
.mk-send { width: 30px; height: 30px; border-radius: 50%; background: var(--color-ink); display: grid; place-items: center; }
.mk-send svg { width: 15px; height: 15px; stroke: #fff; }

/* region list */
.mk-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.mk-li { display: flex; justify-content: space-between; font-size: 13px; }
.mk-li .rn { color: var(--color-graphite); }
.mk-li .rc { color: var(--color-ink); font-weight: 480; font-variant-numeric: tabular-nums; }

/* ---- mock entrance animations (only when frame is shown) ---- */
.media-frame.show .mk-b { animation: mkBar .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes mkBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.media-frame.show .mk-path { animation: mkDraw 1.2s ease forwards .15s; }
@keyframes mkDraw { to { stroke-dashoffset: 0; } }
.media-frame.show .mk-donut { animation: mkDonut 1.1s ease forwards .2s; }
@keyframes mkDonut { to { stroke-dashoffset: 0; } }
.media-frame.show .mk-track { animation: mkTrack 1s cubic-bezier(.2,.7,.2,1) forwards .2s; }
@keyframes mkTrack { from { width: 0; } to { width: var(--p); } }
.media-frame.show .mk-li { animation: mkFade .5s ease both; }
@keyframes mkFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.media-frame.show .mk-blip { animation: mkBlip 2.2s ease-in-out infinite; }
@keyframes mkBlip { 0%,100% { opacity:.10; transform-box: fill-box; transform-origin:center; transform:scale(.85);} 50% { opacity:.28; transform:scale(1.15);} }
@media (prefers-reduced-motion: reduce){
  .media-frame * { animation: none !important; }
  .mk-path,.mk-donut { stroke-dashoffset: 0 !important; }
  .mk-track { width: var(--p) !important; }
}

/* ---------------- logo strip ---------------- */
.logos { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 8px; opacity: .8; }
.logos .lg { font-family: var(--font-display); font-size: 22px; color: var(--color-graphite); letter-spacing: -0.01em; }

/* ---------------- closing CTA ---------------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--color-ink); color: #fff; padding: 72px 48px; text-align: center; }
.cta-band .glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(40% 80% at 50% 0%, rgba(240,194,166,0.55) 0%, rgba(240,194,166,0) 70%);
}
.cta-band h2 { position: relative; font-family: var(--font-display); font-weight: 400; font-size: 48px; letter-spacing: -0.03em; margin: 0; }
.cta-band p { position: relative; color: #c9cace; font-size: 18px; margin: 18px auto 32px; max-width: 480px; }
.btn-fill.invert { background: #fff; color: var(--color-ink); }
.btn-fill.invert:hover { background: #f0f0f0; }
.btn-link.invert { color: #fff; }

/* ---------------- footer ---------------- */
.foot { padding: 56px 0 64px; }
.foot-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand { font-size: 20px; }
.foot-tagline { color: var(--color-graphite); font-size: 14px; margin-top: 14px; max-width: 240px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; font-weight: 500; color: var(--color-graphite); text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 14px; }
.foot-col a { display: block; color: var(--color-ink); text-decoration: none; font-size: 15px; margin-bottom: 10px; }
.foot-col a:hover { color: var(--color-ash); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #eaeaec; display: flex; justify-content: space-between; color: var(--color-graphite); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ---------------- Comparison table ---------------- */
.cmp-head { text-align: center; max-width: 760px; margin: 0 auto; }
.cmp-head .sec-title, .cmp-head .sec-desc { margin-left: auto; margin-right: auto; }
.cmp-wrap { margin-top: 48px; overflow-x: auto; }
/* Scoped to the scrollable wrapper: the bare `.cmp` table sizing (notably
   min-width:720px) used to leak onto page-local `.cmp` card grids
   (empresas-pesca, producto-ia) and force them past the mobile viewport. */
.cmp-wrap .cmp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 720px; margin: 0 auto;
}
.cmp th, .cmp td { padding: 18px 20px; text-align: center; }
.cmp thead th { font-size: 15px; font-weight: 600; color: var(--color-graphite); vertical-align: bottom; }
.cmp thead th .logo-cell { font-family: var(--font-display); font-size: 20px; color: var(--color-ink); }
.cmp tbody th {
  text-align: left; font-weight: 500; font-size: 15.5px; color: var(--color-ink);
  width: 38%;
}
.cmp tbody tr + tr th, .cmp tbody tr + tr td { border-top: 1px solid #e9e5da; }
.cmp .feat-sub { display: block; font-size: 13px; color: var(--color-graphite); font-weight: 400; margin-top: 2px; }

/* highlighted Gemleaf column */
.cmp .col-us { position: relative; }
.cmp thead .col-us {
  background: var(--color-rust); color: #fff;
  border-radius: 14px 14px 0 0;
}
.cmp thead .col-us .logo-cell { color: #fff; }
.cmp tbody .col-us { background: #FBEFE8; }
.cmp tbody tr:last-child .col-us { border-radius: 0 0 14px 14px; }
.cmp .pill-best { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: .9; margin-bottom: 6px; }

.cmp .yes, .cmp .no, .cmp .partial { display: inline-flex; align-items: center; justify-content: center; }
.cmp .ico { width: 22px; height: 22px; }
.cmp .yes .ico { color: var(--color-rust); }
.cmp .col-us .yes .ico { color: var(--color-rust-deep); }
.cmp .partial .ico { color: #C9A24A; }
.cmp .no { color: var(--color-dove); font-size: 18px; }
.cmp-note { text-align: center; color: var(--color-graphite); font-size: 12.5px; margin-top: 18px; }

/* ---------------- International expansion ---------------- */
.intl-head { max-width: 760px; }
.intl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 40px; }
.intl-card {
  background: #fff; border: 1px solid var(--color-line, #e9e5da); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-card);
}
.intl-card.live { border: 1px solid var(--color-rust); }
.intl-card .country { font-family: var(--font-display); font-size: 20px; color: var(--color-ink); }
.intl-card .status { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.intl-card.live .status { color: var(--color-rust); }
.intl-card.soon .status { color: var(--color-graphite); }
.intl-card .status .d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.intl-card.live .status .d { background: var(--color-rust); }
.intl-card.soon .status .d { background: var(--color-dove); }
.intl-meta { color: var(--color-ash); font-size: 13.5px; line-height: 1.45; }
.intl-banner {
  margin-top: 40px; background: var(--color-fog); border-radius: 20px;
  padding: 32px 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.intl-banner .txt { flex: 1; min-width: 280px; }
.intl-banner h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; letter-spacing: -0.02em; }
.intl-banner p { color: var(--color-ash); margin: 0; font-size: 16px; line-height: 1.5; }

/* ---------------- Modal ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(23,25,28,0.5); backdrop-filter: blur(4px);
  padding: 24px;
  /* allow the overlay itself to scroll when the card is taller than a short
     viewport (e.g. landscape phones), so the title/close/submit stay reachable */
  overflow-y: auto;
}
/* margin:auto centers the card when it fits and lets it scroll (instead of
   being clipped at the top) when it is taller than the viewport */
.modal.open .modal-card { margin: auto; }
.modal.open { display: flex; animation: modalFade .25s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: #fff; border-radius: 22px; width: 100%; max-width: 480px;
  box-shadow: var(--shadow-float); padding: 32px; position: relative;
  animation: modalPop .3s cubic-bezier(.2,.7,.2,1);
}
@keyframes modalPop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border: none; background: var(--color-fog); border-radius: 10px; cursor: pointer;
  font-size: 18px; color: var(--color-ash); display: grid; place-items: center;
}
.modal-close:hover { background: #ececec; }
.modal-card h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; letter-spacing: -0.02em; }
.modal-card .modal-sub { color: var(--color-ash); font-size: 15px; margin: 0 0 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--color-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--color-dove);
  border-radius: 11px; background: #fff; color: var(--color-ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-rust); outline-offset: -1px; border-color: var(--color-rust); }
.modal-card .btn-fill { width: 100%; height: 48px; margin-top: 6px; }
.modal-success { text-align: center; padding: 18px 0 6px; }
.modal-success .check {
  width: 60px; height: 60px; border-radius: 50%; background: var(--color-sky);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.modal-success .check svg { width: 30px; height: 30px; color: var(--color-blue); }
.modal-success h3 { margin-bottom: 8px; }
.modal-success p { color: var(--color-ash); font-size: 15px; margin: 0; }

@media (max-width: 620px){
  .cta-band h2 { font-size: 34px; }
  .modal-card { padding: 24px; }
}

/* Embedded Gemleaf form modal — generous size so the form has room to breathe */
.modal--iframe { padding: 16px; }
.modal-card.modal-card--iframe {
  max-width: 960px; width: 100%; padding: 22px 22px 18px;
  display: flex; flex-direction: column; max-height: 94vh;
}
.modal-card--iframe h3 { margin: 0 40px 12px 0; font-size: 22px; }
.modal-card--iframe .form-frame {
  flex: 1; min-height: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--color-dove); background: var(--color-fog);
}
.modal-card--iframe .form-frame iframe { display: block; width: 100%; height: 80vh; max-height: 100%; border: 0; }
@media (max-width: 620px){
  /* Modal del formulario a PANTALLA COMPLETA en móvil */
  .modal--iframe { padding: 0; }
  .modal.open .modal-card.modal-card--iframe { margin: 0; }
  .modal-card.modal-card--iframe {
    position: fixed; inset: 0;
    width: 100%; max-width: none;
    height: 100vh; height: 100dvh;          /* dvh evita el corte por la barra del navegador */
    max-height: 100vh; max-height: 100dvh;
    border-radius: 0;
    padding: 12px 14px calc(env(safe-area-inset-bottom, 0px) + 10px);
  }
  .modal-card--iframe h3 { font-size: 19px; margin: 2px 44px 2px 0; }
  .modal-card--iframe .modal-sub { font-size: 12.5px; margin: 0 0 10px; }
  .modal-card--iframe .form-frame { border-radius: 10px; }
  .modal-card--iframe .form-frame iframe { height: 100%; }
}

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.site-foot { padding: 64px 0 56px; border-top: 1px solid var(--line, #e9e5da); margin-top: 0; background: var(--color-white); }
.site-foot .foot-inner { display: grid; grid-template-columns: 1.3fr 2.4fr; gap: 48px; }
.site-foot .foot-brand .brand { font-size: 20px; }
.site-foot .foot-tagline { color: var(--color-graphite); font-size: 14.5px; margin: 14px 0 18px; max-width: 320px; line-height: 1.5; }
.site-foot .foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.site-foot .foot-col h4 { font-size: 12px; font-weight: 600; color: var(--color-graphite); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.site-foot .foot-col a { display: block; color: var(--color-ink); text-decoration: none; font-size: 14.5px; margin-bottom: 10px; }
.site-foot .foot-col a:hover { color: var(--color-rust); }
.site-foot .foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft, #f0ede6); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--color-graphite); font-size: 13px; }
.site-foot .foot-bottom a { color: var(--color-graphite); text-decoration: none; }
.site-foot .foot-bottom a:hover { color: var(--color-ink); }
@media (max-width: 820px){ .site-foot .foot-inner { grid-template-columns: 1fr; gap: 36px; } .site-foot .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* page hero */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.page-hero.tint { background: var(--color-fog); border-bottom: 1px solid var(--line, #e9e5da); }
.page-hero .glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 1000px; height: 460px; pointer-events: none; z-index: 0;
  background: radial-gradient(46% 60% at 50% 40%, rgba(200,98,58,0.14) 0%, rgba(200,98,58,0) 70%), radial-gradient(40% 55% at 64% 32%, rgba(78,123,73,0.12) 0%, rgba(78,123,73,0) 72%);
  filter: blur(8px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; color: var(--color-graphite); margin-bottom: 20px; }
.breadcrumb a { color: var(--color-graphite); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-rust); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.ph-kicker { font-size: 14px; font-weight: 600; color: var(--color-rust); letter-spacing: 0.02em; margin-bottom: 14px; }
.ph-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; max-width: 16ch; }
.ph-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--color-ash); max-width: 620px; margin: 20px 0 0; line-height: 1.5; }
.ph-cta { display: flex; gap: 16px; align-items: center; margin-top: 30px; flex-wrap: wrap; }

/* generic section helpers reused: .section, .wrap, .sec-head, .sec-title, .sec-kicker, .sec-desc */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .sec-desc { margin-left: auto; margin-right: auto; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-text h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; margin: 0 0 14px; line-height: 1.1; }
.split-text .k { font-size: 13.5px; font-weight: 600; color: var(--color-rust); letter-spacing: 0.04em; margin-bottom: 12px; }
.split-text p { font-size: 16.5px; color: var(--color-ash); line-height: 1.55; margin: 0 0 16px; }
.split-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--color-ink); }
.split-list li svg { width: 20px; height: 20px; color: var(--color-rust); flex: none; margin-top: 2px; }
.split-media { background: #fff; border: 1px solid var(--line, #e9e5da); border-radius: 22px; box-shadow: var(--shadow-card); padding: 22px; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: 32px; } .split.rev .split-media { order: 0; } }

/* tiles grid */
.tiles { display: grid; gap: 18px; }
.tiles.c3 { grid-template-columns: repeat(3, 1fr); }
.tiles.c4 { grid-template-columns: repeat(4, 1fr); }
.tiles.c2 { grid-template-columns: repeat(2, 1fr); }
.tile { background: #fff; border: 1px solid var(--line, #e9e5da); border-radius: 16px; padding: 26px 24px; transition: border-color .2s, transform .2s; text-decoration: none; color: inherit; display: block; }
a.tile:hover { border-color: var(--color-rust); transform: translateY(-2px); }
.fog .tile { background: var(--color-white); }
.tile .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--color-apricot); color: var(--color-rust); margin-bottom: 16px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile .n { font-size: 12.5px; font-weight: 700; color: var(--color-rust); letter-spacing: 0.04em; margin-bottom: 10px; }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--color-ink); }
.tile p { font-size: 14.5px; color: var(--color-ash); line-height: 1.55; margin: 0; }
.tile .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--color-rust); }
.tile .eg { font-size: 13.5px; color: var(--color-ash); background: var(--color-fog); border-left: 3px solid var(--color-rust); border-radius: 0 8px 8px 0; padding: 10px 13px; margin-top: 14px; line-height: 1.5; }
.fog .tile .eg { background: var(--color-fog); }
.tile .eg b { color: var(--color-rust); font-weight: 700; margin-right: 5px; }
@media (max-width: 900px){ .tiles.c4 { grid-template-columns: repeat(2,1fr); } .tiles.c3 { grid-template-columns: 1fr; } }
@media (max-width: 560px){ .tiles.c2 { grid-template-columns: 1fr; } }

/* Empresas · industries grid (enhanced, scoped) */
.tiles.ind { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles.ind .tile { position: relative; display: flex; flex-direction: column; transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease; }
.tiles.ind .tile p { flex: 1; }
.tiles.ind .tile .ic { transition: background .28s ease, color .28s ease; }
.tiles.ind a.tile:hover { border-color: var(--color-rust); transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(200,98,58,.42); }
.tiles.ind a.tile:hover .ic { background: var(--color-rust); color: #fff; }
.tiles.ind .tile .more { display: inline-flex; align-items: center; gap: 6px; }
.tiles.ind .tile .more .ar { width: 15px; height: 15px; transition: transform .28s ease; }
.tiles.ind a.tile:hover .more .ar { transform: translateX(4px); }
.tiles.ind .tile .new { position: absolute; top: 16px; right: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--color-rust-deep); background: var(--color-apricot); border: 1px solid var(--color-rust-soft); border-radius: 999px; padding: 3px 10px; }
.tiles.ind .tile.more-card { background: var(--color-fog); border-style: dashed; border-color: var(--color-dove); }
.tiles.ind .tile.more-card .ic { background: #EFE3D6; }
.tiles.ind a.tile.more-card:hover { box-shadow: none; }
.tiles.ind a.tile.more-card:hover .ic { background: var(--color-rust); color: #fff; }
@media (max-width: 860px){ .tiles.ind { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .tiles.ind { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce){
  .tiles.ind .tile, .tiles.ind .tile .ic, .tiles.ind .tile .more .ar { transition: none; }
  .tiles.ind a.tile:hover { transform: none; }
}

/* ---- Beneficios · animated illustrated cards ---- */
.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gl-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px 30px; opacity: 0; transform: translateY(22px); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.gl-grid.in .gl-card { animation: glIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.gl-grid.in .gl-card:nth-child(1) { animation-delay: .05s; }
.gl-grid.in .gl-card:nth-child(2) { animation-delay: .2s; }
.gl-grid.in .gl-card:nth-child(3) { animation-delay: .35s; }
.gl-card:hover { transform: translateY(-5px); border-color: var(--color-rust); box-shadow: 0 16px 32px -18px rgba(200,98,58,.45); }
@keyframes glIn { to { opacity: 1; transform: none; } }
.gl-stage { height: 70px; margin-bottom: 22px; display: flex; align-items: center; }
.gl-h { font-family: var(--font-display); color: var(--color-ink); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 8px; }
.gl-p { font-size: 14.5px; line-height: 1.55; color: var(--color-ash); margin: 0; }

/* card 1 · captured form rows */
.gl-form { width: 100%; display: flex; flex-direction: column; gap: 11px; }
.gl-row { height: 9px; border-radius: 6px; background: var(--color-apricot); position: relative; }
.gl-row.s { width: 56%; }
.gl-row.m { width: 84%; }
.gl-row.active { width: 100%; background: #F6EAE3; overflow: visible; }
.gl-fill { position: absolute; inset: 0; width: 6%; background: var(--color-rust); opacity: .5; border-radius: 6px; animation: glType 4.5s ease-in-out infinite; }
@keyframes glType { 0% { width: 6%; } 30% { width: 94%; } 70% { width: 94%; } 84% { width: 6%; } 100% { width: 6%; } }
.gl-tick { position: absolute; right: -27px; top: 50%; width: 19px; height: 19px; border-radius: 50%; background: var(--color-rust); color: #fff; display: grid; place-items: center; transform: translateY(-50%) scale(.3); opacity: 0; animation: glTick 4.5s ease-in-out infinite; }
.gl-tick svg { width: 11px; height: 11px; }
@keyframes glTick { 0%,30% { opacity: 0; transform: translateY(-50%) scale(.3); } 38% { opacity: 1; transform: translateY(-50%) scale(1.2); } 46%,70% { opacity: 1; transform: translateY(-50%) scale(1); } 84% { opacity: 0; transform: translateY(-50%) scale(.3); } 100% { opacity: 0; } }

/* card 2 · live bar chart + KPI */
.gl-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.gl-bar { width: 13px; border-radius: 4px 4px 2px 2px; background: var(--color-rust); transform-origin: bottom; animation: glBreathe 2.6s ease-in-out infinite alternate; }
.gl-bar:nth-child(1) { height: 40%; background: #EFBA9E; animation-delay: 0s; }
.gl-bar:nth-child(2) { height: 66%; background: #DD9277; animation-delay: .25s; }
.gl-bar:nth-child(3) { height: 52%; background: #EFBA9E; animation-delay: .5s; }
.gl-bar:nth-child(4) { height: 90%; background: var(--color-rust-deep); animation-delay: .15s; }
.gl-bar:nth-child(5) { height: 72%; background: var(--color-rust-soft); animation-delay: .4s; }
@keyframes glBreathe { from { transform: scaleY(.78); } to { transform: scaleY(1); } }
.gl-kpi { display: flex; align-items: baseline; gap: 8px; margin-left: 16px; }
.gl-num { font-family: var(--font-display); font-size: 30px; color: var(--color-ink); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.gl-live { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--color-rust); font-weight: 600; }
.gl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-rust); animation: glPulse 1.4s ease-in-out infinite; }
@keyframes glPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.7); } }

/* card 3 · audit record */
.gl-rec { width: 100%; display: flex; align-items: center; gap: 12px; }
.gl-photo { width: 40px; height: 40px; border-radius: 10px; background: var(--color-apricot); display: grid; place-items: center; color: var(--color-rust); flex-shrink: 0; }
.gl-photo svg { width: 21px; height: 21px; }
.gl-sig { flex: 1; min-width: 0; }
.gl-sig svg { width: 100%; height: 30px; display: block; }
.gl-sig path { stroke: var(--color-rust-soft); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: glDraw 5s ease-in-out infinite; }
@keyframes glDraw { 0% { stroke-dashoffset: 100; } 35% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.gl-seal { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; transform: scale(.3); opacity: 0; animation: glSeal 5s ease-in-out infinite; }
.gl-seal svg { width: 16px; height: 16px; }
@keyframes glSeal { 0%,38% { opacity: 0; transform: scale(.3); } 46% { opacity: 1; transform: scale(1.25); } 54%,80% { opacity: 1; transform: scale(1); } 92% { opacity: 0; transform: scale(.3); } 100% { opacity: 0; } }

@media (max-width: 900px){ .gl-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .gl-card { opacity: 1; transform: none; animation: none; }
  .gl-fill, .gl-tick, .gl-bar, .gl-dot, .gl-sig path, .gl-seal { animation: none; }
  .gl-seal, .gl-tick { opacity: 1; transform: none; }
  .gl-sig path { stroke-dashoffset: 0; }
}

/* dark band */
.dark-band { position: relative; overflow: hidden; background: var(--color-ink); color: #fff; border-radius: 24px; padding: 52px 48px; }
.dark-band .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px 360px at 90% 0, rgba(200,98,58,0.22), transparent 60%), radial-gradient(560px 340px at 0 100%, rgba(78,123,73,0.18), transparent 60%); }
.dark-band > * { position: relative; z-index: 2; }
.dark-band .sec-kicker { color: var(--color-rust-soft, #E08A5E); }
.dark-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.025em; margin: 0 0 14px; }
.dark-band p.sub { color: #c9c5be; max-width: 680px; font-size: 16.5px; margin: 0 0 28px; }
.band-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; }
.band-cols b { font-family: var(--font-display); font-weight: 500; font-size: 17px; display: block; margin-bottom: 3px; }
.band-cols span { font-size: 14px; color: #b9b5ae; line-height: 1.5; }
@media (max-width: 720px){ .band-cols { grid-template-columns: 1fr; } .dark-band { padding: 40px 28px; } }

/* stat row */
.stat-row { display: flex; gap: 56px; flex-wrap: wrap; }
.stat-row .stat .big { font-family: var(--font-display); font-weight: 500; font-size: 52px; color: var(--color-rust); letter-spacing: -0.02em; line-height: 1; }
.stat-row .stat .lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-graphite); margin-top: 8px; }
.stat-row .stat .d { font-size: 13.5px; color: var(--color-ash); margin-top: 3px; }
.dark-band .stat-row .stat .lbl { color: #c9c5be; }
.dark-band .stat-row .stat .d { color: #b9b5ae; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { border: 1px solid var(--line, #e9e5da); border-radius: 18px; padding: 28px 26px; background: #fff; position: relative; }
.plan.reco { border-color: var(--color-rust); box-shadow: 0 20px 44px -28px rgba(200,98,58,.5); }
.plan .badge { position: absolute; top: -12px; left: 26px; background: var(--color-rust); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.plan .pname { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--color-ink); }
.plan .ptag { font-size: 13.5px; color: var(--color-graphite); margin-bottom: 16px; }
.plan .price { font-family: var(--font-display); font-weight: 500; font-size: 42px; color: var(--color-ink); letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--color-graphite); letter-spacing: 0; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-soft, #f0ede6); }
.plan li { font-size: 14.5px; color: var(--color-ash); display: flex; justify-content: space-between; padding: 7px 0; gap: 12px; }
.plan li span { color: var(--color-ink); font-weight: 600; text-align: right; }
.plan li.mcp { border-top: 1px dashed var(--line, #e9e5da); margin-top: 6px; padding-top: 11px; }
.plan li.mcp span { color: var(--color-rust); }
.plan .btn-fill { width: 100%; height: 46px; margin-top: 20px; }
.plan.alt .btn-fill { background: #fff; color: var(--color-ink); border: 1px solid var(--color-ink); }
.plansnote { font-size: 13px; color: var(--color-graphite); margin-top: 18px; text-align: center; }
@media (max-width: 820px){ .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line, #e9e5da); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--color-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--color-rust); font-family: var(--font-ui); }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 15.5px; color: var(--color-ash); line-height: 1.6; margin: 14px 0 0; }

/* article / prose */
.article { max-width: 720px; margin: 0 auto; }
.article .meta { font-size: 13.5px; color: var(--color-graphite); margin-bottom: 14px; }
.article h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px,4vw,46px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 22px; }
.article h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin: 38px 0 12px; }
.article p { font-size: 17px; color: #3f3f47; line-height: 1.68; margin: 0 0 18px; }
.article ul { margin: 0 0 18px; padding-left: 22px; }
.article li { font-size: 17px; color: #3f3f47; line-height: 1.6; margin-bottom: 8px; }
.article blockquote { border-left: 3px solid var(--color-rust); margin: 22px 0; padding: 6px 0 6px 20px; font-family: var(--font-display); font-size: 21px; color: var(--color-ink); line-height: 1.4; }

/* resource list rows */
.res-list { display: grid; gap: 0; max-width: 860px; }
.res-row { display: flex; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line, #e9e5da); text-decoration: none; color: inherit; }
.res-row:hover .res-h { color: var(--color-rust); }
.res-row .res-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-rust); width: 130px; flex: none; }
.res-row .res-h { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--color-ink); margin: 0 0 4px; }
.res-row .res-d { font-size: 14.5px; color: var(--color-ash); margin: 0; }
.res-row .arrow { margin-left: auto; color: var(--color-rust); font-size: 20px; flex: none; }
@media (max-width: 620px){ .res-row { flex-direction: column; align-items: flex-start; gap: 6px; } .res-row .res-tag { width: auto; } .res-row .arrow { display: none; } }

/* contact split */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .ci { margin-bottom: 26px; }
.contact-info .k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-rust); margin-bottom: 6px; }
.contact-info a { color: var(--color-ink); text-decoration: none; }
.contact-info p { color: var(--color-ash); margin: 0; }
.contact-card { background: #fff; border: 1px solid var(--line, #e9e5da); border-radius: 20px; box-shadow: var(--shadow-card); padding: 30px; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* mini UI mocks for split media */
.ui-mock { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft, #f0ede6); }
.ui-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line-soft, #f0ede6); }
.ui-bar span { width: 9px; height: 9px; border-radius: 50%; background: #E2DCCF; }
.ui-bar span:nth-child(1){ background: #E89A8A; } .ui-bar span:nth-child(2){ background: #EBC976; } .ui-bar span:nth-child(3){ background: #9FC79A; }
.ui-bar em { font-style: normal; font-size: 12px; color: var(--color-graphite); margin-left: 10px; }
.ui-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ui-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-graphite); }
.ui-h { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; color: var(--color-ink); }
.ui-field { background: var(--color-fog); border: 1px solid var(--line-soft, #f0ede6); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--color-ash); display: flex; justify-content: space-between; align-items: center; }
.ui-field .lab { color: var(--color-graphite); font-size: 12px; }
.ui-field .val { color: var(--color-ink); font-weight: 600; }
.ui-row { display: flex; gap: 10px; }
.ui-chip { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--color-apricot); color: var(--color-rust); }
.ui-chip.green { background: var(--color-sky); color: var(--color-blue); }
.ui-tile { flex: 1; background: var(--color-fog); border-radius: 12px; padding: 14px; }
.ui-tile .t { font-size: 11.5px; color: var(--color-graphite); }
.ui-tile .big { font-family: var(--font-display); font-size: 26px; color: var(--color-ink); margin-top: 2px; }
.ui-tile.warm { background: var(--color-apricot); }
.ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.ui-bars i { flex: 1; background: var(--color-rust); border-radius: 5px 5px 0 0; opacity: .85; }
.ui-chat { background: var(--color-fog); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--color-ash); line-height: 1.5; }
.ui-chat b { color: var(--color-ink); }
.ui-ask { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--color-dove); border-radius: 11px; padding: 9px 12px; font-size: 13px; color: var(--color-graphite); }
.ui-ask .send { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--color-ink); color:#fff; display: grid; place-items: center; font-size: 12px; }

/* ============================================================
   HOME · high-conversion anatomy
   ============================================================ */
/* hero */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero2 { position: relative; overflow: hidden; padding: 86px 0 64px; background: var(--color-white); }

/* ---- animated workflow background ---- */
.flow-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.flow-canvas { position: absolute; top: 0; left: 0; transform-origin: 0 0; filter: blur(1.3px); opacity: 0.4; }
.flow-svg { position: absolute; top: 0; left: 0; overflow: visible; }
.flow-edge-base { fill: none; stroke: #d7d2c7; stroke-width: 2.2; }
.flow-edge-live { fill: none; stroke-width: 3; stroke-linecap: round; }
.flow-label { fill: #908a7e; font-family: var(--font-ui); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.flow-dot { filter: drop-shadow(0 0 5px rgba(200,98,58,.5)); }
.fnode {
  position: absolute; background: #fff; border-radius: 16px; padding: 16px 18px 0 22px;
  box-shadow: 0 10px 24px -12px rgba(40,33,22,.28), 0 1px 0 rgba(40,33,22,.04);
  display: flex; flex-direction: column; gap: 10px;
  opacity: .52; filter: saturate(.6);
  transition: opacity .5s ease, filter .5s ease, box-shadow .5s ease, transform .5s ease;
}
.fnode.on { opacity: 1; filter: none; box-shadow: 0 18px 38px -14px rgba(40,33,22,.4), 0 0 0 1px rgba(40,33,22,.05); transform: translateY(-2px); }
.fnode-bar { position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 4px 4px 0; background: var(--ac); }
.fnode-row { display: flex; align-items: flex-start; gap: 13px; }
.fnode-ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; color: var(--ac); background: color-mix(in srgb, var(--ac) 14%, #fff); }
.fnode-ic svg { width: 21px; height: 21px; }
.fnode-title { font-weight: 600; font-size: 17px; color: var(--color-ink); letter-spacing: -0.01em; line-height: 1.2; }
.fnode-sub { font-size: 13.5px; color: var(--color-graphite); margin-top: 2px; }
.fnode-tag { font-family: ui-monospace, monospace; font-size: 12px; color: var(--color-graphite); padding: 6px 0 14px; border-top: 1px solid var(--line-soft); }
/* readability wash so hero text stays crisp over the flow */
.flow-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 38% at 50% 40%, rgba(255,255,255,.74) 0%, rgba(255,255,255,.34) 52%, rgba(255,255,255,0) 82%),
    linear-gradient(to bottom, rgba(255,255,255,.36) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 60%, rgba(255,255,255,.98) 100%);
}
@media (max-width: 760px){ .flow-canvas { opacity: 0.34; } }
.hero2 .glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 1080px; height: 560px; pointer-events: none; z-index: 1;
  background:
    radial-gradient(44% 60% at 50% 38%, rgba(240,194,166,0.7) 0%, rgba(240,194,166,0) 70%),
    radial-gradient(38% 54% at 64% 30%, rgba(200,98,58,0.18) 0%, rgba(200,98,58,0) 72%),
    radial-gradient(34% 50% at 36% 34%, rgba(160,180,140,0.4) 0%, rgba(160,180,140,0) 70%);
  filter: blur(8px);
}
.hero2 .wrap { position: relative; z-index: 2; }
.hero-center { max-width: 720px; text-align: center; }
.hero-center .eyebrow { margin-bottom: 0; }
.hero2 h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -0.03em; margin: 20px auto 0; }
.hero2 .lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--color-ash); max-width: 46ch; margin: 26px auto 0; line-height: 1.55; }
.hero2 .cta { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero2 .trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero2 .trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-graphite); font-weight: 500; }
.hero2 .trust svg { width: 17px; height: 17px; color: var(--color-rust); }

/* ---- Hero · transformación en tres actos ---- */
.acts-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -0.03em; display: flex; flex-direction: column; gap: 2px; align-items: center; margin: 20px auto 0; }
.acts-title .ln { color: var(--color-ink); opacity: .9; transition: color .6s ease, opacity .6s ease; }
.acts-title .ln.on { color: var(--color-ink); opacity: 1; }
.acts-title .ln.on[data-act="2"] { color: var(--color-rust); opacity: 1; }

.acts-stage { position: relative; width: 240px; height: 150px; margin: 30px auto 6px; }
.acts-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.acts-layer.on { opacity: 1; transform: none; }
.acts-doc { width: 210px; height: 138px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 16px 34px -20px rgba(120,90,70,.5); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }

/* act 0 · paper scrawl */
.acts-fold { position: absolute; top: 0; right: 0; width: 24px; height: 24px; background: var(--color-fog); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.acts-scrawl { width: 100%; height: 100%; }
.acts-scrawl path { stroke: #cfc6ba; stroke-width: 2.4; fill: none; stroke-linecap: round; }

/* act 1 · structured rows */
.acts-rows { display: flex; flex-direction: column; gap: 11px; width: 100%; }
.acts-row { display: flex; align-items: center; gap: 9px; opacity: 1; }
.act-data.on .acts-row { animation: actRow .5s ease; }
.act-data.on .acts-row:nth-child(1) { animation-delay: .06s; }
.act-data.on .acts-row:nth-child(2) { animation-delay: .2s; }
.act-data.on .acts-row:nth-child(3) { animation-delay: .34s; }
@keyframes actRow { from { opacity: .35; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.acts-key { height: 8px; width: 34%; border-radius: 4px; background: #ECE5DB; }
.acts-val { height: 8px; flex: 1; border-radius: 4px; background: var(--color-apricot); position: relative; overflow: hidden; }
.acts-val::after { content: ''; position: absolute; inset: 0; width: 70%; background: var(--color-rust-soft); border-radius: 4px; }
.acts-ck { width: 17px; height: 17px; border-radius: 50%; background: var(--color-rust); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.acts-ck svg { width: 10px; height: 10px; }

/* act 2 · AI verdict */
.act-ai .acts-doc { align-items: flex-start; }
.acts-ai-h { display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--color-rust-deep); margin-bottom: 10px; }
.acts-ai-h svg { width: 16px; height: 16px; }
.acts-spark { width: 100%; height: 36px; margin-bottom: 12px; }
.acts-spark path { stroke: var(--color-rust); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.acts-verdict { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--color-rust-deep); background: var(--color-apricot); border-radius: 999px; padding: 5px 12px; }
.acts-verdict svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .acts-title .ln { transition: none; opacity: 1; color: var(--color-ink); }
  .acts-title .ln[data-act="2"] { color: var(--color-rust); }
  .acts-layer { transition: none; }
  .act-data.on .acts-row { animation: none; }
}
@media (max-width: 600px){
  .acts-title { font-size: 24px; }
  .acts-stage { width: 200px; height: 124px; }
  .acts-doc { width: 170px; height: 112px; padding: 13px 14px; }
  .hero2 .cta { flex-direction: column; }
}

/* video spot */
.video-wrap { position: relative; max-width: 940px; margin: 52px auto 0; }
.video-wrap .vglow {
  position: absolute; inset: -30px -20px auto -20px; height: 200px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% 0, rgba(200,98,58,0.16), transparent 70%); filter: blur(8px);
}
.video-spot {
  position: relative; z-index: 1; border-radius: 22px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); box-shadow: var(--shadow-float); aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 120% at 70% 10%, #2a2622 0%, #17140f 60%, #100d0a 100%);
}
.video-spot .poster { position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; }
.video-spot .vinner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #fff; }
.video-spot .play { width: 78px; height: 78px; border-radius: 50%; background: var(--color-rust); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(200,98,58,.7); transition: transform .2s ease; }
.video-spot:hover .play { transform: scale(1.07); }
.video-spot .play svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.video-spot .vlabel { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.video-spot .vsub { font-size: 13.5px; color: rgba(255,255,255,.6); margin-top: -8px; }
.video-spot .vtag { position: absolute; top: 16px; left: 18px; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 7px; }
.video-spot .vtag .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--color-rust); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { font-family: var(--font-display); font-weight: 500; font-size: 17px; width: 40px; height: 40px; border-radius: 12px; background: var(--color-ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.015em; margin: 0 0 8px; }
.step p { font-size: 15px; color: var(--color-ash); line-height: 1.55; margin: 0; }
.step .ln { position: absolute; top: 26px; left: 52px; right: -20px; height: 1px; background: repeating-linear-gradient(90deg, var(--color-dove) 0 5px, transparent 5px 11px); }
.step:last-child .ln { display: none; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; gap: 28px; } .step .ln { display: none; } }

/* testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.tcard .stars { display: flex; gap: 3px; color: var(--color-rust); margin-bottom: 14px; }
.tcard .stars svg { width: 17px; height: 17px; fill: var(--color-rust); }
.tcard .tq { font-size: 16px; color: var(--color-ink); line-height: 1.5; margin: 0 0 20px; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex: none; }
.tcard .nm { font-weight: 600; font-size: 14.5px; color: var(--color-ink); }
.tcard .rl { font-size: 12.5px; color: var(--color-graphite); }
.tcard .verif { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--color-blue); background: var(--color-sky); border-radius: 999px; padding: 4px 10px; align-self: flex-start; margin-bottom: 16px; }
.tcard .verif svg { width: 13px; height: 13px; }
@media (max-width: 820px){ .tgrid { grid-template-columns: 1fr; } }

/* trust badges row */
.badges { display: flex; gap: 16px 40px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.badge-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-ash); font-weight: 500; }
.badge-item svg { width: 20px; height: 20px; color: var(--color-rust); }

/* newsletter (footer) */
.news { margin-top: 18px; }
.news form { display: flex; gap: 8px; max-width: 320px; }
.news input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--color-dove); border-radius: 10px; background: #fff; color: var(--color-ink); }
.news input:focus { outline: 2px solid var(--color-rust); outline-offset: -1px; border-color: var(--color-rust); }
.news button { font: inherit; font-size: 14px; font-weight: 500; padding: 10px 16px; border: none; border-radius: 10px; background: var(--color-ink); color: #fff; cursor: pointer; white-space: nowrap; }
.news button:hover { background: #000; }
.news .ok { font-size: 13.5px; color: var(--color-blue); font-weight: 500; }

/* ============================================================
   STORY · origen→fin de la app (scrolly artifact)
   ============================================================ */
.story { position: relative; background: var(--color-white); }
.story-head { text-align: center; max-width: 720px; margin: 0 auto; padding: 84px 32px 8px; }

/* tall scroll track that drives the pinned stage */
.story-scroll { position: relative; }
.story-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.stage-pad { max-width: 1000px; width: 100%; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; gap: 18px; }

/* stepper = mini workflow whose pulse advances */
.story-stepper { position: relative; display: flex; justify-content: space-between; max-width: 760px; width: 100%; margin: 0 auto; }
.story-stepper .rail { position: absolute; left: 19px; right: 19px; top: 19px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.story-stepper .rail .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--color-rust); border-radius: 3px; transition: width .25s linear; }
.story-stepper .pulse { position: absolute; top: 20px; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--color-rust); box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-rust) 22%, transparent); transition: left .25s linear; z-index: 3; }
.sp-node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; width: 25%; }
.sp-node .dotn { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--color-dove); font-family: var(--font-display); font-size: 17px; display: grid; place-items: center; transition: all .35s ease; }
.sp-node.done .dotn { border-color: var(--color-rust); color: var(--color-rust); }
.sp-node.active .dotn { background: var(--color-ink); border-color: var(--color-ink); color: #fff; transform: scale(1.08); box-shadow: 0 8px 20px -8px rgba(40,33,22,.5); }
.sp-node .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-graphite); transition: color .3s; }
.sp-node.active .lbl { color: var(--color-rust); }
@media (max-width: 620px){ .sp-node .lbl { display: none; } }

/* caption crossfade */
.story-caption { position: relative; height: 92px; }
.cap { position: absolute; inset: 0; text-align: center; max-width: 680px; margin: 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 10px; }
.cap p { font-size: 16px; color: var(--color-ash); line-height: 1.5; margin: 0; }
@media (max-height: 780px){ .story-caption { height: 92px; } .cap p { font-size: 15px; } }

/* screen = swapping app frames */
.story-screen { position: relative; height: clamp(400px, calc(100vh - 250px), 560px); }
@media (max-height: 820px){ .story-screen { height: clamp(380px, calc(100vh - 240px), 520px); } }
.screen-frame { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.screen-frame.on { opacity: 1; transform: none; pointer-events: auto; }
.screen-frame.prev { transform: translateY(-26px) scale(.985); }
.screen-frame .appf { transform-origin: top center; transition: transform .35s ease; }

/* app frame */
.appf { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-float); overflow: hidden; }
@media (prefers-reduced-motion: reduce){
  .story-stage { position: static; height: auto; padding: 40px 0; }
  .story-screen { height: auto; }
  .screen-frame { position: relative; opacity: 1; transform: none; margin-bottom: 28px; }
  .cap { position: relative; opacity: 1; transform: none; }
  .story-caption { height: auto; }
}
/* phones: unpinned, stacked read — caption + full-width frame per act */
@media (max-width: 760px){
  .story-head { padding: 56px 24px 4px; }
  .story-stage { position: static; height: auto; overflow: visible; padding: 8px 0 8px; align-items: stretch; }
  .stage-pad { gap: 0; padding: 0 18px; }
  .story-stepper { display: none; }
  .story-caption, .story-screen { height: auto; }
  .story-block { width: 100%; max-width: 460px; margin: 0 auto 36px; }
  .story-block .cap { position: relative; inset: auto; opacity: 1; transform: none; margin: 0 auto 16px; }
  .story-block .screen-frame { position: relative; opacity: 1; transform: none; margin: 0; pointer-events: auto; }
  .story-block .screen-frame .appf { transform: none !important; }
}
.appf-bar { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); background: #fdfcfa; }
.appf-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.appf-bar .d1 { background: #E89A8A; } .appf-bar .d2 { background: #EBC976; } .appf-bar .d3 { background: #9FC79A; }
.appf-bar .ttl { margin-left: 10px; font-size: 13px; color: var(--color-graphite); font-weight: 500; }
.appf-bar .right { margin-left: auto; display: flex; gap: 8px; }
.appf-bar .chip { font-size: 12px; color: var(--color-ash); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; display: inline-flex; align-items: center; gap: 6px; }
.appf-body { position: relative; }

/* ---- Act 1: AI form builder ---- */
.fb-stage { padding: 20px 24px; display: flex; flex-direction: column; min-height: 0; }
.fb-empty { margin: auto; text-align: center; max-width: 520px; transition: opacity .5s ease; }
.fb-empty .spark { width: 50px; height: 50px; border-radius: 14px; background: var(--color-ink); display: grid; place-items: center; margin: 0 auto 14px; }
.fb-empty .spark svg { width: 26px; height: 26px; color: #fff; }
.fb-empty h4 { font-family: var(--font-display); font-weight: 500; font-size: 21px; margin: 0 0 7px; letter-spacing: -0.01em; }
.fb-empty p { color: var(--color-graphite); font-size: 14px; line-height: 1.45; margin: 0 0 16px; }
.fb-sugg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fb-sugg .s { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--color-ash); text-align: left; line-height: 1.4; background: #fff; }
@media (max-width: 620px){ .fb-sugg { grid-template-columns: 1fr; } }
.fb-convo { display: flex; flex-direction: column; gap: 10px; }
.fb-msg { max-width: 80%; padding: 11px 14px; border-radius: 15px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.fb-msg.show { opacity: 1; transform: none; }
.fb-msg.user { align-self: flex-end; background: var(--color-ink); color: #fff; border-bottom-right-radius: 5px; }
.fb-msg.ai { align-self: flex-start; background: var(--color-fog); color: var(--color-ink); border-bottom-left-radius: 5px; display: flex; gap: 11px; }
.fb-msg.ai .bot { width: 26px; height: 26px; border-radius: 8px; background: var(--color-ink); flex: none; display: grid; place-items: center; }
.fb-msg.ai .bot svg { width: 15px; height: 15px; color: #fff; }
.fb-typing { display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.fb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-dove); animation: fbdot 1.1s infinite ease-in-out; }
.fb-typing i:nth-child(2){ animation-delay: .15s; } .fb-typing i:nth-child(3){ animation-delay: .3s; }
@keyframes fbdot { 0%,60%,100%{ transform: translateY(0); opacity:.5 } 30%{ transform: translateY(-5px); opacity:1 } }
.fb-form { margin-top: 4px; border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: #fff; align-self: stretch; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.fb-form.show { opacity: 1; transform: none; }
.fb-form .fh { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }
.fb-form .fh .ok { color: var(--color-blue); display: inline-flex; }
.fb-form .fh .ok svg { width: 18px; height: 18px; }
.fb-form .fsub { font-size: 12.5px; color: var(--color-graphite); margin-bottom: 14px; }
.fb-field { border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px 11px; margin-bottom: 7px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateX(-6px); transition: opacity .4s ease, transform .4s ease; }
.fb-field.show { opacity: 1; transform: none; }
.fb-field .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.fb-field .ic svg { width: 16px; height: 16px; }
.fb-field .nm { font-size: 14px; font-weight: 600; color: var(--color-ink); }
.fb-field .ty { font-size: 12px; color: var(--color-graphite); }
.fb-field .req { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--color-rust); background: var(--color-apricot); border-radius: 999px; padding: 3px 9px; }
.fb-input { margin-top: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; padding: 11px 16px; color: var(--color-graphite); font-size: 14px; }
.fb-input .send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--color-rust); display: grid; place-items: center; flex: none; }
.fb-input .send svg { width: 15px; height: 15px; color: #fff; }

/* ---- Act 2: flow ---- */
.flowf { position: relative; background-image: radial-gradient(rgba(40,33,22,.05) 1px, transparent 1px); background-size: 22px 22px; background-color: #faf9f6; height: 430px; overflow: hidden; }
.flowf .fl-canvas { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.fl-svg { position: absolute; top: 0; left: 0; overflow: visible; }
.fl-edge-base { fill: none; stroke: #cfcabd; stroke-width: 2.2; }
.fl-edge-live { fill: none; stroke-width: 3; stroke-linecap: round; }
.fl-dot { filter: drop-shadow(0 0 5px rgba(200,98,58,.5)); }
.fl-label { fill: #908a7e; font-family: var(--font-ui); font-size: 17px; font-weight: 600; }
.flnode { position: absolute; background: #fff; border-radius: 14px; padding: 14px 16px 0 20px; box-shadow: 0 8px 20px -10px rgba(40,33,22,.3), 0 0 0 1px rgba(40,33,22,.04); display: flex; flex-direction: column; gap: 9px; opacity: .45; filter: saturate(.55); transition: opacity .45s ease, filter .45s ease, box-shadow .45s ease, transform .45s ease; }
.flnode.on { opacity: 1; filter: none; box-shadow: 0 16px 34px -14px rgba(40,33,22,.42), 0 0 0 1px rgba(40,33,22,.06); transform: translateY(-2px); }
.flnode .bar { position: absolute; left: 0; top: 12px; bottom: 12px; width: 5px; border-radius: 0 4px 4px 0; background: var(--ac); }
.flnode .row { display: flex; align-items: flex-start; gap: 12px; }
.flnode .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; color: var(--ac); background: color-mix(in srgb, var(--ac) 14%, #fff); }
.flnode .ic svg { width: 19px; height: 19px; }
.flnode .ti { font-weight: 600; font-size: 15px; color: var(--color-ink); line-height: 1.2; }
.flnode .su { font-size: 12.5px; color: var(--color-graphite); margin-top: 2px; }
.flnode .tg { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--color-graphite); padding: 5px 0 12px; border-top: 1px solid var(--line-soft); }

/* ---- Act 3: audit trail — minimalist thread ---- */
.thr { max-width: 560px; margin: 0 auto; padding: 20px 24px 22px; }
.thr-top { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.thr-done { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--color-rust); border-radius: 6px; padding: 4px 10px; }
.thr-steps { position: relative; display: flex; justify-content: space-between; padding: 0 8px; }
.thr-line { position: absolute; left: 25px; right: 25px; top: 17px; height: 2px; background: var(--line); border-radius: 2px; }
.thr-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--color-rust); border-radius: 2px; transition: width .4s ease; }
.thr-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.thr-sc { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--color-dove); display: grid; place-items: center; transition: background .35s ease, border-color .35s ease, color .35s ease; }
.thr-sc svg { width: 16px; height: 16px; }
.thr-step.on .thr-sc { background: var(--color-rust); border-color: var(--color-rust); color: #fff; }
.thr-sl { font-size: 10.5px; font-weight: 600; color: var(--color-graphite); transition: color .35s ease; }
.thr-step.on .thr-sl { color: var(--color-ink); }
.thr-feed { margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.thr-ev { display: flex; gap: 12px; padding: 9px 0; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.thr-ev.show { opacity: 1; transform: none; }
.thr-av { width: 34px; height: 34px; border-radius: 9px; background: var(--color-fog); color: var(--color-graphite); display: grid; place-items: center; flex: none; }
.thr-av svg { width: 16px; height: 16px; }
.thr-av.sys { background: var(--color-apricot); color: var(--color-rust); }
.thr-bd { flex: 1; font-size: 13.5px; line-height: 1.45; color: var(--color-ash); }
.thr-bd b { color: var(--color-ink); font-weight: 600; }
.thr-bd .mt { display: block; font-size: 11px; color: var(--color-graphite); margin-top: 3px; }
.thr-men { color: var(--color-rust-deep); font-weight: 600; background: var(--color-apricot); border-radius: 5px; padding: 0 5px; }
.thr-pdf { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--color-rust-deep); background: var(--color-apricot); border: 1px solid var(--color-rust-soft); border-radius: 7px; padding: 5px 10px; margin-top: 8px; opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease; }
.thr-pdf.show { opacity: 1; transform: none; }
.thr-pdf svg { width: 13px; height: 13px; }

/* ---- Act 4: dashboard ---- */
.dash { padding: 14px 20px; }
.dash-row { display: grid; gap: 11px; }
.dash-kpis { grid-template-columns: repeat(3, 1fr); margin-bottom: 11px; }
.dash-kpis4 { grid-template-columns: repeat(4, 1fr); margin: 11px 0; }
.kpi { background: var(--color-fog); border-radius: 12px; padding: 11px 14px; }
.kpi .k { font-size: 12px; color: var(--color-graphite); font-weight: 500; }
.kpi .v { font-family: var(--font-display); font-size: 23px; color: var(--color-ink); letter-spacing: -0.02em; margin-top: 2px; }
.kpi .v.g { color: var(--color-blue); }
.dash-chart { border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; }
.dash-chart .ch-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.dash-chart .lg { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--color-ash); }
.dash-chart .lg .sw { width: 12px; height: 12px; border-radius: 3px; }
.dash-plot { position: relative; height: 150px; }
.dash-ai { margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; padding: 13px 16px; background: linear-gradient(180deg, #fff, var(--color-fog)); }
.dash-ai .q { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-ink); font-weight: 600; }
.dash-ai .q .bot { width: 28px; height: 28px; border-radius: 8px; background: var(--color-ink); display: grid; place-items: center; flex: none; }
.dash-ai .q .bot svg { width: 16px; height: 16px; color: #fff; }
.dash-ai .a { font-size: 13px; color: var(--color-ash); line-height: 1.5; margin-top: 8px; padding-left: 38px; opacity: 0; transition: opacity .6s ease; }
.dash-ai .a.show { opacity: 1; }
.dash-ai .a b { color: var(--color-rust); }
@media (max-width: 700px){ .dash-kpis, .dash-kpis4 { grid-template-columns: repeat(2,1fr); } }
.dash-bar { transform-origin: bottom; }

/* flow: intelligent routing states */
.flnode.skip { opacity: .4; filter: saturate(.35); }
.flnode.skip .tg { color: var(--color-graphite); }
.flnode.eval { box-shadow: 0 0 0 1px rgba(40,33,22,.06), 0 16px 34px -14px rgba(40,33,22,.42); animation: flEval 1s ease-in-out infinite; }
@keyframes flEval { 0%,100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ac) 28%, transparent), 0 16px 30px -16px rgba(40,33,22,.4); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ac) 14%, transparent), 0 16px 30px -16px rgba(40,33,22,.4); } }
.fl-edge-base.skip { stroke-dasharray: 7 7; opacity: .5; }
.fl-decide { position: absolute; z-index: 5; background: var(--color-ink); color: #fff; font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 10px; box-shadow: 0 10px 22px -10px rgba(40,33,22,.6); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; white-space: nowrap; }
.fl-decide.show { opacity: 1; transform: none; }
.fl-decide .dc { color: var(--color-rust-soft, #E08A5E); margin-left: 7px; }


/* dashboard: live indicator */
.dash-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--color-blue); }
.dash-live .ld { width: 8px; height: 8px; border-radius: 50%; background: var(--color-rust); animation: liveDot 1.4s ease-in-out infinite; }
@keyframes liveDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.kpi .v { transition: color .3s ease; }
.kpi.bump .v { animation: kpiBump .45s ease; }
@keyframes kpiBump { 0% { transform: none; } 35% { transform: translateY(-3px); } 100% { transform: none; } }
.dash-chip-week { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce){
  .act-head, .appf { opacity: 1 !important; transform: none !important; }
  .fb-msg, .fb-form, .fb-field, .thr-ev, .thr-pdf { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   CAPACIDADES AVANZADAS · bento (reemplaza el showcase)
   ============================================================ */
#producto.section { padding: 64px 0; }
.caps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; align-items: start; }
.caps-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 17px 18px;
  opacity: 0; transform: translateY(22px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.caps-card:hover { transform: translateY(-5px); border-color: var(--color-rust); box-shadow: 0 16px 32px -18px rgba(200,98,58,.45); }
.caps-grid.in .caps-card { animation: capsIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.caps-grid.in .caps-star { animation-delay: .04s; }
.caps-grid.in .caps-card:nth-child(2) { animation-delay: .16s; }
.caps-grid.in .caps-card:nth-child(3) { animation-delay: .26s; }
.caps-grid.in .caps-card:nth-child(4) { animation-delay: .36s; }
.caps-grid.in .caps-card:nth-child(5) { animation-delay: .46s; }
@keyframes capsIn { to { opacity: 1; transform: none; } }

.caps-star { grid-column: 1 / -1; }
.caps-name { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; color: var(--color-ink); margin: 0 0 5px; }
.caps-sub { font-size: 14px; line-height: 1.5; color: var(--color-ash); margin: 0; max-width: 38ch; }

.caps-badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: #fff; background: var(--color-rust); border-radius: 999px; padding: 4px 11px; }

/* star layout */
.caps-star-in { display: flex; gap: 28px; align-items: center; }
.caps-star-txt { flex: 1; min-width: 0; }
.caps-star-txt .caps-name { font-size: 22px; }
.caps-star-txt .caps-sub { font-size: 15px; max-width: 46ch; }
.caps-star-viz { flex: 1; min-width: 0; }

/* enlace único · flujo */
.caps-flow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.caps-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--color-fog); display: grid; place-items: center; color: var(--color-graphite); flex: none; }
.caps-ic svg { width: 22px; height: 22px; }
.caps-ic.lk { background: var(--color-apricot); color: var(--color-rust); }
.caps-ic.ok { background: var(--color-rust); color: #fff; }
.caps-grid.in .caps-ic.ok { animation: capsPing 3s ease-in-out infinite; }
@keyframes capsPing { 0%,55% { box-shadow: 0 0 0 0 rgba(200,98,58,0); } 66% { box-shadow: 0 0 0 8px rgba(200,98,58,.16); } 82%,100% { box-shadow: 0 0 0 0 rgba(200,98,58,0); } }
.caps-ar { color: var(--color-dove); flex: none; display: grid; place-items: center; }
.caps-ar svg { width: 18px; height: 18px; }
.caps-modes { display: flex; flex-wrap: wrap; gap: 7px; }
.caps-chip { font-size: 11.5px; font-weight: 500; color: var(--color-rust-deep); background: var(--color-apricot); border-radius: 999px; padding: 4px 11px; }

.caps-viz { margin-top: 12px; }

/* análisis cruzado */
.caps-cross { display: flex; align-items: center; gap: 14px; }
.caps-cross-l { display: flex; flex-direction: column; gap: 8px; }
.caps-cf { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-graphite); }
.caps-cf i { width: 22px; height: 22px; border-radius: 6px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.caps-cf i svg { width: 13px; height: 13px; }
.caps-cross-r { flex: 1; min-width: 0; }
.caps-cross-r svg { width: 100%; height: 58px; display: block; }
.caps-cross-r path.gl { stroke: var(--line); stroke-width: 1.4; fill: none; stroke-dasharray: 3 4; }
.caps-cross-r path.ln { stroke: var(--color-rust); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.caps-grid.in .caps-cross-r path.ln { animation: capsDraw 3.8s ease-in-out infinite; }
@keyframes capsDraw { 0% { stroke-dashoffset: 260; } 45% { stroke-dashoffset: 0; } 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }

/* captura por imagen */
.caps-cap { display: flex; align-items: center; gap: 12px; }
.caps-cap .ph { width: 46px; height: 42px; border-radius: 10px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.caps-cap .ph svg { width: 22px; height: 22px; }
.caps-cap .fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.caps-cap .fr { height: 9px; border-radius: 5px; background: var(--color-rust); opacity: .5; width: 6%; }
.caps-grid.in .caps-cap .fr { animation: capsFill 4.5s ease-in-out infinite; }
.caps-cap .fr:nth-child(1) { --w: 92%; }
.caps-cap .fr:nth-child(2) { --w: 68%; opacity: .32; animation-delay: .22s; }
.caps-cap .fr:nth-child(3) { --w: 80%; opacity: .2; animation-delay: .44s; }
@keyframes capsFill { 0% { width: 6%; } 28% { width: var(--w); } 72% { width: var(--w); } 86% { width: 6%; } 100% { width: 6%; } }
.caps-cap .spark { color: var(--color-rust); flex: none; display: grid; place-items: center; }
.caps-cap .spark svg { width: 20px; height: 20px; }

/* historial de versiones */
.caps-ver { position: relative; height: 56px; }
.caps-vc { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 9px; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 11.5px; color: var(--color-graphite); width: 74%; }
.caps-vc svg { width: 13px; height: 13px; color: var(--color-rust); flex: none; }
.caps-vc.v1 { top: 0; left: 0; }
.caps-vc.v2 { top: 7px; left: 12%; }
.caps-vc.v3 { top: 14px; left: 24%; color: var(--color-ink); border-color: var(--color-rust-soft); }

/* permisos por campo */
.caps-perm { display: flex; flex-direction: column; gap: 8px; }
.caps-pr { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; background: var(--color-fog); border-radius: 9px; padding: 10px 13px; }
.caps-pr .role { color: var(--color-graphite); }
.caps-pr .val { font-weight: 600; color: var(--color-ink); display: inline-flex; align-items: center; gap: 8px; }
.caps-pr .val svg { width: 15px; height: 15px; color: var(--color-rust); }
.caps-pr .hid { letter-spacing: 2px; color: var(--color-dove); display: inline-flex; align-items: center; gap: 8px; }
.caps-pr .hid svg { width: 15px; height: 15px; letter-spacing: 0; }

@media (max-width: 900px){
  .caps-grid { grid-template-columns: 1fr; }
  .caps-star-in { flex-direction: column; align-items: stretch; gap: 22px; }
  .caps-star-txt .caps-sub { max-width: none; }
}
@media (prefers-reduced-motion: reduce){
  .caps-card { opacity: 1; transform: none; animation: none; }
  .caps-ic.ok, .caps-cross-r path.ln, .caps-cap .fr { animation: none; }
  .caps-cross-r path.ln { stroke-dashoffset: 0; }
  .caps-cap .fr:nth-child(1) { width: 92%; }
  .caps-cap .fr:nth-child(2) { width: 68%; }
  .caps-cap .fr:nth-child(3) { width: 80%; }
}

/* ============================================================
   IA POR ROL · gobernanza (dentro de dark-band)
   ============================================================ */
.rl-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; margin-top: 4px; }
.rl-roles { display: flex; flex-direction: column; gap: 9px; }
.rl-role { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .3s ease, background .3s ease; }
.rl-role:hover { background: rgba(255,255,255,.08); }
.rl-role.on { border-color: var(--color-rust); background: rgba(200,98,58,.14); }
.rl-av { width: 34px; height: 34px; border-radius: 9px; background: rgba(224,138,94,.18); color: var(--color-rust-soft); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.rl-role.on .rl-av { background: var(--color-rust); color: #fff; }
.rl-rt { display: flex; flex-direction: column; min-width: 0; }
.rl-rn { font-size: 14px; color: #F4EEE8; font-weight: 600; line-height: 1.2; }
.rl-rs { font-size: 11.5px; color: #9b968e; margin-top: 2px; }
.rl-convo { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 11px; min-height: 190px; }
.rl-scope { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 11px; color: var(--color-rust-soft); background: rgba(200,98,58,.16); border-radius: 999px; padding: 5px 11px; }
.rl-scope svg { width: 13px; height: 13px; flex: none; }
.rl-q { align-self: flex-end; max-width: 85%; background: rgba(255,255,255,.10); color: #EDE6DE; font-size: 13.5px; line-height: 1.45; border-radius: 13px 13px 4px 13px; padding: 9px 13px; }
.rl-a { align-self: flex-start; max-width: 92%; background: rgba(0,0,0,.26); border: 1px solid rgba(255,255,255,.08); color: #c4beb6; font-size: 13.5px; line-height: 1.5; border-radius: 13px 13px 13px 4px; padding: 11px 13px; }
.rl-a b { color: #F4EEE8; font-weight: 600; }
.rl-stat { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12px; color: var(--color-rust-soft); font-weight: 600; }
.rl-stat svg { width: 14px; height: 14px; flex: none; }
.rl-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.rl-pt h4 { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: #F4EEE8; margin: 0 0 5px; }
.rl-pt p { font-size: 13px; line-height: 1.5; color: #b9b5ae; margin: 0; }
@media (max-width: 720px){ .rl-panel { grid-template-columns: 1fr; } .rl-foot { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   PRECIOS
   ============================================================ */
.pr-toggle { display: flex; align-items: center; gap: 2px; background: var(--color-fog); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin: 28px auto 0; width: fit-content; }
.pr-tg { border: none; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--color-ash); padding: 7px 18px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.pr-tg.on { background: #fff; color: var(--color-ink); box-shadow: 0 2px 6px -2px rgba(0,0,0,.12); }
.pr-save { font-size: 12px; color: var(--color-rust); margin-left: 8px; font-weight: 500; }

.pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; align-items: stretch; }
.pr-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.pr-card.feat { border-color: var(--color-rust); box-shadow: 0 18px 40px -24px rgba(200,98,58,.45); position: relative; }
.pr-badge { position: absolute; top: -11px; left: 24px; background: var(--color-rust); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: 4px 12px; }
.pr-pname { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--color-ink); }
.pr-ptag { font-size: 12.5px; color: var(--color-dove); margin: 3px 0 16px; }
.pr-price { display: flex; align-items: baseline; gap: 7px; }
.pr-amt { font-family: var(--font-display); font-size: 36px; color: var(--color-ink); font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.pr-per { font-size: 13px; color: var(--color-ash); }
.pr-fine { font-size: 11.5px; color: var(--color-dove); min-height: 15px; margin: 9px 0 18px; }
.pr-quote { font-family: var(--font-display); font-size: 26px; color: var(--color-ink); font-weight: 600; line-height: 1; }
.pr-ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pr-ul li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; color: var(--color-graphite); }
.pr-ul li svg { width: 16px; height: 16px; color: var(--color-rust); margin-top: 1px; flex: none; }
.pr-ul .head { color: var(--color-dove); font-size: 12px; font-weight: 500; }
.pr-cta { display: block; text-align: center; border-radius: 999px; padding: 12px; font-size: 14px; font-weight: 500; font-family: inherit; cursor: pointer; border: none; text-decoration: none; transition: transform .2s, background .25s, border-color .25s, color .25s; }
.pr-cta.solid { background: var(--color-ink); color: #fff; }
.pr-cta.solid:hover { transform: translateY(-2px); background: #322d28; }
.pr-cta.ghost { background: #fff; color: var(--color-ink); border: 1px solid var(--line); }
.pr-cta.ghost:hover { border-color: var(--color-rust); color: var(--color-rust); }

.pr-impl { margin-top: 14px; background: var(--color-apricot); border: 1px solid var(--color-rust-soft); border-radius: 16px; padding: 22px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pr-impl-ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--color-rust); display: grid; place-items: center; flex: none; }
.pr-impl-ic svg { width: 24px; height: 24px; }
.pr-impl-tx { flex: 1; min-width: 220px; }
.pr-impl-tx h4 { font-family: var(--font-display); font-size: 18px; color: var(--color-ink); font-weight: 500; margin: 0 0 4px; }
.pr-impl-tx p { font-size: 13px; line-height: 1.5; margin: 0; color: var(--color-graphite); max-width: 60ch; }
.pr-impl-cta { display: flex; align-items: center; gap: 12px; }
.pr-impl-tag { font-size: 12px; color: var(--color-rust-deep); background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 500; }
.pr-note { font-size: 12px; color: var(--color-dove); text-align: center; margin: 28px auto 0; line-height: 1.55; max-width: 64ch; }
@media (max-width: 720px){ .pr-grid { grid-template-columns: 1fr; } .pr-impl { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   NOSOTROS · metodología (stepper horizontal + panel)
   ============================================================ */
/* Nosotros · vertical rhythm (scoped) */
.nos-page .section { padding: 56px 0; }
.nos-page .page-hero { padding: 48px 0 40px; }
@media (max-width: 760px){
  .nos-page .section { padding: 40px 0; }
  .nos-page .page-hero { padding: 36px 0 28px; }
}

.mth { max-width: 980px; margin: 40px auto 0; }

/* stepper */
.mth-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.mth-track { position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); border-radius: 2px; }
.mth-fill { position: absolute; top: 21px; left: 12.5%; height: 2px; background: var(--color-rust); border-radius: 2px; width: 0; }
.mth-comet { position: absolute; right: -3px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--color-rust); box-shadow: 0 0 0 4px rgba(200,98,58,.16), 0 0 10px 2px rgba(200,98,58,.55); }
.mth-grid.in .mth-comet { animation: mthComet 1.6s ease-in-out infinite; }
@keyframes mthComet { 0%,100% { box-shadow: 0 0 0 3px rgba(200,98,58,.14), 0 0 8px 1px rgba(200,98,58,.45); } 50% { box-shadow: 0 0 0 6px rgba(200,98,58,.10), 0 0 14px 3px rgba(200,98,58,.65); } }
.mth-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: none; font: inherit; cursor: pointer; padding: 0; text-align: center; z-index: 2; }
.mth-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--color-fog); border: 2px solid var(--line); color: var(--color-dove); display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; font-weight: 600; transition: all .3s ease; font-variant-numeric: tabular-nums; }
.mth-node:hover .mth-dot { border-color: var(--color-rust-soft); color: var(--color-rust); }
.mth-node.done .mth-dot { background: var(--color-apricot); border-color: var(--color-rust-soft); color: var(--color-rust); }
.mth-node.on .mth-dot { background: var(--color-rust); border-color: var(--color-rust); color: #fff; box-shadow: 0 6px 16px -6px rgba(200,98,58,.6); }
.mth-grid.in .mth-node.on .mth-dot { animation: mthPulse 2.2s ease-in-out infinite; }
@keyframes mthPulse { 0%,100% { box-shadow: 0 6px 16px -6px rgba(200,98,58,.55), 0 0 0 0 rgba(200,98,58,.34); } 55% { box-shadow: 0 6px 16px -6px rgba(200,98,58,.55), 0 0 0 9px rgba(200,98,58,0); } }
.mth-node.on .mth-lab { color: var(--color-ink); }
.mth-lab { font-size: 13px; font-weight: 500; color: var(--color-graphite); letter-spacing: -0.01em; transition: color .3s ease; max-width: 14ch; }

/* panel */
.mth-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 34px; min-height: 240px; }
.mth-viz { position: relative; min-height: 200px; }
.mth-pane { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; display: flex; flex-direction: column; justify-content: center; }
.mth-pane.show { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.mth-txt { }
.mth-eyebrow { font-size: 13px; font-weight: 600; color: var(--color-rust); letter-spacing: 0.02em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.mth-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-ink); margin: 0; }
.mth-p { font-size: 16.5px; line-height: 1.55; color: var(--color-ash); margin: 18px 0 0; max-width: 42ch; }
.mth-txt-pane { display: none; }
.mth-txt-pane.show { display: block; animation: mthFade .45s ease; }
@keyframes mthFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* visual: 01 fuentes de dolor */
.mth-src { display: flex; flex-direction: column; gap: 12px; }
.mth-srow { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mth-srow .nm { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--color-ink); font-weight: 500; }
.mth-srow .nm i { width: 30px; height: 30px; border-radius: 8px; background: var(--color-fog); color: var(--color-graphite); display: grid; place-items: center; flex: none; }
.mth-srow .nm i svg { width: 16px; height: 16px; }
.mth-alert { color: var(--color-rust); display: grid; place-items: center; }
.mth-alert svg { width: 20px; height: 20px; }

/* visual: 02 convergencia */
.mth-conv { display: flex; align-items: center; gap: 14px; }
.mth-prof { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; text-align: center; }
.mth-prof .av { width: 42px; height: 42px; border-radius: 50%; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; margin: 0 auto 9px; }
.mth-prof .av svg { width: 22px; height: 22px; }
.mth-prof .rl { font-size: 13.5px; font-weight: 600; color: var(--color-ink); }
.mth-prof .ds { font-size: 11.5px; color: var(--color-graphite); margin-top: 2px; }
.mth-merge { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; color: var(--color-rust); }
.mth-merge svg { width: 22px; height: 22px; }
.mth-tag { margin-top: 16px; display: flex; justify-content: center; }
.mth-tag span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--color-rust-deep); background: var(--color-apricot); border: 1px solid var(--color-rust-soft); border-radius: 999px; padding: 8px 16px; }
.mth-tag span svg { width: 15px; height: 15px; }

/* visual: 03 mini-flujo */
.mth-flow { display: flex; align-items: center; gap: 10px; }
.mth-fnode { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 10px; text-align: center; }
.mth-fnode i { width: 34px; height: 34px; border-radius: 9px; background: var(--color-fog); color: var(--color-graphite); display: grid; place-items: center; margin: 0 auto 9px; }
.mth-fnode:last-of-type i { background: var(--color-rust); color: #fff; }
.mth-fnode i svg { width: 18px; height: 18px; }
.mth-fnode span { font-size: 13px; font-weight: 500; color: var(--color-ink); }
.mth-far { color: var(--color-dove); flex: none; display: grid; place-items: center; }
.mth-far svg { width: 16px; height: 16px; }
.mth-30 { margin-top: 16px; text-align: center; }
.mth-30 span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--color-rust-deep); background: var(--color-apricot); border-radius: 999px; padding: 7px 15px; }
.mth-30 span svg { width: 15px; height: 15px; }

/* visual: 04 dashboard */
.mth-dash { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.mth-bars { display: flex; align-items: flex-end; gap: 12px; height: 110px; }
.mth-bar { flex: 1; background: var(--color-apricot); border-radius: 6px 6px 0 0; position: relative; }
.mth-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h, 40%); background: var(--color-rust); border-radius: 6px 6px 0 0; transition: height .6s cubic-bezier(.3,.7,.3,1); }
.mth-grid.in .mth-bar:nth-child(1)::after { --h: 46%; }
.mth-grid.in .mth-bar:nth-child(2)::after { --h: 64%; }
.mth-grid.in .mth-bar:nth-child(3)::after { --h: 58%; }
.mth-grid.in .mth-bar:nth-child(4)::after { --h: 82%; }
.mth-grid.in .mth-bar:nth-child(5)::after { --h: 92%; }
.mth-dchk { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--color-ink); }
.mth-dchk i { width: 24px; height: 24px; border-radius: 50%; background: var(--color-rust); color: #fff; display: grid; place-items: center; flex: none; }
.mth-dchk i svg { width: 14px; height: 14px; }

/* timeline */
.mth-time { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.mth-tcell { padding: 26px 26px 4px; border-right: 1px solid var(--line); opacity: 0; transform: translateY(14px); }
.mth-tcell:last-child { border-right: none; }
.mth-grid.tin .mth-tcell { animation: mthTcell .5s cubic-bezier(.2,.7,.2,1) forwards; }
.mth-grid.tin .mth-tcell:nth-child(2){ animation-delay: .08s; }
.mth-grid.tin .mth-tcell:nth-child(3){ animation-delay: .16s; }
@keyframes mthTcell { to { opacity: 1; transform: none; } }
.mth-tweek { font-size: 13px; font-weight: 600; color: var(--color-rust); letter-spacing: 0.01em; }
.mth-tname { font-family: var(--font-display); font-size: 21px; color: var(--color-ink); margin-top: 6px; letter-spacing: -0.01em; }

/* principles / a tu medida */
.mth-tomedida { border-top: 1px solid var(--line); padding-top: 48px; }
.mth-tomedida .sec-head { margin-bottom: 32px; }
.mth-prin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.mth-pcell { padding: 30px 26px 0; border-right: 1px solid var(--line); }
.mth-pcell:last-child { border-right: none; }
.mth-pcell h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--color-ink); margin: 0 0 9px; letter-spacing: -0.01em; }
.mth-pcell p { font-size: 14.5px; line-height: 1.55; color: var(--color-ash); margin: 0; }
.mth-rubros { margin-top: 32px; text-align: center; font-size: 14px; color: var(--color-graphite); letter-spacing: 0.01em; }

/* ============================================================
   SEGURIDAD · mini centro de confianza
   ============================================================ */
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }
.seg-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; opacity: 0; transform: translateY(16px); }
.seg-in .seg-card { animation: segIn .55s cubic-bezier(.2,.7,.2,1) forwards; }
.seg-in .seg-card:nth-child(2){ animation-delay: .08s; }
.seg-in .seg-card:nth-child(3){ animation-delay: .16s; }
.seg-in .seg-card:nth-child(4){ animation-delay: .24s; }
@keyframes segIn { to { opacity: 1; transform: none; } }
.seg-ch { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.seg-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.seg-ic svg { width: 21px; height: 21px; }
.seg-h { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--color-ink); margin: 0; letter-spacing: -0.01em; }
.seg-li { list-style: none; margin: 0; padding: 0; }
.seg-li li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--color-ash); padding: 7px 0; }
.seg-li li svg { width: 16px; height: 16px; color: var(--color-rust); margin-top: 2px; flex: none; }
.seg-li b { color: var(--color-ink); font-weight: 600; }

.seg-infra { margin-top: 16px; background: #23201D; border-radius: 16px; padding: 28px 30px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); }
.seg-in .seg-infra { animation: segIn .55s .3s cubic-bezier(.2,.7,.2,1) forwards; }
.seg-infra-t { flex: 1; min-width: 240px; }
.seg-infra-t .k { color: var(--color-rust-soft); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.seg-infra-t .k svg { width: 15px; height: 15px; }
.seg-infra-t .p { color: #D9D1C7; font-size: 15px; line-height: 1.55; margin: 0; max-width: 46ch; }
.seg-infra-t .p b { color: #F4EEE8; font-weight: 600; }
.seg-certs { display: flex; gap: 9px; flex-wrap: wrap; }
.seg-cert { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #EDE6DC; font-size: 12.5px; font-weight: 600; border-radius: 9px; padding: 8px 13px; }

.seg-foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--color-graphite); }
.seg-foot a { color: var(--color-rust); font-weight: 500; text-decoration: none; }
.seg-foot a:hover { text-decoration: underline; }

@media (max-width: 760px){ .seg-grid { grid-template-columns: 1fr; } .seg-infra { gap: 18px; } }
.seg-q { display: flex; flex-direction: column; gap: 7px; }
.seg-newlaw { align-self: flex-start; font-family: var(--font-ui); font-weight: 600; font-size: 11.5px; letter-spacing: 0.01em; color: var(--color-rust-deep); background: var(--color-apricot); border: 1px solid var(--color-rust-soft); border-radius: 999px; padding: 3px 11px; }
#segFaq summary { align-items: flex-start; }
#segFaq summary::after { line-height: 1.1; }
@media (prefers-reduced-motion: reduce){
  .seg-card, .seg-infra { animation: none !important; opacity: 1; transform: none; }
}

/* landing summary */
.segsum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.segsum-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; }
.segsum-card .seg-ic { margin-bottom: 14px; }
.segsum-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--color-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.segsum-card p { font-size: 14px; line-height: 1.5; color: var(--color-ash); margin: 0; }
@media (max-width: 900px){ .segsum { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .segsum { grid-template-columns: 1fr; } }

@media (max-width: 760px){
  .mth-panel { grid-template-columns: 1fr; gap: 28px; }
  .mth-lab { display: none; }
  .mth-time, .mth-prin { grid-template-columns: 1fr; }
  .mth-tcell, .mth-pcell { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .mth-tcell:last-child, .mth-pcell:last-child { border-bottom: none; }
  .mth-prin { border-top: none; }
}
@media (prefers-reduced-motion: reduce){
  .mth-bar::after, .mth-pane { transition: none; }
  .mth-txt-pane.show { animation: none; }
  .mth-comet, .mth-node.on .mth-dot { animation: none; }
  .mth-scroll { height: auto; }
  .mth-sticky { position: static; }
  .mth-tcell { opacity: 1; transform: none; animation: none; }
}

/* ============================================================
   EMPRESAS-PESCA · feature sections (io / mo / dc / eq)
   ============================================================ */
.pf-app, .io-app, .mo-app, .eq-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(60,40,30,.4); }

/* --- Inteligencia operacional --- */
.io-app { max-width: 700px; margin: 44px auto 0; }
.io-roles { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--color-fog); flex-wrap: wrap; }
.io-role { display: inline-flex; align-items: center; gap: 7px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--color-graphite); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.io-role svg { width: 15px; height: 15px; }
.io-role.on { color: #fff; background: var(--color-rust); border-color: var(--color-rust); }
.io-body { padding: 20px; min-height: 232px; }
.io-q { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; opacity: 0; transform: translateY(6px); }
.io-q.show { animation: ioFade .35s ease forwards; }
.io-q .av { width: 30px; height: 30px; border-radius: 50%; background: var(--color-apricot); color: var(--color-rust-deep); display: grid; place-items: center; flex: none; }
.io-q .av svg, .io-a .av svg, .io-typing .av svg { width: 16px; height: 16px; }
.io-q .bub { background: var(--color-fog); border-radius: 4px 13px 13px 13px; padding: 10px 14px; font-size: 14px; color: var(--color-graphite); }
.io-typing { display: flex; gap: 10px; align-items: center; opacity: 0; }
.io-typing.show { opacity: 1; }
.io-typing .av { width: 30px; height: 30px; border-radius: 9px; background: var(--color-rust); color: #fff; display: grid; place-items: center; flex: none; }
.io-typing .dots { display: flex; gap: 5px; background: var(--color-fog); border-radius: 13px; padding: 12px 14px; }
.io-typing .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-dove); animation: ioDot 1s infinite ease-in-out; }
.io-typing .dots span:nth-child(2){ animation-delay: .16s; }
.io-typing .dots span:nth-child(3){ animation-delay: .32s; }
@keyframes ioDot { 0%,80%,100%{ transform: translateY(0); opacity:.4; } 40%{ transform: translateY(-4px); opacity:1; } }
.io-a { display: flex; gap: 10px; align-items: flex-start; opacity: 0; transform: translateY(6px); }
.io-a.show { animation: ioFade .4s ease forwards; }
.io-a .av { width: 30px; height: 30px; border-radius: 9px; background: var(--color-rust); color: #fff; display: grid; place-items: center; flex: none; }
.io-a .ans { flex: 1; min-width: 0; }
.io-a .txt { font-size: 14px; line-height: 1.55; color: var(--color-ink); margin-bottom: 13px; }
.io-a .txt b { color: var(--color-ink); font-weight: 600; }
@keyframes ioFade { to { opacity: 1; transform: none; } }
.io-chart { background: var(--color-fog); border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; }
.io-ct { font-size: 11.5px; font-weight: 600; color: var(--color-graphite); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.io-ct .lock { color: var(--color-rust-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; background: var(--color-apricot); border-radius: 999px; padding: 3px 9px; }
.io-ct .lock svg { width: 12px; height: 12px; }
.io-ct .lock.pop { animation: ioPop .45s cubic-bezier(.2,.8,.3,1.4); }
@keyframes ioPop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.io-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.io-rl { width: 130px; font-size: 11.5px; color: var(--color-ash); flex: none; text-align: right; }
.io-track { flex: 1; height: 14px; background: #EFE7DC; border-radius: 5px; overflow: hidden; }
.io-fill { height: 100%; background: linear-gradient(90deg, var(--color-rust-soft), var(--color-rust)); border-radius: 5px; width: 0; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.io-rv { width: 52px; font-size: 11.5px; color: var(--color-ink); font-weight: 600; text-align: right; }
.io-foot, .pf-note { text-align: center; font-size: 12px; color: var(--color-dove); margin-top: 24px; }
.io-foot b { color: var(--color-graphite); }
@media (max-width: 560px){ .io-rl { width: 96px; } }

/* --- Monitoreo en tiempo real --- */
.mo-app { max-width: 740px; margin: 44px auto 0; }
.mo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--color-fog); }
.mo-dots { display: flex; gap: 5px; }
.mo-dots span { width: 9px; height: 9px; border-radius: 50%; background: #E4DCCF; }
.mo-bar .tt { font-size: 12px; color: var(--color-dove); margin-left: 4px; }
.mo-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #3C7A5E; }
.mo-live .pip { width: 7px; height: 7px; border-radius: 50%; background: #46996f; animation: moPip 1.6s infinite; }
@keyframes moPip { 0%,100%{ opacity: 1; } 50%{ opacity: .25; } }
.mo-tabs { display: flex; gap: 6px; padding: 14px 16px 0; }
.mo-tab { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--color-graphite); background: none; border: none; border-radius: 8px 8px 0 0; padding: 9px 14px; cursor: pointer; border-bottom: 2px solid transparent; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.mo-tab.on { color: var(--color-rust); border-bottom-color: var(--color-rust); background: var(--color-apricot); }
.mo-body { padding: 16px; }
.mo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.mo-kpi { background: var(--color-fog); border: 1px solid var(--line); border-radius: 11px; padding: 13px; }
.mo-kpi .kl { font-size: 10.5px; color: var(--color-dove); font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.mo-kpi .kl svg { width: 13px; height: 13px; color: var(--color-rust); }
.mo-kpi .kv { font-family: var(--font-display); font-size: 22px; color: var(--color-ink); font-weight: 600; line-height: 1; }
.mo-kpi .kv small { font-size: 12px; color: var(--color-dove); font-weight: 400; }
.mo-chart { background: var(--color-fog); border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; }
.mo-ct { font-size: 12.5px; font-weight: 600; color: var(--color-ink); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.mo-ct svg { width: 15px; height: 15px; color: var(--color-rust); }
.mo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.mo-rl { width: 150px; font-size: 11.5px; color: var(--color-ash); flex: none; text-align: right; }
.mo-track { flex: 1; height: 16px; background: #EFE7DC; border-radius: 5px; overflow: hidden; }
.mo-fillb { height: 100%; background: linear-gradient(90deg, var(--color-rust-soft), var(--color-rust)); border-radius: 5px; width: 0; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.mo-rv { width: 44px; font-size: 11.5px; color: var(--color-ink); font-weight: 600; text-align: right; }
@media (max-width: 620px){ .mo-kpis { grid-template-columns: 1fr 1fr; } .mo-rl { width: 110px; } }

/* --- Documentación --- */
.dc-src { display: flex; justify-content: center; margin: 44px auto 18px; }
.dc-srcchip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; font-size: 13px; font-weight: 600; color: var(--color-ink); box-shadow: 0 8px 20px -14px rgba(60,40,30,.5); opacity: 0; transform: translateY(8px) scale(.96); }
.dc-srcchip svg { width: 17px; height: 17px; color: var(--color-rust); }
.dc-in .dc-srcchip { animation: dcChip .5s cubic-bezier(.2,.8,.3,1.2) forwards; }
@keyframes dcChip { to { opacity: 1; transform: none; } }
.dc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.dc-col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; opacity: 0; }
.dc-col.l { transform: translateX(-26px); }
.dc-col.r { transform: translateX(26px); }
.dc-in .dc-col { animation: dcCol .55s .12s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes dcCol { to { opacity: 1; transform: none; } }
.dc-ch { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.dc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.dc-ic svg { width: 19px; height: 19px; }
.dc-cn { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--color-ink); margin: 0; }
.dc-cd { font-size: 11.5px; color: var(--color-dove); margin: 2px 0 0; }
.dc-li { list-style: none; margin: 0; padding: 0; }
.dc-li li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--color-ash); padding: 9px 0; border-top: 1px solid var(--color-fog); transition: transform .2s ease; opacity: 0; transform: translateY(7px); }
.dc-li li:first-child { border-top: none; }
.dc-li li .di { width: 18px; flex: none; color: var(--color-rust); display: grid; place-items: center; transition: transform .2s ease; }
.dc-li li .di svg { width: 16px; height: 16px; }
.dc-in .dc-li li { animation: dcItem .4s ease forwards; }
.dc-in .dc-col.l .dc-li li:nth-child(1){ animation-delay: .30s; }
.dc-in .dc-col.l .dc-li li:nth-child(2){ animation-delay: .38s; }
.dc-in .dc-col.l .dc-li li:nth-child(3){ animation-delay: .46s; }
.dc-in .dc-col.l .dc-li li:nth-child(4){ animation-delay: .54s; }
.dc-in .dc-col.r .dc-li li:nth-child(1){ animation-delay: .34s; }
.dc-in .dc-col.r .dc-li li:nth-child(2){ animation-delay: .42s; }
.dc-in .dc-col.r .dc-li li:nth-child(3){ animation-delay: .50s; }
.dc-in .dc-col.r .dc-li li:nth-child(4){ animation-delay: .58s; }
@keyframes dcItem { to { opacity: 1; transform: none; } }
.dc-li li:hover { transform: translateY(-2px); }
.dc-li li:hover .di { transform: scale(1.18); }
.dc-tag { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--color-graphite); background: var(--color-fog); border-radius: 5px; padding: 3px 8px; }
@media (max-width: 560px){ .dc-grid { grid-template-columns: 1fr; } }

/* --- Equipos y activos --- */
.eq-card { max-width: 760px; margin: 44px auto 0; box-shadow: none; }
.eq-tbl { width: 100%; border-collapse: collapse; }
.eq-tbl th { text-align: left; font-size: 10.5px; font-weight: 600; color: var(--color-dove); letter-spacing: .02em; padding: 13px 18px; background: var(--color-fog); border-bottom: 1px solid var(--line); }
.eq-tbl th.r, .eq-tbl td.r { text-align: right; }
.eq-tbl td { padding: 14px 18px; font-size: 13.5px; color: var(--color-graphite); border-bottom: 1px solid var(--color-fog); }
.eq-tbl tbody tr { transition: background .2s ease; }
.eq-tbl tbody tr:hover { background: var(--color-fog); }
.eq-tbl tbody tr:last-child td { border-bottom: none; }
.eq-tbl tbody tr { opacity: 0; transform: translateY(8px); }
.eq-in .eq-tbl tbody tr { animation: eqRow .45s ease forwards; }
.eq-in .eq-tbl tbody tr:nth-child(1){ animation-delay: .05s; }
.eq-in .eq-tbl tbody tr:nth-child(2){ animation-delay: .14s; }
.eq-in .eq-tbl tbody tr:nth-child(3){ animation-delay: .23s; }
.eq-in .eq-tbl tbody tr:nth-child(4){ animation-delay: .32s; }
@keyframes eqRow { to { opacity: 1; transform: none; } }
.eq-name { font-weight: 600; color: var(--color-ink); display: flex; align-items: center; gap: 10px; }
.eq-name .ei { color: var(--color-rust); display: grid; place-items: center; flex: none; }
.eq-name .ei svg { width: 17px; height: 17px; }
.eq-st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.eq-st .pt { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.eq-st.ok { background: #E7F2EC; color: #3C7A5E; }
.eq-st.ok .pt { background: #46996f; }
.eq-st.mt { background: #FBEFE0; color: #B07A2E; }
.eq-st.mt .pt { background: #D6952F; }
.eq-in .eq-st.mt .pt { animation: eqPulse 1.7s infinite ease-in-out; }
@keyframes eqPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(214,149,47,.5); } 50%{ box-shadow: 0 0 0 5px rgba(214,149,47,0); } }
.eq-due { font-weight: 600; color: var(--color-graphite); }
.eq-due.soon { color: #B07A2E; background: #FBEFE0; border-radius: 6px; padding: 2px 8px; }
.eq-epp { max-width: 760px; margin: 16px auto 0; background: #23201D; border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(10px); }
.eq-epp.eq-in { animation: eqRow .5s .1s ease forwards; }
.eq-epp .ico { color: var(--color-rust); display: grid; place-items: center; flex: none; }
.eq-epp .ico svg { width: 22px; height: 22px; }
.eq-epp .t { flex: 1; min-width: 210px; font-size: 13.5px; color: #D9D1C7; line-height: 1.5; }
.eq-epp .t b { color: #F4EEE8; font-weight: 600; }
.eq-epp .chip { font-size: 11.5px; font-weight: 600; color: #EDE6DC; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 6px 11px; opacity: 0; transform: translateY(6px); }
.eq-epp.eq-in .chip { animation: eqRow .4s ease forwards; }
.eq-epp.eq-in .chip:nth-child(3){ animation-delay: .18s; }
.eq-epp.eq-in .chip:nth-child(4){ animation-delay: .26s; }
.eq-epp.eq-in .chip:nth-child(5){ animation-delay: .34s; }
@media (max-width: 600px){ .eq-hide { display: none; } }

@media (prefers-reduced-motion: reduce){
  .io-q, .io-a, .dc-srcchip, .dc-col, .dc-li li, .eq-tbl tbody tr, .eq-epp, .eq-epp .chip { opacity: 1 !important; transform: none !important; animation: none !important; }
  .io-fill, .mo-fillb { transition: none; }
  .mo-live .pip, .eq-st.mt .pt, .io-typing .dots span, .io-ct .lock.pop { animation: none; }
  .dc-col.l, .dc-col.r { transform: none !important; }
}

/* section reveal on scroll (applied via JS on Empresas-Pesca) */
.pf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.pf-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .pf-reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* --- Problema, tira compacta --- */
.pb-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.pb-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pb-item .pic { width: 36px; height: 36px; border-radius: 9px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.pb-item .pic svg { width: 19px; height: 19px; }
.pb-item .pn { font-size: 14px; font-weight: 600; color: var(--color-ink); line-height: 1.25; }
@media (max-width: 720px){ .pb-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px){ .pb-strip { grid-template-columns: 1fr; } }

/* --- Casos de uso, carrusel --- */
.cu-vp { overflow: hidden; padding: 4px; margin-top: 40px; }
.cu-track { display: flex; gap: 16px; transition: transform .5s cubic-bezier(.2,.7,.2,1); cursor: grab; }
.cu-track.drag { cursor: grabbing; transition: none; }
.cu-card { flex: 0 0 320px; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px; display: flex; flex-direction: column; }
.cu-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; margin-bottom: 14px; flex: none; }
.cu-ic svg { width: 22px; height: 22px; }
.cu-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--color-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.cu-card p { font-size: 13.5px; line-height: 1.55; color: var(--color-ash); margin: 0 0 14px; flex: 1; }
.cu-ej { background: var(--color-fog); border-left: 2px solid var(--color-rust); border-radius: 0 8px 8px 0; padding: 10px 13px; font-size: 12.5px; line-height: 1.5; color: var(--color-graphite); }
.cu-ej b { color: var(--color-rust-deep); font-weight: 600; }
.cu-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.cu-arrow { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--color-graphite); cursor: pointer; display: grid; place-items: center; transition: border-color .2s ease, color .2s ease; }
.cu-arrow svg { width: 18px; height: 18px; }
.cu-arrow:hover { border-color: var(--color-rust); color: var(--color-rust); }
.cu-arrow:disabled { opacity: .35; cursor: default; }
.cu-arrow:disabled:hover { border-color: var(--line); color: var(--color-graphite); }
.cu-dots { display: flex; gap: 7px; }
.cu-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-dove); border: none; padding: 0; cursor: pointer; transition: all .25s ease; }
.cu-dot.on { background: var(--color-rust); width: 20px; border-radius: 4px; }
@media (max-width: 560px){ .cu-card { flex-basis: 80vw; } }
@media (prefers-reduced-motion: reduce){ .cu-track { transition: none; } }

/* --- Minería · datos georreferenciados --- */
.gx-wrap { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.gx-wrap.in { opacity: 1; transform: none; }
.gx-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 36px 0 18px; }
.gx-tab { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--color-graphite); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.gx-tab .dt { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.gx-tab.on { color: #fff; border-color: transparent; }
.gx-tab.on.t0 { background: #C8623A; } .gx-tab.on.t1 { background: #C8852E; } .gx-tab.on.t2 { background: #3C7A5E; } .gx-tab.on.t3 { background: #6E7A88; }
.gx-map { position: relative; max-width: 720px; margin: 0 auto; aspect-ratio: 16/9; background: #F4ECE0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gx-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gx-sec { font-family: var(--font-ui); font-size: 10px; font-weight: 600; fill: #B6A892; letter-spacing: .05em; }
.gx-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 2; }
.gx-pin .pd { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 5px 11px -3px rgba(60,40,30,.55); }
.gx-pin .pd svg { transform: rotate(45deg); width: 14px; height: 14px; color: #fff; }
.gx-drop .gx-pin .pd { animation: gxDrop .42s cubic-bezier(.2,.8,.3,1.1) both; }
.gx-drop .gx-pin:nth-child(2) .pd { animation-delay: .07s; }
.gx-drop .gx-pin:nth-child(3) .pd { animation-delay: .14s; }
.gx-drop .gx-pin:nth-child(4) .pd { animation-delay: .21s; }
@keyframes gxDrop { from { opacity: 0; transform: rotate(-45deg) translateY(-12px); } to { opacity: 1; transform: rotate(-45deg) translateY(0); } }
.gx-pin:hover { z-index: 6; }
.gx-pin:hover .pd { filter: brightness(1.08); }
.gx-tip { position: absolute; bottom: 132%; left: 50%; transform: translateX(-50%); background: #23201D; color: #F2ECE3; border-radius: 9px; padding: 9px 12px; width: 172px; font-size: 11.5px; line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 9; }
.gx-pin:hover .gx-tip { opacity: 1; }
.gx-tip b { color: #fff; display: block; font-size: 12px; margin-bottom: 2px; }
.gx-tip .mt { color: #A79E94; }
.gx-leg { text-align: center; font-size: 12px; color: var(--color-dove); margin-top: 22px; }
.gx-leg b { color: var(--color-graphite); }
@media (prefers-reduced-motion: reduce){
  .gx-wrap { opacity: 1 !important; transform: none !important; transition: none; }
  .gx-drop .gx-pin .pd { animation: none !important; }
}

/* --- Minería · control por NFC --- */
.nf-demo { max-width: 720px; margin: 40px auto 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; align-items: stretch; }
.nf-dev { background: #23201D; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.nf-eq { width: 76px; height: 76px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #E7D9CB; position: relative; z-index: 2; }
.nf-eq svg { width: 36px; height: 36px; }
.nf-tag { position: absolute; top: calc(50% + 18px); left: calc(50% + 30px); font-size: 9px; color: #C8852E; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; z-index: 2; }
.nf-tag svg { width: 15px; height: 15px; }
.nf-waves { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.nf-waves span { position: absolute; border: 2px solid var(--color-rust); border-radius: 50%; opacity: 0; width: 60px; height: 60px; }
.nf-dev.read .nf-waves span { animation: nfW 1.2s ease-out; }
.nf-dev.read .nf-waves span:nth-child(2){ animation-delay: .25s; }
.nf-dev.read .nf-waves span:nth-child(3){ animation-delay: .5s; }
@keyframes nfW { 0% { opacity: .7; width: 50px; height: 50px; } 100% { opacity: 0; width: 190px; height: 190px; } }
.nf-cap { color: #A79E94; font-size: 11.5px; margin-top: 16px; line-height: 1.5; }
.nf-btn { margin-top: 14px; background: var(--color-rust); color: #fff; border: none; border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s ease; }
.nf-btn svg { width: 15px; height: 15px; }
.nf-btn:hover { background: var(--color-rust-deep); }
.nf-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; min-height: 246px; display: flex; flex-direction: column; justify-content: center; }
.nf-empty { text-align: center; color: var(--color-dove); font-size: 13px; line-height: 1.5; }
.nf-empty svg { width: 28px; height: 28px; display: block; margin: 0 auto 10px; color: #D8CDBD; }
.nf-content { display: none; }
.nf-content.on { display: block; animation: nfFade .4s ease; }
@keyframes nfFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nf-eqh { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--color-fog); margin-bottom: 14px; }
.nf-eqh .ei { width: 42px; height: 42px; border-radius: 11px; background: var(--color-apricot); color: var(--color-rust); display: grid; place-items: center; flex: none; }
.nf-eqh .ei svg { width: 21px; height: 21px; }
.nf-eqh .en { font-family: var(--font-display); font-size: 17px; color: var(--color-ink); font-weight: 500; }
.nf-eqh .em { font-size: 11.5px; color: var(--color-graphite); margin-top: 1px; }
.nf-eqh .est { margin-left: auto; font-size: 10.5px; font-weight: 600; color: #3C7A5E; background: #E7F2EC; border-radius: 999px; padding: 4px 11px; }
.nf-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 14px; }
.nf-meta .m { background: var(--color-fog); border-radius: 9px; padding: 9px 12px; }
.nf-meta .ml { font-size: 9.5px; color: var(--color-dove); font-weight: 600; letter-spacing: .03em; }
.nf-meta .mv { font-size: 13.5px; color: var(--color-ink); font-weight: 600; margin-top: 2px; }
.nf-chk-t { font-size: 11px; font-weight: 600; color: var(--color-graphite); letter-spacing: .03em; margin-bottom: 9px; }
.nf-chk { list-style: none; margin: 0; padding: 0; }
.nf-chk li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--color-ash); padding: 5px 0; opacity: 0; transform: translateX(-6px); }
.nf-content.on .nf-chk li { animation: nfChk .35s ease forwards; }
.nf-content.on .nf-chk li:nth-child(1){ animation-delay: .15s; }
.nf-content.on .nf-chk li:nth-child(2){ animation-delay: .3s; }
.nf-content.on .nf-chk li:nth-child(3){ animation-delay: .45s; }
.nf-content.on .nf-chk li:nth-child(4){ animation-delay: .6s; }
.nf-content.on .nf-chk li:nth-child(5){ animation-delay: .75s; }
@keyframes nfChk { to { opacity: 1; transform: none; } }
.nf-chk li .ck { width: 18px; height: 18px; color: #3C7A5E; flex: none; }
@media (max-width: 600px){ .nf-demo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce){
  .nf-dev.read .nf-waves span { animation: none; }
  .nf-content.on .nf-chk li { animation: none; opacity: 1; transform: none; }
  .nf-content.on { animation: none; }
}

/* --- Minería · georreferenciado v2 (mapa interactivo) --- */
.m2-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 36px 0 14px; }
.m2-tab { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--color-graphite); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.m2-tab .ct { font-size: 10.5px; background: var(--color-fog); color: var(--color-graphite); border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.m2-tab.on { color: #fff; border-color: transparent; }
.m2-tab.on.t0 { background: #C8623A; } .m2-tab.on.t1 { background: #C8852E; } .m2-tab.on.t2 { background: #3C7A5E; } .m2-tab.on.t3 { background: #6E7A88; }
.m2-tab.on .ct { background: rgba(255,255,255,.25); color: #fff; }
.m2-alert { max-width: 720px; margin: 0 auto 14px; display: flex; align-items: center; gap: 10px; background: #FBEFE0; border: 1px solid #F0D9B8; border-radius: 11px; padding: 11px 15px; font-size: 13px; color: #9A6A22; cursor: pointer; transition: background .2s ease; }
.m2-alert:hover { background: #F8E7CF; }
.m2-alert .ai { color: #C8852E; flex: none; width: 18px; height: 18px; animation: m2pulse 1.6s infinite; }
@keyframes m2pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.m2-alert b { color: #7A5310; font-weight: 600; }
.m2-alert .go { margin-left: auto; font-weight: 600; color: #B07A2E; font-size: 12px; white-space: nowrap; flex: none; }
.m2-map { position: relative; max-width: 720px; margin: 0 auto; aspect-ratio: 16/9; background: #F4ECE0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.m2-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m2-sec { font-family: var(--font-ui); font-size: 10px; font-weight: 600; fill: #B6A892; letter-spacing: .05em; }
.m2-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 2; background: none; border: none; padding: 0; }
.m2-pin .pd { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 4px 10px -3px rgba(60,40,30,.5); transition: transform .2s ease; }
.m2-pin .pd svg { transform: rotate(45deg); width: 14px; height: 14px; color: #fff; }
.m2-pin.sel .pd, .m2-pin:hover .pd { transform: rotate(-45deg) scale(1.18); }
.m2-pin.sel::after { content: ""; position: absolute; left: 50%; top: 0; transform: translate(-50%, -46%); width: 40px; height: 40px; border: 2px solid currentColor; border-radius: 50%; opacity: .5; }
.m2-pin.alert .pd { animation: m2ping 1.4s infinite; }
@keyframes m2ping { 0%,100% { box-shadow: 0 4px 10px -3px rgba(60,40,30,.5), 0 0 0 0 rgba(200,133,46,.5); } 50% { box-shadow: 0 4px 10px -3px rgba(60,40,30,.5), 0 0 0 8px rgba(200,133,46,0); } }
.m2-detail { max-width: 720px; margin: 14px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 17px; display: flex; align-items: center; gap: 13px; min-height: 66px; }
.m2-di { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.m2-di svg { width: 19px; height: 19px; }
.m2-dt .nm { font-family: var(--font-display); font-size: 16px; color: var(--color-ink); font-weight: 500; }
.m2-dt .mt { font-size: 12.5px; color: var(--color-graphite); margin-top: 1px; }
.m2-badge { margin-left: auto; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 5px 12px; white-space: nowrap; flex: none; }
.m2-badge.warn { background: #FBEFE0; color: #B07A2E; }
.m2-badge.ok { background: #E7F2EC; color: #3C7A5E; }
.m2-leg { text-align: center; font-size: 12px; color: var(--color-dove); margin-top: 16px; }
.m2-leg b { color: var(--color-graphite); }
@media (max-width: 540px){ .m2-detail { flex-wrap: wrap; } .m2-badge { margin-left: 0; } }
@media (prefers-reduced-motion: reduce){ .m2-pin.alert .pd { animation: none; } .m2-alert .ai { animation: none; } }

/* --- Minería · NFC v2 (teléfono) --- */
.n2-steps { display: flex; justify-content: center; gap: 9px; margin: 36px 0 22px; flex-wrap: wrap; }
.n2-st { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--color-graphite); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; transition: color .3s ease, background .3s ease, border-color .3s ease; }
.n2-st .sn { width: 19px; height: 19px; border-radius: 50%; background: var(--color-fog); color: var(--color-dove); font-size: 10.5px; display: grid; place-items: center; font-weight: 700; transition: background .3s ease, color .3s ease; }
.n2-st.on { color: var(--color-ink); border-color: var(--color-rust-soft); background: var(--color-apricot); }
.n2-st.on .sn { background: var(--color-rust); color: #fff; }
.n2-stage { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; }
.n2-eq { flex: none; width: 140px; text-align: center; }
.n2-eqbox { width: 100px; height: 100px; margin: 0 auto; border-radius: 22px; background: #23201D; display: grid; place-items: center; color: #E7D9CB; position: relative; }
.n2-eqbox > svg { width: 44px; height: 44px; }
.n2-tag { position: absolute; bottom: -8px; right: -8px; background: #C8852E; color: #fff; font-size: 9px; font-weight: 700; border-radius: 7px; padding: 3px 7px; display: flex; align-items: center; gap: 3px; }
.n2-tag svg { width: 11px; height: 11px; }
.n2-eql { font-size: 11.5px; color: var(--color-graphite); margin-top: 14px; font-weight: 600; }
.n2-link { flex: 1; height: 64px; position: relative; display: grid; place-items: center; min-width: 50px; }
.n2-wave { position: absolute; width: 15px; height: 15px; border-right: 2.5px solid var(--color-rust); border-top: 2.5px solid var(--color-rust); transform: rotate(45deg); opacity: 0; }
.n2-link.go .n2-wave { animation: n2w 1s ease-out infinite; }
.n2-link.go .n2-wave:nth-child(1){ animation-delay: 0s; }
.n2-link.go .n2-wave:nth-child(2){ animation-delay: .2s; left: 40%; }
.n2-link.go .n2-wave:nth-child(3){ animation-delay: .4s; left: 56%; }
@keyframes n2w { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.n2-phone { flex: none; width: 196px; height: 312px; background: #1A1714; border-radius: 28px; padding: 9px; box-shadow: 0 22px 44px -18px rgba(40,28,20,.6); position: relative; }
.n2-phone::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; background: #352f2a; border-radius: 3px; z-index: 3; }
.n2-screen { width: 100%; height: 100%; background: #FDFBF7; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.n2-idle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; color: var(--color-dove); }
.n2-idle svg { width: 34px; height: 34px; margin-bottom: 12px; color: #D8CDBD; }
.n2-idle span { font-size: 12px; line-height: 1.5; }
.n2-res { flex: 1; display: none; flex-direction: column; }
.n2-res.on { display: flex; animation: n2f .4s ease; }
@keyframes n2f { from { opacity: 0; } to { opacity: 1; } }
.n2-rh { background: var(--color-rust); color: #fff; padding: 12px 14px; }
.n2-rh .ok { font-size: 9.5px; font-weight: 600; opacity: .9; display: flex; align-items: center; gap: 5px; }
.n2-rh .ok svg { width: 12px; height: 12px; }
.n2-rh .nm { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-top: 3px; }
.n2-rh .sub { font-size: 10px; opacity: .88; }
.n2-rb { padding: 12px 14px; flex: 1; }
.n2-mt { display: flex; gap: 8px; margin-bottom: 12px; }
.n2-mt .m { flex: 1; background: var(--color-fog); border-radius: 8px; padding: 7px 9px; }
.n2-mt .ml { font-size: 8px; color: var(--color-dove); font-weight: 700; letter-spacing: .03em; }
.n2-mt .mv { font-size: 12px; color: var(--color-ink); font-weight: 600; margin-top: 1px; }
.n2-ct { font-size: 9.5px; font-weight: 700; color: var(--color-graphite); margin-bottom: 7px; letter-spacing: .03em; }
.n2-ck { list-style: none; margin: 0; padding: 0; }
.n2-ck li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--color-ash); padding: 3px 0; opacity: 0; transform: translateX(-5px); }
.n2-res.on .n2-ck li { animation: n2c .3s forwards; }
.n2-res.on .n2-ck li:nth-child(1){ animation-delay: .2s; }
.n2-res.on .n2-ck li:nth-child(2){ animation-delay: .35s; }
.n2-res.on .n2-ck li:nth-child(3){ animation-delay: .5s; }
.n2-res.on .n2-ck li:nth-child(4){ animation-delay: .65s; }
@keyframes n2c { to { opacity: 1; transform: none; } }
.n2-ck li svg { width: 13px; height: 13px; color: #3C7A5E; flex: none; }
.n2-cta { text-align: center; margin-top: 22px; }
.n2-btn { background: var(--color-rust); color: #fff; border: none; border-radius: 999px; padding: 11px 22px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s ease; }
.n2-btn svg { width: 15px; height: 15px; }
.n2-btn:hover { background: var(--color-rust-deep); }
@media (max-width: 600px){ .n2-eq { width: 100px; } .n2-eqbox { width: 78px; height: 78px; } .n2-eqbox > svg { width: 34px; height: 34px; } .n2-phone { width: 168px; height: 272px; } }
@media (prefers-reduced-motion: reduce){ .n2-link.go .n2-wave { animation: none; opacity: 1; } .n2-res.on .n2-ck li { animation: none; opacity: 1; transform: none; } .n2-res.on { animation: none; } }

/* --- Forestal · captura sin señal --- */
.of-card { max-width: 460px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 44px -28px rgba(60,40,30,.5); }
.of-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--color-fog); font-size: 13px; font-weight: 600; transition: background .4s ease; }
.of-bar .ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; transition: background .4s ease, color .4s ease; flex: none; }
.of-bar .ico svg { width: 15px; height: 15px; }
.of-bar.off { background: #FBF2EE; } .of-bar.off .ico { background: #F0DAD0; color: #B5836C; } .of-bar.off .lbl { color: #9A6A55; }
.of-bar.sync { background: #FBF6F0; } .of-bar.sync .ico { background: var(--color-apricot); color: var(--color-rust); } .of-bar.sync .lbl { color: var(--color-rust-deep); }
.of-bar.on { background: #EAF4EE; } .of-bar.on .ico { background: #D6EADD; color: #3C7A5E; } .of-bar.on .lbl { color: #3C7A5E; }
.of-bar .meta { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--color-dove); }
.of-list { padding: 8px; }
.of-item { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; }
.of-item .di { width: 34px; height: 34px; border-radius: 9px; background: var(--color-fog); color: var(--color-graphite); display: grid; place-items: center; flex: none; }
.of-item .di svg { width: 16px; height: 16px; }
.of-item .dt { flex: 1; min-width: 0; }
.of-item .dn { font-size: 13px; color: var(--color-ink); font-weight: 600; }
.of-item .dm { font-size: 11px; color: var(--color-dove); }
.of-stat { width: 22px; height: 22px; flex: none; display: grid; place-items: center; }
.of-stat .pend { color: #C2956F; width: 16px; height: 16px; }
.of-stat .spin { width: 15px; height: 15px; border: 2px solid #E4D5C8; border-top-color: var(--color-rust); border-radius: 50%; display: none; animation: ofSpin .7s linear infinite; }
.of-stat .done { color: #3C7A5E; width: 18px; height: 18px; display: none; }
@keyframes ofSpin { to { transform: rotate(360deg); } }
.of-item.syncing .pend { display: none; } .of-item.syncing .spin { display: block; }
.of-item.synced .pend { display: none; } .of-item.synced .spin { display: none; } .of-item.synced .done { display: block; animation: ofPop .3s ease; }
@keyframes ofPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.of-cta { text-align: center; margin-top: 20px; }
.of-btn { background: var(--color-rust); color: #fff; border: none; border-radius: 999px; padding: 11px 22px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s ease; }
.of-btn svg { width: 15px; height: 15px; }
.of-btn:hover { background: var(--color-rust-deep); }
.of-btn:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce){ .of-stat .spin { animation: none; } .of-item.synced .done { animation: none; } }

/* --- Forestal · rendimiento por cuadrilla --- */
.rc-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 36px 0 20px; }
.rc-tab { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--color-graphite); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.rc-tab.on { color: #fff; background: var(--color-rust); border-color: transparent; }
.rc-panel { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.rc-meta-l { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; font-size: 12px; color: var(--color-dove); }
.rc-meta-l b { color: var(--color-graphite); font-weight: 600; }
.rc-row { margin-bottom: 16px; }
.rc-row:last-child { margin-bottom: 0; }
.rc-rtop { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.rc-name { font-size: 13px; font-weight: 600; color: var(--color-ink); }
.rc-val { font-size: 13px; font-weight: 600; color: var(--color-ink); }
.rc-val .u { font-size: 10.5px; color: var(--color-dove); font-weight: 500; }
.rc-badge { font-size: 9.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; margin-left: 7px; }
.rc-badge.up { background: #E7F2EC; color: #3C7A5E; } .rc-badge.dn { background: #FBEFE0; color: #B07A2E; }
.rc-track { position: relative; height: 12px; background: var(--color-fog); border-radius: 6px; }
.rc-fill { height: 100%; border-radius: 6px; width: 0; transition: width .9s cubic-bezier(.2,.8,.3,1); }
.rc-fill.up { background: linear-gradient(90deg, var(--color-rust-soft), var(--color-rust)); } .rc-fill.dn { background: #D8C3A6; }
.rc-goal { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--color-graphite); border-radius: 2px; }
.rc-goal::after { content: 'meta'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-size: 8.5px; color: var(--color-graphite); font-weight: 700; white-space: nowrap; }
.rc-foot { text-align: center; font-size: 12px; color: var(--color-dove); margin-top: 16px; }
.rc-foot b { color: var(--color-graphite); }
@media (prefers-reduced-motion: reduce){ .rc-fill { transition: none; } }
