[data-motion] {
  isolation: isolate;
  --motion-a: #a873f333;
  --motion-b: #6557b836;
  --motion-line: #b4a4ed16;
  --motion-pattern: repeating-linear-gradient(117deg, transparent 0 67px, var(--motion-line) 68px 69px);
}
.motion-field {
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 1100px);
  z-index: -1;
  contain: paint;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(#000 76%, transparent);
}
.motion-field::before, .motion-field::after { position: absolute; content: ""; }
.motion-field::before {
  inset: -12% -7%;
  background:
    radial-gradient(ellipse at 19% 27%, var(--motion-a), transparent 52%),
    radial-gradient(ellipse at 80% 43%, var(--motion-b), transparent 52%),
    var(--motion-pattern);
  animation: motion-drift 19s ease-in-out infinite alternate paused;
}
[data-motion-visible] > .motion-field::before,
[data-motion-visible] > .motion-field::after,
[data-motion-visible] .play-player { animation-play-state: running; }
[data-motion-paused] .motion-field::before,
[data-motion-paused] .motion-field::after,
[data-motion-paused] .play-player { animation-play-state: paused; }

@keyframes motion-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}
@keyframes city-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1%, 0) scale(1.06); }
}
@keyframes mascot-hover {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

[data-motion="hero"] { --motion-a: #7c56bd25; --motion-b: #9e60eb44; --motion-line: #cdb1ff14; }
[data-motion="solutions"] { --motion-a: #c4a1ec59; --motion-b: #ad97ed70; --motion-line: #6d448818; }
[data-motion="portfolio"] { --motion-a: #bfa8e271; --motion-b: #e9bad457; --motion-line: #8e66bc18; }
[data-motion="demos"] { --motion-a: #667cc34d; --motion-b: #a453be54; --motion-line: #b3bfff17; }
[data-motion="systems"] {
  --motion-a: #675bad61;
  --motion-b: #28547560;
  --motion-pattern: linear-gradient(90deg, #abbbf31a 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(#abbbf310 1px, transparent 1px) 0 0 / 42px 42px;
}
[data-motion="products"] { --motion-a: #24757340; --motion-b: #b258a74a; }
[data-motion="tools"] { --motion-a: #57378351; --motion-b: #555f9b50; }
[data-motion="prices"] { --motion-a: #603ea075; --motion-b: #b2756e48; --motion-line: #d4a9ee19; }
[data-motion="studio"] { --motion-a: #8145a86a; --motion-b: #5445a56a; --motion-line: #cfb9f320; }
[data-motion="contact"] { --motion-a: #8d50cb83; --motion-b: #6854c658; --motion-line: #bfa8ff21; }

#codec-play.section {
  --motion-a: #2cc7e935;
  --motion-b: #d04bee4a;
  --motion-line: #76dfff19;
  background: #080e22;
  border-block: 1px solid #317798;
}
#codec-play > .motion-field::after {
  inset: -2% -2% auto;
  height: min(68%, 640px);
  opacity: .8;
  background:
    repeating-linear-gradient(0deg, #05091c26 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #080e22e8, #080e2250 65%),
    linear-gradient(0deg, #080e22, transparent 33%),
    url("codec-play-city.svg") center / cover;
  mask-image: linear-gradient(#000 80%, transparent);
  animation: city-drift 20s ease-in-out infinite alternate paused;
}
#codec-play[data-motion-visible] > .motion-field::after { animation-play-state: running; }
[data-motion-paused] #codec-play > .motion-field::after { animation-play-state: paused; }
#codec-play .play-intro { align-items: center; }
#codec-play .play-intro .eyebrow {
  display: inline-block;
  padding: 7px 11px;
  color: #b5edf9;
  background: #0b1a31e6;
  border: 1px solid #4da5bd;
  font: 700 .85rem/1.3 "Pixelify Sans", monospace;
  letter-spacing: .065em;
}
#codec-play .play-wordmark {
  color: #f3fcff;
  font: 900 clamp(2.95rem, 6.7vw, 6.6rem)/.96 Orbitron, "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.075em;
  text-shadow: 3px 4px #264d91, 0 0 24px #43c8ec7a;
}
#codec-play .play-wordmark span {
  display: block;
  width: fit-content;
  color: #67edff;
  font: 700 1.28em/.86 "Pixelify Sans", Orbitron, monospace;
  text-transform: uppercase;
  letter-spacing: -.055em;
  text-shadow: 5px 6px #342aa0, 0 0 23px #36dbfb80;
  transform: skewX(-8deg);
}
#codec-play .play-lead { margin-top: 20px; color: #ffb2f1; font: 700 clamp(1.1rem, 2.3vw, 1.62rem)/1.2 "Pixelify Sans", "Plus Jakarta Sans", sans-serif; }
#codec-play .section-copy { color: #d1def4; }
#codec-play .section-copy strong { color: #e7f7ff; }
#codec-play .play-actions .btn { border-radius: 3px; font: 700 1rem/1.1 "Pixelify Sans", "Plus Jakarta Sans", sans-serif; }
#codec-play .play-actions .btn-primary { background: #60e7f4; color: #081329; box-shadow: 4px 4px #6c339c; }
#codec-play .play-actions .btn-primary:hover { background: #a1f5fe; }
#codec-play .play-actions .btn-secondary { background: #0d1b32; border-color: #51adc4; color: #beeff7; }
.play-visual { position: relative; min-width: 0; padding: 0 18px 20px 0; }
#codec-play .play-art { padding: 4px; border-color: #60cdec; border-radius: 5px; background: #111e36; box-shadow: 7px 7px #33235b, 0 0 32px #39cdef38; }
#codec-play .play-art img { border-radius: 2px; }
.play-player {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(41px, 6vw, 78px);
  height: auto;
  filter: drop-shadow(0 0 9px #995df4ba);
  image-rendering: pixelated;
  animation: mascot-hover 2.8s ease-in-out infinite alternate paused;
}
#codec-play .play-plan { background: #151d37; border-color: #3f587a; border-top-color: var(--play-tier); border-radius: 5px; }
#codec-play .play-customization { background: #17283e; border-color: #4d8aa4; }
#codec-play .play-club { background: #221a3c; border-color: #6d4b97; }
#codec-play .play-plans > h3 { font: 800 clamp(1.05rem, 2.2vw, 1.42rem)/1.2 Orbitron, "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; }

.product-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.product-jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, currentColor 43%, transparent);
  border-radius: 8px;
  background: #141323d9;
  color: var(--product-link-accent);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.product-jump [href="#codec-pos"] { --product-link-accent: #99f1de; }
.product-jump [href="#codec-magazine"] { --product-link-accent: #f7c5ae; }
.product-jump [href="#codec-cv"] { --product-link-accent: #dcb9ff; }
.product-jump a:hover { background: #2c233c; border-color: currentColor; }
#codec-pos {
  --feature-accent: #99f1de;
  --feature-rgb: 153, 241, 222;
  --motion-a: #2b666c60;
  --motion-b: #1b897756;
  --motion-pattern: linear-gradient(90deg, #76efdb22 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(#76efdb17 1px, transparent 1px) 0 0 / 46px 46px;
  background: #102028;
  row-gap: 22px;
}
#codec-pos .ecosystem-feature-copy, #codec-magazine .ecosystem-feature-copy { padding: 0; }
#codec-pos .ecosystem-feature-tags { margin-bottom: 0; }
#codec-pos .ecosystem-pos-form { position: relative; z-index: 1; }
@media (min-width: 861px) {
  #codec-pos .ecosystem-feature-art { grid-column: 2; grid-row: 1 / span 2; }
  #codec-pos .ecosystem-pos-form { grid-column: 1; grid-row: 2; }
}
#codec-magazine {
  --feature-accent: #f7c5ae;
  --feature-rgb: 247, 197, 174;
  --motion-a: #bd6a5463;
  --motion-b: #913d6f58;
  --motion-pattern: repeating-linear-gradient(126deg, transparent 0 49px, #f6c29b21 50px 51px);
  background: #251621;
}
#codec-cv {
  --motion-a: #754cb879;
  --motion-b: #517cba4d;
  --motion-line: #cbb2fe23;
  background: #1c152e;
}
#codec-pos h3, #codec-magazine h3, #codec-cv h3 {
  color: #fff8ff;
  font-size: clamp(2.55rem, 5.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}
#codec-pos h3 span, #codec-magazine h3 span, #codec-cv h3 span { display: block; color: var(--feature-accent, #dcb9ff); }
#codec-magazine h3 span { font-family: Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -.045em; }
#codec-cv .tools-product-offer { background: #1d1534e0; }
.cv-art { margin: 19px 0 0; overflow: hidden; border: 1px solid #ad85de8f; border-radius: 12px; box-shadow: 0 10px 34px #08041168; }
.cv-art img { display: block; width: 100%; height: auto; }

#contacto .project-intro { max-width: 930px; margin-bottom: clamp(28px, 5vw, 56px); }
#contacto .project-intro .section-title { font-size: clamp(2.65rem, 6.35vw, 5.9rem); max-width: 900px; line-height: 1.02; }
#contacto .project-intro .section-title .accent { color: #ddc0ff; }
.project-intro .btn { margin-top: 19px; }
#contacto .contact-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(18px, 3.6vw, 46px); }
.project-sidebar { min-width: 0; display: grid; gap: 16px; }
.project-process { background: #191326ea; border: 1px solid #a77cc364; border-radius: 16px; padding: clamp(17px, 3vw, 27px); }
.project-process h3 { margin-bottom: 13px; color: #f3e7ff; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.project-process .process-list { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.project-process .process-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 9px;
  min-height: 0;
  padding: 12px 0;
  border-bottom: 1px solid #b89bd832;
  background: transparent;
}
.project-process .process-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.project-process .process-list li span { grid-row: span 2; margin: 3px 0 0; color: #d6b0fc; }
.project-process .process-list li strong { margin: 0 0 3px; }
.project-process .process-list li p { grid-column: 2; color: #d4c8e2; }
#contacto .contact-form { background: #1f172de8; border-color: #b288dc9e; box-shadow: 0 22px 55px #07041263; }
.motion-toggle {
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  background: none;
  color: #d9bff6;
  font: inherit;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (max-width: 860px) {
  #contacto .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  #codec-play > .motion-field::after { height: min(81%, 780px); background-position: center, center, center, 73% 0; }
  #codec-play .play-wordmark { font-size: clamp(2.65rem, 11vw, 4.6rem); }
  .play-visual { padding-right: 12px; }
}
@media (max-width: 400px) {
  #codec-play .play-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-field::before, .motion-field::after, .play-player { animation: none !important; }
}
