/* ==========================================================
   Raptor™ — somosraptor.com
   Marca: verde #00BF63 · azul #0077C8 · rojo #FF5757 · amarillo #FFDE59
   Fondos: tinta #0F1115 · papel #F4F1EA
   ========================================================== */

:root {
  --green: #00BF63;
  --green-d: #00894A;
  --blue: #0077C8;
  --red: #FF5757;
  --red-d: #D93A3A;
  --yellow: #FFDE59;

  --ink: #0F1115;
  --ink-2: #171A20;
  --ink-3: #232731;
  --paper: #F4F1EA;
  --paper-2: #EBE6DB;
  --white: #FFFFFF;
  --text: #1B1E24;
  --muted: #5B606B;
  --muted-light: #A7ADB8;
  --line: #DCD6C9;
  --line-dark: #2C313C;

  --f-head: "Sora", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15,17,21,.06), 0 12px 32px -12px rgba(15,17,21,.18);
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; color: var(--muted); margin: 0 0 .5rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.c-green { color: var(--green); } .c-green-d { color: var(--green-d); }
.c-red { color: var(--red); } .c-blue { color: var(--blue); } .c-yellow { color: var(--yellow); }
.c-mute { color: #6E7582; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-head); font-weight: 600; font-size: .98rem; letter-spacing: -0.005em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: #12D673; box-shadow: 0 10px 24px -10px rgba(0,191,99,.7); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: #ECE8DF; box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text); }
.nav a:not(.btn):hover { color: var(--green-d); }
.nav .nav-cta { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.dark { background: var(--ink); color: #E9ECF1; }
.dark h2, .dark h3 { color: var(--white); }
.paper { background: var(--paper); }
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-d); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.dark .kicker { color: var(--green); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead-sm { font-size: 1.1rem; color: var(--muted); }
.dark .lead-sm { color: var(--muted-light); }
.card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .04em; color: var(--muted-light); margin-bottom: 1.4rem; }
.squares { display: inline-flex; gap: 4px; }
.squares i { width: 9px; height: 9px; display: block; }
.squares i:nth-child(1) { background: var(--red); } .squares i:nth-child(2) { background: var(--blue); }
.squares i:nth-child(3) { background: var(--yellow); } .squares i:nth-child(4) { background: var(--green); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; color: var(--white); margin-bottom: .45em; }
.hero h1 .hl { color: var(--green); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #C3C8D1; max-width: 580px; }
.hero .lead strong { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.6rem; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--muted-light); }
.hero-proof li { display: inline-flex; align-items: center; gap: .45em; }
.hero-proof .ico { color: var(--green); }

.hero-visual { position: relative; }
.term { background: #0A0C10; border: 1px solid var(--line-dark); border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); background: #11141A; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2F3440; }
.term-bar i:nth-child(1) { background: var(--red); } .term-bar i:nth-child(2) { background: var(--yellow); } .term-bar i:nth-child(3) { background: var(--green); }
.term-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: .75rem; color: #6E7582; }
.term-body { padding: 18px 20px 22px; font-family: var(--f-mono); font-size: .84rem; line-height: 1.85; color: #D9DDE4; }
.term-body p { margin: 0; opacity: 0; transform: translateY(4px); animation: line-in .35s ease forwards; }
.term-body p:nth-child(1) { animation-delay: .2s; } .term-body p:nth-child(2) { animation-delay: .6s; }
.term-body p:nth-child(3) { animation-delay: 1s; } .term-body p:nth-child(4) { animation-delay: 1.3s; }
.term-body p:nth-child(5) { animation-delay: 1.6s; } .term-body p:nth-child(6) { animation-delay: 1.9s; }
.term-body p:nth-child(7) { animation-delay: 2.4s; } .term-body p:nth-child(8) { animation-delay: 2.9s; }
.term-body p:nth-child(9) { animation-delay: 3.2s; } .term-body p:nth-child(10) { animation-delay: 3.6s; }
.term-result { margin-top: 6px !important; font-size: 1.05rem; font-weight: 500; }
.cursor { display: inline-block; width: 9px; height: 1.1em; background: var(--green); vertical-align: -3px; margin-left: 6px; animation: blink 1s steps(1) infinite; }
@keyframes line-in { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
.hero-badge {
  position: absolute; left: -28px; bottom: -64px; max-width: 250px;
  background: var(--yellow); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  transform: rotate(-2deg);
}
.hero-badge strong { display: block; font-family: var(--f-head); font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.hero-badge span { font-size: .85rem; line-height: 1.35; display: block; }

/* ---------- Logos ---------- */
.logos { padding: 40px 0 44px; border-bottom: 1px solid #EEEBE4; background: var(--white); }
.logos-title { text-align: center; font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; height: 56px; display: flex; align-items: center; }
.marquee-track img { max-height: 52px; max-width: 140px; width: auto; filter: grayscale(1) contrast(1.15) brightness(1.04); mix-blend-mode: multiply; opacity: .72; transition: filter .25s, opacity .25s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Quiz ---------- */
.quote { font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; border-left: 4px solid var(--red); padding-left: 18px; margin-top: 1.6rem; color: var(--ink); }
.quiz { padding: clamp(22px, 3vw, 32px); }
.quiz-head h3 { font-size: 1.35rem; margin-bottom: .3em; }
.quiz-head .muted { margin-bottom: 1.1rem; font-size: .95rem; }
.quiz-list { display: grid; gap: 8px; }
.quiz-list label {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 11px 14px; border: 1.5px solid #E6E1D6; border-radius: 12px; font-size: .95rem; line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.quiz-list label:hover { border-color: #C9C2B3; }
.quiz-list input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid #B9B2A3; border-radius: 5px; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.quiz-list input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.quiz-list input:checked { background: var(--green); border-color: var(--green); }
.quiz-list input:checked::after { opacity: 1; }
.quiz-list label:has(input:checked) { border-color: var(--green); background: #EFFBF4; }
.quiz-result { margin-top: 18px; }
.meter { height: 8px; background: #EEE9DF; border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.meter span { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width .4s ease, background .3s; }
.quiz-level { font-family: var(--f-head); font-weight: 600; margin-bottom: .3em; }
.quiz-rec { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.quiz-rec:empty { display: none; }

/* ---------- Model ---------- */
.pipeline { list-style: none; padding: 0; margin: 0 auto 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-family: var(--f-mono); font-size: .85rem; }
.pipeline li { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 99px; color: #C3C8D1; position: relative; }
.pipeline li:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 50%; transform: translate(50%, -50%); color: #555C69; font-size: .8rem; }
.pipeline li:not(:last-child) { margin-right: 10px; }
.pipeline .is-end { background: var(--green); color: var(--ink); border-color: var(--green); font-weight: 500; }
.model-note { text-align: center; max-width: 720px; margin: 0 auto; color: var(--muted-light); }
.model-note strong { color: var(--white); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.service { display: flex; flex-direction: column; background: var(--white); border: 1px solid #E6E1D6; border-radius: var(--r-lg); padding: 26px 22px 22px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service.featured { background: var(--ink); color: #D9DDE4; border-color: var(--ink); }
.service.featured h3 { color: var(--white); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; min-height: 26px; }
.service-num { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.featured .service-num { color: #7B8290; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--yellow); color: var(--ink); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.service-ico { width: 34px; height: 34px; color: var(--green-d); margin-bottom: 14px; }
.featured .service-ico { color: var(--green); }
.service h3 { font-size: 1.18rem; margin-bottom: .2em; }
.service-sub { font-size: .88rem; font-weight: 600; color: var(--blue); margin-bottom: .8em; }
.featured .service-sub { color: var(--yellow); }
.service > p { font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 7px; font-size: .9rem; line-height: 1.4; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 8px; height: 8px; background: var(--green); }
.service .ticks { flex: 1; }
.service-meta { display: flex; align-items: center; gap: .4em; font-size: .88rem; color: var(--muted-light); margin-bottom: 1rem; }
.service .btn { margin-top: auto; }

/* ---------- Stats ---------- */
.stats { padding: 56px 0; border-top: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat strong { display: block; font-family: var(--f-head); font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.04em; color: var(--white); line-height: 1.05; margin-bottom: 8px; }
.stat:nth-child(1) strong { color: var(--green); } .stat:nth-child(2) strong { color: var(--yellow); }
.stat:nth-child(3) strong { color: var(--red); } .stat:nth-child(4) strong { color: #4FA9EA; }
.stat span { font-size: .93rem; color: var(--muted-light); line-height: 1.45; display: block; }

/* ---------- Cases ---------- */
.browser { background: #E9E5DC; border-radius: 12px; overflow: hidden; border: 1px solid #DDD7CA; }
.browser-bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #F7F5F0; border-bottom: 1px solid #E3DED3; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5CFC2; }
.browser img { width: 100%; object-fit: cover; object-position: top; }
.case-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); padding: clamp(18px, 3vw, 32px); margin-bottom: 36px; align-items: center; }
.case-hero .case-media img { aspect-ratio: 1 / 1; }
.case-logo { height: 36px; width: auto; margin-bottom: 14px; mix-blend-mode: multiply; }
.case-logo-text { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); margin-bottom: 12px; min-height: 36px; display: flex; align-items: center; }
.case-hero h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.case-metrics div { background: var(--paper); border-radius: 12px; padding: 14px; }
.case-metrics strong { display: block; font-family: var(--f-head); font-size: 1.35rem; letter-spacing: -0.03em; color: var(--green-d); }
.case-metrics span { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: 500 .9rem var(--f-body); padding: 8px 16px; border-radius: 99px; border: 1.5px solid #D6D0C3; background: transparent; color: var(--text); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { display: flex; flex-direction: column; overflow: hidden; padding: 14px; transition: transform .2s, opacity .25s; }
.case:hover { transform: translateY(-3px); }
.case.is-hidden { display: none; }
.case .case-media img { aspect-ratio: 16 / 10; }
.case-body { padding: 18px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.case .case-logo { height: 30px; }
.case h3 { font-size: 1.1rem; }
.case-body > p { font-size: .93rem; color: var(--muted); }
.pills { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: var(--paper); color: #3D424C; }
.case-flags { margin: 12px 0 0; font-size: 1.1rem; letter-spacing: .15em; }
.cta-inline { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--white); border: 1.5px dashed #CFC8B9; border-radius: var(--r-lg); padding: 22px 26px; }
.cta-inline p { margin: 0; max-width: 620px; }

/* ---------- Calculator ---------- */
.calc-section { background: linear-gradient(180deg, #FFFFFF, #F8F6F1); }
.calc { padding: clamp(22px, 3vw, 32px); }
.calc-field { margin-bottom: 18px; }
.calc-field label { display: flex; justify-content: space-between; gap: 10px; font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.calc-field output { font-family: var(--f-mono); font-weight: 500; color: var(--green-d); white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--green) var(--p, 50%), #E6E1D6 var(--p, 50%)); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 18px; }
.calc-out > div { border-radius: 14px; padding: 16px; background: var(--paper); }
.calc-out span { display: block; font-size: .82rem; color: var(--muted); }
.calc-out strong { display: block; font-family: var(--f-head); font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.03em; line-height: 1.2; margin: 2px 0; }
.calc-out em { font-style: normal; font-size: .82rem; color: var(--muted); }
.calc-out .calc-save { background: var(--ink); }
.calc-save span, .calc-save em { color: var(--muted-light); }
.calc-save strong { color: var(--green); }

/* ---------- Method ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; background: var(--white); border-radius: var(--r); padding: 22px 18px; border: 1px solid #E6E1D6; }
.step::after { content: ""; position: absolute; top: 34px; right: -15px; width: 16px; height: 2px; background: #CFC8B9; }
.step:last-child::after { display: none; }
.step-n { display: inline-block; font-family: var(--f-mono); font-size: .78rem; font-weight: 500; color: var(--ink); background: var(--yellow); padding: 3px 8px; border-radius: 6px; margin-bottom: 12px; }
.step h3 { font-size: 1.02rem; margin-bottom: .4em; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 36px; border-top: 1px solid var(--line); }
.pillar h3 { font-size: 1.12rem; margin-top: 14px; }
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }
.sq { display: block; width: 18px; height: 18px; }
.sq-red { background: var(--red); } .sq-blue { background: var(--blue); } .sq-green { background: var(--green); }

/* ---------- Compare ---------- */
.compare-wrap { overflow-x: auto; margin: 0 auto 56px; max-width: 900px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.compare th, .compare td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--line-dark); }
.compare thead th { font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--muted-light); }
.compare tbody th { text-align: left; font-weight: 500; color: #E9ECF1; }
.compare td { color: var(--muted-light); }
.compare .col-raptor { background: rgba(0,191,99,.08); }
.compare thead .col-raptor { color: var(--ink); background: var(--green); border-radius: 12px 12px 0 0; font-weight: 700; }
.compare tbody tr:last-child .col-raptor { border-radius: 0 0 12px 12px; }
.compare .ico { width: 20px; height: 20px; vertical-align: middle; }
.compare .yes { color: var(--green); } .compare .no { color: #5C6370; }
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 24px 22px; }
.g .ico { width: 28px; height: 28px; color: var(--yellow); margin-bottom: 14px; }
.g h3 { font-size: 1.05rem; }
.g p { font-size: .92rem; color: var(--muted-light); margin: 0; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { background: var(--white); border-radius: var(--r-lg); padding: 30px 26px; text-align: center; border: 1px solid #E6E1D6; }
.avatar { width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; padding: 4px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.ring-green { background: var(--green); } .ring-blue { background: var(--blue); } .ring-red { background: var(--red); }
.person h3 { font-size: 1.25rem; margin-bottom: .15em; }
.role { font-weight: 700; font-size: .92rem; margin-bottom: .9em; }
.role.c-red { color: var(--red-d); }
.person > p:not(.role) { font-size: .94rem; color: var(--muted); }
.link-in { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; color: var(--blue); text-decoration: none; }
.link-in:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid #E6E1D6; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: 1.2rem; transition: transform .2s, background .2s; }
.faq details[open] summary::after { content: "−"; background: var(--green); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 720px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact .split { align-items: start; }
.contact .split-copy > p { color: #C3C8D1; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: .6em; align-items: center; }
.contact-list .ico { color: var(--green); }
.wa-direct { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 22px 14px 16px; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--ink-2); transition: border-color .2s; }
.wa-direct:hover { border-color: var(--green); }
.wa-direct .ico { width: 34px; height: 34px; color: var(--green); }
.wa-direct span { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--white); line-height: 1.2; }
.wa-direct small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: var(--muted-light); }
.lead-form { padding: clamp(22px, 3vw, 34px); color: var(--text); }
.lead-form h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 1rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { margin-bottom: 14px; }
.f label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #DDD7CA; border-radius: 10px; background: #FCFBF8; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.f textarea { resize: vertical; min-height: 84px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,191,99,.15); }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-ok { margin-top: 14px; padding: 14px 16px; background: #EFFBF4; border: 1px solid #BFEBD2; border-radius: 12px; font-size: .95rem; }
.form-ok p { margin: 0; }
.form-ok a { color: var(--green-d); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--white); border-top: 1px solid #ECE8DF; padding: 44px 0 28px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #ECE8DF; }
.footer-brand { max-width: 320px; }
.footer-brand img { width: 118px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { text-decoration: none; color: var(--text); }
.footer-nav a:hover { color: var(--green-d); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background .2s; }
.footer-social a:hover { background: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transform: translateY(120px); transition: transform .35s ease;
}
.wa-float.is-visible { transform: none; }
.wa-float .ico { width: 24px; height: 24px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .guarantees { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 20px 20px; border-bottom: 1px solid #ECE8DF; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #F0EDE6; font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 14px; padding: .9em; }
  .hero-inner, .split, .case-hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-bottom: 20px; }
  .hero-badge { left: auto; right: -6px; bottom: -24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .services, .cases, .guarantees, .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .case-metrics { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .case-metrics div { padding: 10px; }
  .case-metrics strong { font-size: 1.05rem; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .calc-out { grid-template-columns: 1fr; }
  .cta-inline .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .marquee-track { gap: 40px; }
  .marquee-track img { max-width: 110px; max-height: 42px; }
  .term-body { font-size: .76rem; }
  .pipeline li:not(:last-child)::after { display: none; }
  .pipeline li:not(:last-child) { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .term-body p { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes casos ---------- */
.case-body .case-logo { align-self: flex-start; width: auto; max-width: 190px; object-fit: contain; object-position: left center; }
.case-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px 28px; align-items: center; }
.case-wide .case-media img { aspect-ratio: 16 / 9; }
.case-wide .case-body { padding: 8px 12px 8px 0; }
@media (max-width: 640px) {
  .case-wide { grid-template-columns: 1fr; }
  .case-wide .case-body { padding: 18px 8px 6px; }
}

/* ---------- Martech a medida: 4 frentes ---------- */
.funnel { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage { position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 28px 22px 22px; overflow: hidden; }
.stage::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.st-red::before { background: var(--red); } .st-blue::before { background: var(--blue); }
.st-yellow::before { background: var(--yellow); } .st-green::before { background: var(--green); }
.stage-n { font-family: var(--f-mono); font-size: .78rem; color: #6E7582; margin-bottom: 10px; }
.stage h3 { font-size: 1.4rem; }
.st-red h3 { color: var(--red); } .st-blue h3 { color: #4FA9EA; } .st-yellow h3 { color: var(--yellow); } .st-green h3 { color: var(--green); }
.stage > p { color: var(--muted-light); font-size: .94rem; }
.stage-proof { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: .86rem !important; color: #C3C8D1 !important; }
.stage-proof strong { color: var(--white); }
.pipeline.formula li::after { content: "+"; font-size: 1rem; color: var(--green); }
.pipeline.formula li:nth-child(2)::after { content: "="; }

.d { display: inline-block; width: 9px; height: 9px; flex: none; }
.d-red { background: var(--red); } .d-blue { background: var(--blue); } .d-yellow { background: var(--yellow); } .d-green { background: var(--green); }
.stages { display: flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); margin: -.3em 0 .9em; }
.stages .d:last-of-type { margin-right: 4px; }
.featured .stages { color: var(--muted-light); }
.chip { display: inline-flex; align-items: center; gap: 7px; }

.stage-tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.stage-tags li { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; padding: 3px 9px; border-radius: 6px; }
.t-red { background: #FFE3E3; color: #B42323; } .t-blue { background: #DCEEFB; color: #005A99; }
.t-yellow { background: #FFF4C2; color: #7A5B00; } .t-green { background: #D9F7E7; color: #00703C; }
.impact { font-size: .9rem !important; color: var(--text) !important; background: var(--paper); border-left: 3px solid var(--green); padding: 10px 12px; border-radius: 0 10px 10px 0; margin-top: auto; }
.case-body > h3 + p { margin-bottom: 1em; }
.case .impact { margin-top: auto; margin-bottom: 0; }

@media (max-width: 1080px) { .funnel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .funnel { grid-template-columns: 1fr; } }
