: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; min-height: 76px; padding-block: 8px; 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(var(--steps, 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: 100%; 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; }
.custom-logo-link { display: flex; align-items: center; flex: none; }
img.custom-logo { height: var(--logo-h, 56px); max-height: none; width: auto; max-width: min(360px, 60vw); object-fit: contain; }
@media (max-width: 860px) { img.custom-logo { height: min(var(--logo-h, 56px), 52px); } }
.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; }
/* ===== Imágenes editables ===== */
.logo-icon { width: 34px; height: 34px; object-fit: contain; border-radius: 10px; flex: none; }
.sticker .ico i { font-size: 16px; line-height: 1; }
.sticker .ico svg { fill: currentColor; }
.sticker .ico svg[fill="none"] { fill: none; }

/* Elementor fija «.elementor img { height: auto; max-width: 100% }»; las imágenes recortadas lo anulan. */
.hero .hero-media img, .industry img.card-media, .service img.card-media, .cta img.section-media { height: 100%; max-width: none; border-radius: 0; }

/* Hero: imagen a la derecha o de fondo */
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: 0; pointer-events: none; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero.has-media::before { content: none; }
.hero.media-side .hero-media { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%); mask-image: linear-gradient(to right, transparent 0%, #000 32%); }
.hero.media-side .wrap > :not(.sticker) { max-width: 52%; }
.hero.media-side .hero-title { font-size: clamp(40px, 5.4vw, 80px); }
.hero.media-side .hero-sub { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
.hero.media-side .hero-ctas { justify-content: flex-start; }
.hero.media-side .tags { margin-top: 36px; }
.hero.media-cover .hero-media { width: 100%; }
.hero.media-cover .hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(250, 250, 247, var(--ov, .7)); }
.hero.media-dark .hero-media::after { background: linear-gradient(90deg, rgba(16, 37, 61, calc(var(--ov, .7) + .1)), rgba(16, 37, 61, var(--ov, .7))); }
.hero.media-dark .hero-title, .hero.media-dark .rotator, .hero.media-dark .hero-sub strong { color: #fff; }
.hero.media-dark .hero-sub p { color: #D6E5F4; }
.hero.media-dark h1.seo-h1 { background: rgba(255, 255, 255, .14); color: #fff; }
.hero.media-dark .tag { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.hero.media-dark .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* Tarjetas de clientes con imagen: la foto se funde con el color de la tarjeta */
.industry.tone-blue { --tone: #00305F; }
.industry.tone-orange { --tone: #C24A00; }
.industry.tone-ink { --tone: #10253D; }
.industry .card-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.industry.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, var(--tone) 0%, var(--tone) 34%, transparent 82%); }
.industry.has-media .glyph { display: none; }
.industry.has-media .badge, .industry.has-media h3, .industry.has-media p, .industry.has-media .link { position: relative; z-index: 1; }
.industry.has-media .badge { background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.industry.has-media:hover .card-media { transform: scale(1.06); }

/* Tarjetas de servicios con imagen a la derecha */
.service .card-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; height: 100%; object-fit: cover; z-index: 0; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%); mask-image: linear-gradient(to right, transparent 0%, #000 42%); }
.service.has-media .big-num { display: none; }
.service .meta, .service .s-body { position: relative; z-index: 1; }
.service.has-media .s-body { grid-template-columns: 1fr; gap: 18px; max-width: 46%; }

/* Contacto con imagen de fondo fundida con el azul */
.cta .section-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--blue) 0%, rgba(0, 70, 139, .92) 45%, rgba(0, 70, 139, .55) 100%); }
.cta .wrap { z-index: 1; }

@media (max-width: 860px) {
  .hero.media-side .hero-media { position: relative; width: auto; height: 300px; margin: -72px 0 28px; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .hero.media-side .wrap > :not(.sticker) { max-width: none; }
  .service img.card-media { position: relative; width: calc(100% + 80px); height: 220px; margin: -40px -40px 0; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
  .service.has-media .s-body { max-width: none; }
  .cta.has-media::after { background: rgba(0, 70, 139, .9); }
}
@media (max-width: 520px) {
  .service img.card-media { width: calc(100% + 56px); margin: -28px -28px 0; }
}
/* Datos de contacto del pie (SEO local) */
.foot-nap { display: grid; gap: 12px; margin-top: 24px; font-style: normal; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.foot-nap .nap-name { color: var(--ink); font-family: var(--font-head); font-size: 16px; }
.foot-nap .nap-row { display: flex; gap: 10px; align-items: flex-start; }
.foot-nap .nap-row > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.foot-nap .nap-street, .foot-nap .nap-city, .foot-nap .nap-hours { display: block; }
.foot-nap a { color: var(--ink); text-decoration: none; }
.foot-nap a:hover { color: var(--blue); }
.foot-nap .nap-maps { display: inline-block; margin-top: 4px; color: var(--orange); font-weight: 600; }

/* Iconos de las tarjetas de problemas (tamaño en el widget: Estilo → Iconos) */
.problem .x.has-icon { width: calc(var(--pi, 32px) * 1.75); height: calc(var(--pi, 32px) * 1.75); font-size: var(--pi, 32px); }
.problem .x.has-icon::before { content: none; }
.problem .x.has-icon svg, .problem .x.has-icon img { width: var(--pi, 32px); height: var(--pi, 32px); object-fit: contain; }
.problem .x.has-icon svg:not([fill]) { fill: currentColor; }
.problem .x.has-icon i { font-size: var(--pi, 32px); line-height: 1; }
.no-icon-bg .problem .x.has-icon { width: auto; height: auto; background: none; border-radius: 0; }
.problem:has(.x.has-icon) { align-items: center; }
.problem:hover .x.has-icon { animation: none; transform: scale(1.08) rotate(-6deg); }
.problem .x { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
/* ===== Comparación: dos paneles (otras agencias / PixelVenta) ===== */
.compare { position: relative; overflow: hidden; }
.compare .wrap { position: relative; z-index: 1; }
.compare img.section-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }
.compare.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(237, 245, 252, .86); }

.cmp { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 64px; }
.cmp-panel { grid-column: 1; position: relative; border-radius: 28px; background: #fff; overflow: hidden; }
.cmp-panel-other { margin-right: -48px; box-shadow: 0 30px 70px -40px rgba(16, 37, 61, .35); border: 1px solid var(--line); }
.cmp-panel-ours { grid-column: 2; margin: -20px 0; background: linear-gradient(160deg, #0B5DB8 0%, var(--blue) 45%, #002B5C 100%); box-shadow: 0 40px 80px -30px rgba(0, 70, 139, .55); }
.cmp .cmp-panel-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }

.cmp-head, .cmp-cell { position: relative; z-index: 1; }
.cmp-head { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 24px; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.cmp-head-other { grid-column: 1; padding-right: 48px; color: var(--ink); background: linear-gradient(180deg, #F4F7FA, #EDF1F6); border-radius: 28px 0 0 0; }
.cmp-head-ico { display: grid; place-items: center; color: #5B6B80; font-size: 26px; }
.cmp-head-ico svg { width: 26px; height: 26px; fill: currentColor; }
.cmp-head-ours { grid-column: 2; color: #fff; font-size: 26px; }
.cmp .cmp-logo { height: 64px; width: auto; max-width: 260px; object-fit: contain; }

.cmp-cell { display: flex; align-items: center; gap: 18px; min-height: 124px; padding: 22px 28px; }
.cmp-other { grid-column: 1; padding-right: 60px; border-top: 1px solid var(--line); }
.cmp-ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #EEF1F5; color: #5B6B80; font-size: 22px; }
.cmp-ico svg { width: 24px; height: 24px; fill: currentColor; }
.cmp-label { flex: 1.25; display: grid; gap: 4px; min-width: 0; }
.cmp-label strong { font-family: var(--font-head); font-size: 19px; color: var(--ink); }
.cmp-label span { font-size: 15px; color: var(--ink-soft); }
.cmp-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FDECEC; }
.cmp-x::before { content: ""; width: 18px; height: 18px; background-color: #E5484D; -webkit-mask: var(--i-x) center / contain no-repeat; mask: var(--i-x) center / contain no-repeat; }
.cmp-other-text { flex: 0.9; padding-left: 20px; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: 16px; }

.cmp-ours { grid-column: 2; padding-left: 32px; color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); }
.cmp-ours.has-mid { padding-left: 76px; }
.cmp-mid { position: absolute; left: 0; top: 50%; z-index: 2; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--blue); font-size: 30px; box-shadow: 0 16px 30px -12px rgba(16, 37, 61, .4); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.cmp-mid svg { width: 32px; height: 32px; fill: currentColor; }
.cmp-ours:hover .cmp-mid { transform: translate(-50%, -50%) scale(1.08) rotate(-6deg); }
.cmp-check { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); box-shadow: 0 10px 22px -8px rgba(255, 107, 0, .7); }
.cmp-check::before { content: ""; width: 22px; height: 22px; background-color: #fff; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.cmp-ours-text { flex: 1; display: grid; gap: 6px; min-width: 0; }
.cmp-ours-text strong { font-family: var(--font-head); font-size: 20px; line-height: 1.25; }
.cmp-ours-text span { font-size: 16px; color: #C9DDF2; }
.cmp-art { flex: none; width: 150px; height: 104px; }
.cmp .cmp-art img { width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 20, 50, .35)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.cmp-ours:hover .cmp-art img { transform: translateY(-4px) scale(1.04); }

/* Formas decorativas */
.compare.deco .cmp::before, .compare.deco .cmp::after { content: ""; position: absolute; z-index: -1; border-radius: 42px; pointer-events: none; }
.compare.deco .cmp::before { left: -56px; bottom: -36px; width: 150px; height: 190px; background: linear-gradient(140deg, #FFB067, var(--orange)); transform: rotate(-20deg); }
.compare.deco .cmp::after { left: 22%; top: -34px; width: 78px; height: 56px; border-radius: 28px 28px 10px 28px; background: linear-gradient(160deg, #2F86E8, var(--blue)); transform: rotate(-8deg); }
.compare.deco .wrap::before { content: ""; position: absolute; z-index: -1; right: -20px; bottom: 26%; width: 120px; height: 220px; border-radius: 42px; background: linear-gradient(160deg, #FF9A45, #FF6B00); transform: rotate(16deg); opacity: .9; pointer-events: none; }

@media (max-width: 1080px) {
  .cmp-art { display: none; }
  .cmp-other { flex-wrap: wrap; }
  .cmp-other-text { flex-basis: 100%; border-left: 0; padding-left: 78px; }
}
@media (max-width: 860px) {
  .cmp { grid-template-columns: 1fr; margin-top: 40px; }
  .cmp-panel { display: none; }
  .cmp-head-other { display: none; }
  .cmp-head-ours { grid-column: 1; grid-row: auto !important; margin-bottom: 16px; border-radius: 22px; background: var(--blue); }
  .cmp-cell { grid-column: 1 !important; grid-row: auto !important; margin: 0; min-height: 0; }
  .cmp-other { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px 22px 0 0; }
  .cmp-other-text { padding-left: 0; }
  .cmp-ours, .cmp-ours.has-mid { padding: 20px; margin-bottom: 16px; background: linear-gradient(160deg, #0B5DB8, var(--blue)); border-radius: 0 0 22px 22px; flex-wrap: wrap; }
  .cmp-mid { position: static; width: 52px; height: 52px; font-size: 20px; transform: none; }
  .cmp-ours:hover .cmp-mid { transform: none; }
  .cmp-mid svg { width: 22px; height: 22px; }
  .cmp-ico { width: 48px; height: 48px; }
  .compare.deco .cmp::before, .compare.deco .cmp::after, .compare.deco .wrap::before { display: none; }
}
/* ===================== PixelVenta LIVE (streaming) ===================== */
@keyframes pv-blink { 50% { opacity: .25; } }
@keyframes pv-signal { 50% { transform: scaleY(.45); } }

/* Etiqueta del logo «en vivo» */
.logo .logo-sub.is-live { display: inline-flex; align-items: center; gap: 6px; background: #E5484D; }
.logo .logo-sub.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pv-blink 1.4s ease-in-out infinite; }

/* Reproductor en vivo */
.player { padding: 14px; border-radius: 24px; background: #0B1B33; color: #fff; box-shadow: 0 40px 80px -30px rgba(0, 30, 70, .55); }
.player-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; font-size: 13px; font-weight: 600; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #E5484D; font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pv-blink 1.4s ease-in-out infinite; }
.viewers { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #C9DDF2; }
.signal { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-left: auto; }
.signal b { width: 4px; border-radius: 2px; background: #3DDC84; transform-origin: bottom; animation: pv-signal 1.2s ease-in-out infinite; }
.signal b:nth-child(1) { height: 6px; } .signal b:nth-child(2) { height: 9px; animation-delay: .15s; } .signal b:nth-child(3) { height: 12px; animation-delay: .3s; } .signal b:nth-child(4) { height: 16px; animation-delay: .45s; }
.player-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, #15457C, #0B1B33); }
.player .player-screen video, .player .player-screen img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.player-empty::before { content: ""; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.5-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E") 54% center / 24px no-repeat; }
.lower-third { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 2px; padding: 10px 14px; border-left: 3px solid var(--orange); border-radius: 10px; background: rgba(11, 27, 51, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lower-third strong { font-family: var(--font-head); font-size: 16px; }
.lower-third span { font-size: 12px; color: #BFD7EE; }
.player-cams { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin-top: 12px; }
.player-cams span { display: flex; align-items: flex-end; height: 54px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: rgba(255, 255, 255, .05); color: #8FA6C2; font-size: 11px; font-weight: 700; letter-spacing: .05em; transition: color .3s, box-shadow .3s, background .3s; }
.player-cams span.on { color: #fff; background: rgba(229, 72, 77, .12); box-shadow: inset 0 0 0 1.5px #E5484D; }
.player-cams span.on::after { content: "\00a0· AL AIRE"; color: #FF8A8E; }

/* Hero con reproductor */
.hero.media-player .hero-media { top: 50%; bottom: auto; right: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); width: min(46%, 580px); transform: translateY(-50%); z-index: 1; pointer-events: auto; }
.hero.media-player .wrap > :not(.sticker) { max-width: 50%; }
.hero.media-player .sticker { display: none; }
.hero.media-player .hero-title { font-size: clamp(40px, 5.2vw, 76px); }
.hero.media-player .hero-sub { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
.hero.media-player .hero-ctas { justify-content: flex-start; }

/* Encabezado de páginas internas */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 88px; border-bottom: 1px solid var(--line); background: radial-gradient(640px 420px at 88% 10%, rgba(0, 70, 139, .13), transparent 70%), radial-gradient(420px 320px at 0% 100%, rgba(255, 107, 0, .08), transparent 70%), var(--bg); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero img.section-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }
.page-hero.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(250, 250, 247, .86); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--ink-soft); }
.crumbs a { color: var(--blue); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1.seo-h1 { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--bg-alt); color: var(--blue); font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.page-hero h1.seo-h1::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.page-title { max-width: 15ch; margin-top: 24px; color: var(--blue); font-family: var(--font-head); font-size: clamp(40px, 6vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.page-lead { max-width: 60ch; margin-top: 22px; font-size: 19px; color: var(--ink-soft); }
.page-ctas { justify-content: flex-start; margin-top: 32px; }

/* Tarjetas con icono */
.features-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; margin-top: 56px; }
.feature { display: grid; align-content: start; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(16, 37, 61, .35); }
.feature-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; background: var(--blue); color: #fff; font-size: 22px; }
.feature:nth-child(even) .feature-ico { background: var(--orange); }
.feature-ico svg { width: 22px; height: 22px; fill: currentColor; }
.feature h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.feature p { font-size: 16px; color: var(--ink-soft); }
.features-blue { margin: 0 16px; border-radius: var(--radius-lg); background: var(--blue); color: #fff; }
.features-blue .section-title { color: #fff; }
.features-blue .section-lead, .features-blue .feature p { color: #BFD7EE; }
.features-blue .feature { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .07); }
.features-blue .feature-ico { background: #fff; color: var(--blue); }
.features-blue .feature:nth-child(even) .feature-ico { background: var(--orange); color: #fff; }

/* Bloque con imagen y lista (con pestañas) */
.split-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.split-tabs button { padding: 12px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: 700 15px var(--font-head); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.split-tabs button:hover { color: var(--blue); }
.split-tabs button[aria-selected="true"] { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 107, 0, .7); }
.split-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-top: 40px; }
.split-panel[hidden] { display: none; }
.split-panel.no-media { align-items: start; }
.split-card { position: relative; overflow: hidden; padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(150deg, #FF9442, var(--orange)); box-shadow: 0 30px 60px -30px rgba(255, 107, 0, .55); }
.split-card img.split-img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.split-caption { display: grid; gap: 4px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(16, 37, 61, .9); color: #fff; }
.split-caption strong { font-family: var(--font-head); font-size: 18px; }
.split-caption span { font-size: 14px; color: #BFD7EE; }
.split-media h3, .split-body h3 { color: var(--blue); font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.split-media > p, .split-body > p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }
.split-points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.split-points li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 16px; color: var(--ink-soft); }
.split-points li strong { color: var(--ink); }
.split-body .btn { margin-top: 28px; }

/* Galería de trabajos */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 16px; margin-top: 48px; }
.gallery-tile { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #D8E6F4, var(--bg-alt)); }
.gallery-featured { grid-row: span 2; }
.gallery-tile img, .gallery-tile video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 37, 61, .82); color: #fff; font-size: 13px; font-weight: 600; }
.gallery-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.gallery-featured .gallery-empty::before { content: ""; width: 72px; height: 72px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.5-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E") 54% center / 26px no-repeat; box-shadow: 0 16px 30px -12px rgba(0, 70, 139, .6); }
.gallery-quote { margin: 20px 0 0; padding: 28px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.gallery-quote p { color: var(--ink); font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.gallery-quote cite { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 14px; font-style: normal; }

/* Estado con punto rojo */
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(229, 72, 77, .16); color: #FFC2C4; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #FF5A5F; animation: pv-blink 1.4s ease-in-out infinite; }

/* Banner de contacto */
.cta-banner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; overflow: hidden; padding: 56px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0B5DB8, var(--blue) 50%, #002B5C); color: #fff; box-shadow: 0 40px 80px -40px rgba(0, 70, 139, .6); }
.cta-banner::before { content: ""; position: absolute; right: -180px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 0, .35), transparent 65%); }
.cta-banner img.section-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }
.cta-banner.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--blue) 0%, rgba(0, 70, 139, .9) 50%, rgba(0, 70, 139, .6)); }
.cta-banner > div { position: relative; z-index: 1; }
.cta-banner h2 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; }
.cta-banner-text > p { max-width: 46ch; margin-top: 16px; font-size: 18px; color: #D6E5F4; }
.cta-banner-actions { display: grid; gap: 12px; }
.cta-banner-actions .btn { width: 100%; }
.cta-banner-note { text-align: center; font-size: 14px; color: #BFD7EE; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: #fff; color: var(--blue); }

/* Formulario de cotización */
.quote-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
form.quote-form { border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(16, 37, 61, .35); }
.field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 70, 139, .12); }
.quote-title { color: var(--ink); font-size: 28px; font-weight: 800; }
.quote-contacts { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.quote-contacts li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.quote-contacts a { color: var(--ink); text-decoration: none; }
.quote-contacts a:hover { color: var(--blue); }
.quote-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); color: var(--orange); font-size: 18px; }
.quote-ico svg { width: 18px; height: 18px; fill: currentColor; }
.quote-card { position: relative; display: grid; align-content: space-between; gap: 40px; min-height: 170px; margin-top: 28px; overflow: hidden; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #0B5DB8, var(--blue)); color: #fff; }
.quote-card img.section-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }
.quote-card.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0, 70, 139, .78); }
.quote-card > :not(img) { position: relative; z-index: 1; }
.quote-card p { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.quote-card .status-pill { justify-self: start; }

@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-featured { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 860px) {
  .hero.media-player { display: flex; flex-direction: column; }
  .hero.media-player .hero-media { position: relative; order: 2; top: auto; right: auto; width: auto; margin: 36px 16px 0; transform: none; }
  .hero.media-player .wrap > :not(.sticker) { max-width: none; }
  .split-panel, .quote-grid, .cta-banner { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 32px 24px; }
  .page-hero { padding: 48px 0 64px; }
  .features-blue { margin: 0 8px; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 140px; gap: 10px; }
  .split-tabs { display: flex; border-radius: 22px; }
  .split-tabs button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .live-badge i, .signal b, .status-pill i, .logo .logo-sub.is-live::before { animation: none; }
}
/* Elementor quita la sombra de los enlaces («.elementor a { box-shadow: none }»): los botones la recuperan. */
.btn.btn-primary { box-shadow: 0 10px 30px -10px rgba(255, 107, 0, .6); }
.btn.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.btn-outline-light { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.hero.media-dark .btn.btn-ghost { box-shadow: inset 0 0 0 1.5px #fff; }