:root {
  --blue: #00468B;
  --blue-deep: #00305F;
  --orange: #FF6B00;
  --orange-hover: #E85F00;
  --gray: #A0A0A0;
  --bg: #FAFAF7;
  --bg-alt: #EDF5FC;
  --ink: #10253D;
  --ink-soft: #4A5B70;
  --card: #FFFFFF;
  --line: rgba(16, 37, 61, 0.10);
  --radius-lg: 32px;
  --radius: 20px;
  --wrap: 1200px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pv-section { padding: 112px 0; }
.pv-section.tight-top { padding-top: 0; }
.pv-section[id] { scroll-margin-top: 80px; }
.section-title { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; color: var(--ink); margin-top: 16px; max-width: 16ch; }
.section-lead { font-size: 19px; color: var(--ink-soft); max-width: 56ch; margin-top: 20px; }
.accent { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,107,0,.6); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--blue); letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); position: relative; overflow: hidden; }
.logo-mark::before { content: ""; position: absolute; left: 8px; top: 8px; width: 9px; height: 9px; background: var(--orange); border-radius: 2px; }
.logo-mark::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 9px; height: 9px; background: #fff; border-radius: 2px; }
.logo span { color: var(--orange); }
.logo .logo-sub { margin-left: 4px; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); opacity: .8; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--blue); }
.nav .btn { padding: 12px 22px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,70,139,.14), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.12), transparent 65%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1.seo-h1 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--bg-alt); }
.hero h1.seo-h1::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero-title { font-size: clamp(44px, 8.4vw, 112px); font-weight: 800; color: var(--blue); margin-top: 28px; letter-spacing: -0.045em; line-height: .98; }
.hero-title .line { display: block; }
.hero-sub { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-top: 48px; }
.hero-sub p { font-size: 20px; color: var(--ink-soft); max-width: 46ch; }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.tag { padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* Marquee */
.marquee { background: var(--blue); color: #fff; padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: scroll 32s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; color: var(--orange); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Problems */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.problem { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 16px; align-items: flex-start; }
.problem .x { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #FFF0E6; color: var(--orange); display: grid; place-items: center; font-weight: 700; }
.problem p { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; }

/* Value / mission */
.value { background: var(--card); border-radius: var(--radius-lg); margin: 0 16px; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.method { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: 56px 1fr; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method .num { font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: 15px; }
.method strong { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

/* Services */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px;
  display: flex; flex-direction: column; gap: 18px; min-height: 360px; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0,70,139,.35); border-color: rgba(0,70,139,.25); }
.service .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.service .big-num { font-family: var(--font-head); font-size: 64px; font-weight: 800; color: var(--bg-alt); position: absolute; right: 32px; top: 18px; line-height: 1; letter-spacing: -0.04em; }
.service .kicker { color: var(--orange); font-weight: 600; font-size: 14px; margin-top: auto; }
.service h3 { font-size: 32px; font-weight: 800; color: var(--blue); }
.service p { color: var(--ink-soft); }
.service .link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-family: var(--font-head); text-decoration: none; margin-top: 6px; }
.service .link:hover .arrow { transform: translateX(4px); }

/* Comparison */
.compare { background: var(--bg-alt); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.compare-grid > div { padding: 20px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.compare-grid .h { font-family: var(--font-head); font-weight: 800; font-size: 18px; padding: 28px; }
.compare-grid .pv { background: var(--blue); color: #fff; font-weight: 500; }
.compare-grid .pv.h { color: #fff; }
.compare-grid .pv::before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: 12px; }
.compare-grid .pv.h::before { content: none; }
.compare-grid .other { color: var(--ink-soft); }
.compare-grid .other::before { content: "—"; color: var(--gray); margin-right: 12px; }
.compare-grid .other.h::before { content: none; }
.compare-grid .label { font-weight: 600; }
.compare-grid > div:nth-last-child(-n+3) { border-bottom: 0; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.industry {
  border-radius: var(--radius-lg); padding: 36px; min-height: 420px; display: flex; flex-direction: column; gap: 16px;
  color: #fff; position: relative; overflow: hidden; text-decoration: none;
  transition: transform .3s ease;
}
.industry:hover { transform: translateY(-4px); }
.industry.tone-blue { background: linear-gradient(160deg, #0A5BAA, var(--blue-deep)); }
.industry.tone-orange { background: linear-gradient(160deg, #FF8A33, #E05500); }
.industry.tone-ink { background: linear-gradient(160deg, #1D3A5C, var(--ink)); }
.industry .badge { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.industry h3 { font-size: 30px; font-weight: 800; margin-top: auto; }
.industry p { opacity: .85; }
.industry .link { font-family: var(--font-head); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.industry .glyph { position: absolute; right: -30px; top: -30px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(255,255,255,.08); }
.seo-note { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-alt); color: var(--ink-soft); font-size: 16px; max-width: 760px; }
.seo-note strong { color: var(--ink); }

/* Process */
.process { background: var(--blue); color: #fff; border-radius: var(--radius-lg); margin: 0 16px; }
.process .section-title { color: #fff; }
.process .section-lead { color: #BFD7EE; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.step .n { font-family: var(--font-head); font-weight: 800; font-size: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { color: #BFD7EE; font-size: 15px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.plan.featured .plan-desc, .plan.featured .price small { color: #A9B7C7; }
.plan .tier { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan .pop { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 6px 12px; border-radius: 999px; }
.plan-desc { color: var(--ink-soft); font-size: 15px; }
.price { font-family: var(--font-head); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.price .from { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.plan .btn { margin-top: auto; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.extra { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.extra strong { font-family: var(--font-head); font-size: 19px; }
.extra span { color: var(--blue); font-weight: 700; font-family: var(--font-head); }
.disclaimer { margin-top: 20px; color: var(--ink-soft); font-size: 14px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); padding: 24px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 28px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); margin-top: 14px; max-width: 62ch; }

/* CTA + form */
.cta { background: var(--blue); color: #fff; border-radius: var(--radius-lg); margin: 0 16px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -200px; bottom: -300px; background: radial-gradient(circle, rgba(255,107,0,.35), transparent 65%); }
.cta .wrap { position: relative; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-top: 16px; }
.cta .lead { color: #D6E5F4; font-size: 19px; margin-top: 20px; max-width: 44ch; }
.cta .perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.cta .perks li { display: flex; gap: 12px; align-items: center; }
.cta .perks li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); font-weight: 800; font-size: 13px; flex: none; }
form.diag { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.diag h3 { grid-column: 1 / -1; font-size: 24px; font-weight: 800; color: var(--blue); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,70,139,.12); }
form.diag .btn { grid-column: 1 / -1; width: 100%; padding: 18px; }
form.diag .fine { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* Footer */
footer.site { padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--font-head); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--ink); opacity: .8; }
.foot-grid a:hover { opacity: 1; color: var(--blue); }
.foot-tag { color: var(--ink-soft); margin-top: 16px; max-width: 32ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 13vw, 180px); letter-spacing: -0.06em; line-height: .85; color: var(--blue); margin-top: 64px; white-space: nowrap; overflow: hidden; }
.wordmark span { color: var(--orange); }

/* WhatsApp float */
.wa {
  isolation: isolate;
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Animaciones ===== */
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }
header.site { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
header.site.hide { transform: translateY(-100%); }

/* Texto que aparece palabra por palabra */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--i) * 40ms); }
.split.in .w > span { transform: none; }

/* Palabras rotando en el hero */
.rotator { margin-top: 28px; font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: .35em; }
.rot { display: inline-block; height: 1.3em; overflow: hidden; vertical-align: bottom; color: var(--orange); }
.rot span { display: block; height: 1.3em; line-height: 1.3em; white-space: nowrap; transition: transform .7s cubic-bezier(.75,0,.25,1); }

/* Parallax de los fondos del hero */
.hero::before { transform: translate3d(calc(var(--mx, 0) * 40px), calc(var(--my, 0) * 40px + var(--sy, 0) * 160px), 0); transition: transform .5s ease-out; }
.hero::after { transform: translate3d(calc(var(--mx, 0) * -30px), calc(var(--my, 0) * -30px - var(--sy, 0) * 100px), 0); transition: transform .5s ease-out; }

/* Tarjetas flotantes del hero */
.sticker { position: absolute; z-index: 2; transform: translate3d(calc(var(--mx, 0) * var(--d)), calc(var(--my, 0) * var(--d)), 0) rotate(var(--r)); transition: transform .4s ease-out; pointer-events: none; }
.sticker-in { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px -20px rgba(16,37,61,.35); font-family: var(--font-head); font-weight: 700; font-size: 15px; white-space: nowrap; animation: pop .9s cubic-bezier(.2,.9,.3,1.3) var(--delay) both, bob 5s ease-in-out calc(var(--delay) + .9s) infinite; }
.sticker-in small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--ink-soft); }
.sticker .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; flex: none; }
.sticker.s1 { right: 24px; top: 0; --r: 6deg; --d: -22px; --delay: .9s; }
.sticker.s2 { right: 8%; bottom: -8px; --r: -5deg; --d: 18px; --delay: 1.2s; }
@keyframes pop { from { opacity: 0; transform: scale(.4) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Cintas cruzadas */
.bands { position: relative; padding: 48px 0; overflow: hidden; }
.bands .marquee { transform: rotate(-2.5deg) scale(1.05); position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(0,70,139,.5); }
.bands .marquee.alt { background: var(--orange); position: absolute; left: 0; right: 0; top: 50%; margin-top: -34px; transform: rotate(2.5deg) scale(1.05); z-index: 1; box-shadow: none; }
.bands .marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 40s; }
.bands .marquee.alt .marquee-track span::after { color: var(--blue); }
.marquee:hover .marquee-track { animation-play-state: paused; }

.problem { transition: transform .3s ease, box-shadow .3s ease; }
.problem:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 18px 40px -24px rgba(16,37,61,.35); }
.problem:hover .x { animation: shake .4s ease; }
@keyframes shake { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

/* Secciones que crecen al entrar */
.grow { transform-origin: 50% 0; will-change: transform; }

/* Servicios apilados */
.services-grid.stack { display: block; }
.stack .service { position: sticky; top: calc(100px + var(--i) * 22px); margin-bottom: 28px; min-height: 380px; transform-origin: 50% 0; will-change: transform; }
.stack .service:hover { transform: none; }
.stack .service:nth-child(2) { background: var(--bg-alt); }
.stack .service:nth-child(3) { background: var(--blue); border-color: var(--blue); }
.stack .service:nth-child(4) { background: var(--orange); border-color: var(--orange); }
.stack .service:nth-child(3) *, .stack .service:nth-child(4) * { color: #fff; }
.stack .service:nth-child(3) .big-num, .stack .service:nth-child(4) .big-num { color: rgba(255,255,255,.14); }
.stack .service:nth-child(2) .big-num { color: #fff; }
.stack .service:nth-child(4) .kicker { color: var(--ink); }
.s-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-top: auto; }
.s-body .s-left { display: grid; gap: 14px; }
.s-body .s-right { display: grid; gap: 18px; }
.stack .service h3 { font-size: clamp(32px, 4vw, 52px); }
.stack .service .big-num { font-size: clamp(80px, 12vw, 160px); }

/* Barra de progreso del proceso */
.steps-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); margin-top: 56px; overflow: hidden; }
.steps-fill { height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.steps { margin-top: 24px; }
.step { transition: transform .3s ease, background .3s ease; }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }

.industry { transition: transform .4s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.industry .glyph { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.industry:hover .glyph { transform: scale(1.5) translate(-20px, 20px); }
.industry .arrow { transition: transform .2s ease; }
.industry:hover .arrow { transform: translateX(5px); }

.plan { transition: transform .3s ease, box-shadow .3s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(16,37,61,.4); }

.btn { will-change: transform; }
.btn-primary { background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%); background-size: 200% 100%; background-position: 150% 0; background-repeat: no-repeat; }
.btn-primary:hover { background-position: -50% 0; transition: transform .2s ease, background-position .7s ease, background-color .2s ease; }

.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .split .w > span { transform: none; transition: none; }
  .rot span, .sticker-in, .wa::before { animation: none; }
  .rot span:not(:first-child) { display: none; }
}


/* Tarjetas flotantes como vidrio esmerilado */
.sticker-in {
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 24px 50px -22px rgba(76, 46, 170, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.sticker .ico svg { width: 18px; height: 18px; }

/* Iconos dibujados (en vez de caracteres Unicode) */
:root {
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.1 7.9L22 12l-7.9 2.1L12 22l-2.1-7.9L2 12l7.9-2.1z'/%3E%3C/svg%3E");
}
.arrow { display: inline-block; flex: none; width: 18px; height: 18px; font-size: 0; vertical-align: middle; background-color: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.compare-grid .pv::before, .plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background-color: var(--orange); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.compare-grid .pv::before { margin-top: 0; }
.cta .perks li::before { content: ""; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.problem .x { font-size: 0; }
.problem .x::before { content: ""; width: 14px; height: 14px; background-color: currentColor; -webkit-mask: var(--i-x) center / contain no-repeat; mask: var(--i-x) center / contain no-repeat; }
.marquee-track span::after { content: ""; width: 18px; height: 18px; flex: none; background-color: var(--orange); -webkit-mask: var(--i-spark) center / contain no-repeat; mask: var(--i-spark) center / contain no-repeat; }
.bands .marquee.alt .marquee-track span::after { background-color: var(--blue); }
summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background-color: var(--orange); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform .25s cubic-bezier(.16,1,.3,1); }

/* Superficies del navegador */
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: var(--blue) var(--bg); }
input, select { caret-color: var(--orange); accent-color: var(--orange); }

/* Responsive */
@media (max-width: 1080px) {
  .sticker.s1 { top: -20px; }
}
@media (max-width: 860px) {
  .sticker { display: none; }
  .s-body { grid-template-columns: 1fr; gap: 18px; }
  .stack .service { top: calc(88px + var(--i) * 14px); min-height: 0; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .industries-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pv-section { padding: 80px 0; }
  .pv-section.tight-top { padding-top: 0; }
  .nav-links, .nav .btn { display: none; }
  .menu-toggle { display: block; }
  header.site.open .nav-links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); padding: 16px 24px 24px; border-bottom: 1px solid var(--line);
  }
  header.site.open .nav-links a { display: block; padding: 12px 0; font-size: 18px; }
  .hero-sub, .value-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-ctas { justify-content: flex-start; }
  .services-grid, .industries-grid, .pricing-grid, .problems-grid, .extras { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid .label { grid-column: 1 / -1; background: var(--bg-alt); padding: 14px 20px; font-size: 14px; }
  .compare-grid .h.label { display: none; }
  .compare-grid > div { padding: 16px 20px; font-size: 15px; }
  .compare-grid > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .value, .process, .cta { margin: 0 8px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .service { padding: 28px; min-height: 0; }
  form.diag { grid-template-columns: 1fr; padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

/* ===== WordPress + Elementor ===== */
/* Los widgets PixelVenta controlan su propio espaciado. */
.elementor-widget[class*="elementor-widget-pv-"] { margin-block-end: 0 !important; margin-bottom: 0 !important; }
.elementor-section .elementor-column-gap-no > .elementor-column > .elementor-element-populated { padding: 0; }
.e-con:has(> [class*="elementor-widget-pv-"]), .e-con > .e-con-inner:has(> [class*="elementor-widget-pv-"]) { padding: 0; gap: 0; max-width: none; }
/* En el editor el contenido se muestra sin esperar al scroll. */
.elementor-editor-active .reveal { opacity: 1; transform: none; }
.elementor-editor-active .split .w > span { transform: none; }

.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
.nav-links .sub-menu { display: none; }
.logo img, .custom-logo { max-height: 44px; width: auto; }
.screen-reader-text:focus { position: fixed; clip: auto; width: auto; height: auto; z-index: 200; top: 8px; left: 8px; padding: 12px 18px; background: #fff; border-radius: 12px; }
.screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Páginas y entradas que no usan Elementor */
.pv-page { padding: 72px 0 112px; }
.pv-page .wrap { max-width: 820px; }
.pv-page-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--blue); margin-bottom: 32px; }
.pv-page-content p, .pv-page-content ul, .pv-page-content ol { margin: 0 0 1.2em; }
.pv-page-content h2, .pv-page-content h3 { margin: 1.6em 0 .6em; color: var(--ink); }
.pv-page-content a { color: var(--blue); text-underline-offset: 3px; }
.pv-page-content img { height: auto; border-radius: var(--radius); }
.pv-bottom { padding: 32px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.pv-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }