/* ============================================================
   NEOPIXEL — Servicios page (modern redesign)
   ============================================================ */

/* ═══════════════════════ KEYFRAMES ═══════════════════════ */

@keyframes svc-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-14px) rotate(0.6deg); }
  70%       { transform: translateY(-7px) rotate(-0.3deg); }
}
@keyframes svc-float-sm {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes svc-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes svc-bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes svc-pulse-ring {
  0%   { transform: scale(0.85); opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes svc-dot-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(25,214,140,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(25,214,140,0); }
}
@keyframes svc-packet {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes svc-line-draw {
  from { stroke-dashoffset: 300; opacity: 0; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes svc-graph-draw {
  from { stroke-dashoffset: 600; }
  to   { stroke-dashoffset: 0; }
}
@keyframes svc-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes svc-slide-in {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes svc-cursor-move {
  0%   { top: 40%; left: 35%; }
  20%  { top: 55%; left: 55%; }
  40%  { top: 30%; left: 65%; }
  60%  { top: 60%; left: 25%; }
  80%  { top: 45%; left: 50%; }
  100% { top: 40%; left: 35%; }
}
@keyframes svc-ch-fill {
  from { width: 0; }
  to   { width: var(--pct); }
}
@keyframes svc-orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.15); opacity: 0.4; }
}
@keyframes svc-bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes svc-badge-pop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════ PAGE HERO ═══════════════════════ */

.page-hero {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero--modern {
  background: var(--bg);
}
.page-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-stroke) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-stroke) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: svc-orb-pulse 8s ease-in-out infinite;
}
.page-hero__orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(25,214,140,0.18), transparent 70%);
  top: -150px; right: -100px;
}
.page-hero__orb--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  bottom: -100px; left: 20%;
  animation-delay: 3s;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero__lead { display: flex; flex-direction: column; gap: 20px; }
.page-hero__crumbs {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 10px;
}
.page-hero__crumbs a:hover { color: var(--accent-dark); }
.page-hero__crumbs span { color: var(--line-strong); }
.page-hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-top: 8px;
}
.page-hero__title em {
  font-style: normal;
  color: var(--accent-dark);
  position: relative;
  display: inline-block;
}
.page-hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 8px;
  background: var(--accent);
  opacity: 0.25;
  border-radius: 99px;
  z-index: -1;
}
.page-hero__sub {
  font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 560px;
}

/* ─── Hero animation container ─── */
.page-hero__anim {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px 20px;
}
.hero-viz {
  position: relative;
  width: 100%;
  max-width: 460px;
  animation: svc-float 7s ease-in-out infinite;
}
.hero-viz__browser {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 40px 80px -20px rgba(12,15,18,0.22), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
}
[data-theme="dark"] .hero-viz__browser {
  background: #1a2130;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
.hero-viz__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
[data-theme="dark"] .hero-viz__chrome {
  background: #131a20;
  border-bottom-color: rgba(255,255,255,0.06);
}
.hero-viz__dots {
  display: flex; gap: 5px; flex-shrink: 0;
}
.hero-viz__dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-viz__dots span:nth-child(1) { background: #ff5f57; }
.hero-viz__dots span:nth-child(2) { background: #febc2e; }
.hero-viz__dots span:nth-child(3) { background: #28c840; }
.hero-viz__url {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #666;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 4px 10px;
  display: flex; align-items: center; gap: 6px;
}
[data-theme="dark"] .hero-viz__url {
  background: #0a0d10;
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}
.hero-viz__lock { font-size: 10px; }
.hero-viz__screen { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Skeleton site inside browser */
.hero-viz__sitenav {
  display: flex; align-items: center; gap: 10px;
}
.hero-viz__sn-logo {
  width: 80px; height: 10px;
  background: linear-gradient(90deg, var(--accent), rgba(25,214,140,0.3));
  border-radius: 4px;
}
.hero-viz__sn-links {
  display: flex; gap: 8px; flex: 1; justify-content: center;
}
.hero-viz__sn-links span {
  width: 40px; height: 8px;
  background: rgba(12,15,18,0.12);
  border-radius: 3px;
}
[data-theme="dark"] .hero-viz__sn-links span { background: rgba(255,255,255,0.12); }
.hero-viz__sn-cta {
  width: 70px; height: 26px;
  background: var(--accent);
  border-radius: 6px;
  opacity: 0.85;
}
.hero-viz__sitehero {
  padding: 20px 0 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-viz__sh-tag {
  width: 90px; height: 8px;
  background: rgba(25,214,140,0.35);
  border-radius: 3px;
}
.hero-viz__sh-h1 {
  width: 100%; height: 14px;
  background: rgba(12,15,18,0.18);
  border-radius: 4px;
  animation: svc-fade-up 1s ease forwards;
}
[data-theme="dark"] .hero-viz__sh-h1 { background: rgba(255,255,255,0.18); }
.hero-viz__sh-h1--sm { width: 70%; animation-delay: 0.15s; opacity: 0; }
.hero-viz__sh-p {
  width: 85%; height: 8px;
  background: rgba(12,15,18,0.08);
  border-radius: 3px;
  animation: svc-fade-up 1s 0.3s ease forwards;
  opacity: 0;
}
[data-theme="dark"] .hero-viz__sh-p { background: rgba(255,255,255,0.08); }
.hero-viz__sh-btns {
  display: flex; gap: 8px; margin-top: 6px;
  animation: svc-fade-up 1s 0.45s ease forwards;
  opacity: 0;
}
.hero-viz__sh-btn {
  height: 28px; width: 90px;
  border-radius: 6px;
  border: 2px solid rgba(12,15,18,0.15);
}
[data-theme="dark"] .hero-viz__sh-btn { border-color: rgba(255,255,255,0.15); }
.hero-viz__sh-btn--fill { background: var(--accent); border-color: transparent; }
.hero-viz__cards {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.hero-viz__card {
  height: 52px;
  background: rgba(12,15,18,0.05);
  border: 1px solid rgba(12,15,18,0.08);
  border-radius: 8px;
  animation: svc-fade-up 1s ease forwards;
  opacity: 0;
}
[data-theme="dark"] .hero-viz__card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.hero-viz__card:nth-child(1) { animation-delay: 0.6s; }
.hero-viz__card:nth-child(2) { animation-delay: 0.75s; }
.hero-viz__card:nth-child(3) { animation-delay: 0.9s; }

/* Floating metric badges */
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px -8px rgba(12,15,18,0.18);
  animation: svc-badge-pop 0.6s ease forwards, svc-float-sm 6s ease-in-out infinite;
  white-space: nowrap;
  z-index: 10;
}
[data-theme="dark"] .hero-badge {
  background: rgba(22,27,33,0.92);
  border-color: rgba(255,255,255,0.1);
}
.hero-badge--tl {
  top: -18px; left: -24px;
  animation-delay: 0.3s, 0s;
  animation-fill-mode: forwards;
}
.hero-badge--br {
  bottom: -18px; right: -16px;
  animation-delay: 0.55s, 1s;
  animation-fill-mode: forwards;
}
.hero-badge--bl {
  bottom: 50px; left: -28px;
  animation-delay: 0.45s, 2s;
  animation-fill-mode: forwards;
}
.hero-badge__icon { font-size: 20px; line-height: 1; }
.hero-badge__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: svc-dot-live 2s ease-in-out infinite;
}
.hero-badge__val {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero-badge__lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ═══════════════════════ SUBNAV ═══════════════════════ */

.subnav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
[data-theme="dark"] .subnav {
  background: rgba(10,13,16,0.88);
}
.subnav__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__inner a {
  padding: 8px 14px;
  font-family: var(--f-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-2);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.subnav__inner a:hover { color: var(--fg); background: var(--bg-alt); }
.subnav__inner a.is-active { color: var(--accent-dark); background: var(--accent-soft); font-weight: 600; }

/* ═══════════════════════ STATS STRIP ═══════════════════════ */

.svc-stats-strip {
  background: var(--bg-dark);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-stats-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.svc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
}
.svc-stat strong {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.035em;
  color: var(--accent);
  line-height: 1;
}
.svc-stat span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.svc-stats-strip__sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ═══════════════════════ SERVICE BLOCKS ═══════════════════════ */

.svc-block {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.svc-block--light {
  background: var(--bg);
}
.svc-block--dark {
  background: var(--bg-dark);
  color: #fff;
}
.svc-block--dark .svc-block__num { color: var(--accent); }
.svc-block--dark .svc-block__title em { color: var(--accent); }
.svc-block--dark .svc-block__desc { color: rgba(255,255,255,0.65); }
.svc-block--dark .svc-block__feats li { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.1); }
.svc-block--dark .svc-block__feats li::before { color: var(--accent); }
.svc-block--dark .svc-block__feats li strong { color: #fff; }

.svc-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.svc-block__copy { display: flex; flex-direction: column; gap: 20px; }
.svc-block__num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.svc-block__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.svc-block__title em { font-style: normal; color: var(--accent-dark); }
.svc-block__desc {
  font-size: 17px; line-height: 1.6; color: var(--fg-2);
}
.svc-block__feats {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
}
.svc-block__feats li {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  border-top: 1px solid var(--line);
}
.svc-block__feats li:last-child { border-bottom: 1px solid var(--line); }
.svc-block__feats li::before {
  content: "→";
  color: var(--accent-dark);
  font-weight: 700;
  font-family: var(--f-mono);
  padding-top: 1px;
}
.svc-block__feats li strong {
  display: block;
  font-weight: 600;
  font-family: var(--f-display);
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.svc-block__actions { margin-top: 8px; }

/* Service visual container */
.svc-block__visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

/* ═══════════════════════ ANIMATION: DISEÑO WEB ═══════════════════════ */

.svc-anim {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.svc-anim--design {
  background: linear-gradient(145deg, #f8f6f0 0%, #eeeae0 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}

.sa-browser {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 16px 40px -16px rgba(12,15,18,0.2);
  overflow: hidden;
  flex: 1;
}
.sa-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.sa-chrome__dots {
  display: flex; gap: 4px;
}
.sa-chrome__dots span {
  width: 9px; height: 9px; border-radius: 50%;
}
.sa-chrome__dots span:nth-child(1) { background: #ff5f57; }
.sa-chrome__dots span:nth-child(2) { background: #febc2e; }
.sa-chrome__dots span:nth-child(3) { background: #28c840; }
.sa-chrome__url {
  font-family: var(--f-mono);
  font-size: 10px;
  color: #888;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 3px 10px;
  flex: 1;
}
.sa-canvas {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  min-height: 200px;
}
.sa-cnav {
  display: flex; align-items: center; gap: 8px;
}
.sa-cnav__logo {
  width: 70px; height: 9px;
  background: linear-gradient(90deg, var(--accent), rgba(25,214,140,0.4));
  border-radius: 3px;
}
.sa-cnav__links {
  display: flex; gap: 6px; flex: 1; justify-content: center;
}
.sa-cnav__links span {
  width: 35px; height: 7px;
  background: rgba(12,15,18,0.12);
  border-radius: 2px;
}
.sa-cnav__cta {
  width: 60px; height: 22px;
  background: var(--accent);
  border-radius: 5px; opacity: 0.9;
}
.sa-chero {
  padding: 12px 0;
  display: flex; flex-direction: column; gap: 6px;
}
.sa-chero__tag {
  width: 80px; height: 7px;
  background: rgba(25,214,140,0.4);
  border-radius: 2px;
  animation: svc-fade-up 0.6s 0.2s ease both;
}
.sa-chero__h1 {
  width: 100%; height: 13px;
  background: rgba(12,15,18,0.2);
  border-radius: 3px;
  animation: svc-fade-up 0.6s 0.35s ease both;
}
.sa-chero__h1--sm {
  width: 65%;
  animation-delay: 0.5s;
}
.sa-chero__p {
  width: 85%; height: 7px;
  background: rgba(12,15,18,0.1);
  border-radius: 2px;
  animation: svc-fade-up 0.6s 0.65s ease both;
}
.sa-chero__btns {
  display: flex; gap: 7px; margin-top: 4px;
  animation: svc-fade-up 0.6s 0.8s ease both;
}
.sa-chero__btn {
  height: 24px; width: 80px;
  border: 2px solid rgba(12,15,18,0.15);
  border-radius: 5px;
}
.sa-chero__btn--fill { background: var(--accent); border-color: transparent; }
.sa-cgrid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px;
}
.sa-cgrid__card {
  height: 48px;
  background: rgba(12,15,18,0.05);
  border: 1px solid rgba(12,15,18,0.07);
  border-radius: 7px;
  animation: svc-fade-up 0.6s ease both;
}
.sa-cgrid__card:nth-child(1) { animation-delay: 1s; }
.sa-cgrid__card:nth-child(2) { animation-delay: 1.15s; }
.sa-cgrid__card:nth-child(3) { animation-delay: 1.3s; }

/* Cursor */
.sa-cursor {
  position: absolute;
  width: 16px; height: 16px;
  background: rgba(25,214,140,0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(25,214,140,0.25);
  pointer-events: none;
  animation: svc-cursor-move 8s ease-in-out infinite;
}

/* Color palette */
.sa-palette {
  display: flex; gap: 8px; align-items: center;
}
.sa-palette span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.sa-palette span:hover { transform: scale(1.2); }

/* Live badge */
.sa-livebadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(25,214,140,0.3);
  border-radius: 99px;
  padding: 5px 12px;
  width: fit-content;
}
.sa-livebadge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: svc-dot-live 1.5s ease-in-out infinite;
  display: inline-block;
}

/* ═══════════════════════ ANIMATION: DESARROLLO WEB ═══════════════════════ */

.svc-anim--code {
  background: #0d1117;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
}

.sa-editor {
  background: #161b22;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
  flex: 1;
}
.sa-editor__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1c2028;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sa-editor__dots {
  display: flex; gap: 5px;
}
.sa-editor__dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.sa-editor__dots span:nth-child(1) { background: #ff5f57; }
.sa-editor__dots span:nth-child(2) { background: #febc2e; }
.sa-editor__dots span:nth-child(3) { background: #28c840; }
.sa-editor__tabs {
  display: flex; gap: 2px;
}
.sa-tab {
  font-family: var(--f-mono);
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 6px 6px 0 0;
  color: rgba(255,255,255,0.4);
  cursor: default;
}
.sa-tab--active {
  background: #0d1117;
  color: rgba(255,255,255,0.85);
}
.sa-editor__body {
  display: flex;
  padding: 16px;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.75;
}
.sa-gutter {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  user-select: none;
  text-align: right;
  gap: 0;
  line-height: 1.75;
}
.sa-code {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 0;
}
.sa-cl {
  white-space: pre;
  line-height: 1.75;
  animation: svc-slide-in 0.4s ease both;
}
.sa-cl:nth-child(1) { animation-delay: 0.1s; }
.sa-cl:nth-child(2) { animation-delay: 0.2s; }
.sa-cl:nth-child(3) { animation-delay: 0.3s; }
.sa-cl:nth-child(4) { animation-delay: 0.4s; }
.sa-cl:nth-child(5) { animation-delay: 0.5s; }
.sa-cl:nth-child(6) { animation-delay: 0.6s; }
.sa-cl:nth-child(7) { animation-delay: 0.7s; }
.sa-cl:nth-child(8) { animation-delay: 0.8s; }
.sa-cl:nth-child(9) { animation-delay: 0.9s; }
.sa-cl:nth-child(10) { animation-delay: 1.0s; }
.sa-cl:nth-child(11) { animation-delay: 1.1s; }
.sa-cl:nth-child(12) { animation-delay: 1.2s; }
.sa-cl--blank { height: 1.75em; }

/* Syntax token colors */
.t-k   { color: #ff7b72; }
.t-f   { color: #d2a8ff; }
.t-s   { color: #a5d6ff; }
.t-v   { color: #ffa657; }
.t-b   { color: #79c0ff; }
.t-tag { color: #7ee787; }
.t-attr{ color: #d2a8ff; }
.t-txt { color: #e6edf3; }

.sa-editor__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #1c2028;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--f-mono);
  font-size: 11px;
}
.sa-status__lang { color: rgba(255,255,255,0.5); }
.sa-status__sep  { color: rgba(255,255,255,0.2); }
.sa-status__ok   { color: var(--accent); }
.sa-cursor-blink {
  color: var(--accent);
  font-weight: 700;
  animation: svc-blink 1.2s step-end infinite;
  margin-left: auto;
}

.sa-terminal {
  background: #0a0d10;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.6;
  animation: svc-fade-up 0.6s 1.5s ease both;
}
.sa-terminal__prompt { color: var(--accent); font-weight: 700; }
.sa-terminal__cmd { color: rgba(255,255,255,0.75); }
.sa-terminal__ok { color: var(--accent); }

/* ═══════════════════════ ANIMATION: SEO ═══════════════════════ */

.svc-anim--seo {
  background: linear-gradient(150deg, #f0faf5 0%, #e8f6f0 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
}
.sa-seo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sa-seo-head__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: #0c0f12;
}
.sa-seo-head__badge {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(25,214,140,0.15);
  border: 1px solid rgba(25,214,140,0.35);
  border-radius: 99px;
  padding: 4px 12px;
}
.sa-chart {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 16px 16px 10px;
  flex: 1;
}
.sa-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
}
.sa-bar {
  flex: 1;
  height: var(--bh);
  background: linear-gradient(180deg, rgba(25,214,140,0.5), rgba(25,214,140,0.15));
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: svc-bar-grow 0.8s ease both;
}
.sa-bar:nth-child(1)  { animation-delay: 0.05s; }
.sa-bar:nth-child(2)  { animation-delay: 0.1s; }
.sa-bar:nth-child(3)  { animation-delay: 0.15s; }
.sa-bar:nth-child(4)  { animation-delay: 0.2s; }
.sa-bar:nth-child(5)  { animation-delay: 0.25s; }
.sa-bar:nth-child(6)  { animation-delay: 0.3s; }
.sa-bar:nth-child(7)  { animation-delay: 0.35s; }
.sa-bar:nth-child(8)  { animation-delay: 0.4s; }
.sa-bar:nth-child(9)  { animation-delay: 0.45s; }
.sa-bar--peak         { animation-delay: 0.5s; background: linear-gradient(180deg, var(--accent), rgba(25,214,140,0.4)); }
.sa-bar span { display: none; }

/* SERP results */
.sa-serp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sa-serp__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12,15,18,0.4);
}
.sa-serp-result {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: svc-slide-in 0.5s ease both;
}
.sa-serp-result--top {
  border-color: rgba(25,214,140,0.5);
  box-shadow: 0 0 0 3px rgba(25,214,140,0.12);
  animation-delay: 0.6s;
}
.sa-serp-result:not(.sa-serp-result--top) {
  animation-delay: 0.85s;
  opacity: 0.65;
}
.sa-serp-result__rank {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-width: 24px;
}
.sa-serp-result:not(.sa-serp-result--top) .sa-serp-result__rank {
  color: rgba(12,15,18,0.3);
  font-size: 16px;
}
.sa-serp-result__url {
  font-family: var(--f-mono);
  font-size: 10px;
  color: #1a7355;
}
.sa-serp-result__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: #1a0dab;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.sa-serp-result__desc {
  font-size: 11px;
  color: rgba(12,15,18,0.55);
  line-height: 1.4;
  margin-top: 2px;
}

/* ═══════════════════════ ANIMATION: AUTOMATIZACIÓN ═══════════════════════ */

.svc-anim--automation {
  background: #0d1117;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 460px;
}
.sa-flow-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.sa-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 1;
}
.sa-node {
  background: #161b22;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: border-color 0.3s;
  animation: svc-fade-up 0.5s ease both;
}
.sa-node:nth-child(1) { animation-delay: 0.1s; }
.sa-node:nth-child(3) { animation-delay: 0.5s; }
.sa-node:nth-child(5) { animation-delay: 0.9s; }
.sa-node:nth-child(7) { animation-delay: 1.3s; }
.sa-node--trigger {
  border-color: rgba(25,214,140,0.4);
  box-shadow: 0 0 0 3px rgba(25,214,140,0.1);
}
.sa-node--end {
  border-color: rgba(25,214,140,0.6);
  background: rgba(25,214,140,0.08);
}
.sa-node__pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  border-radius: 12px;
  border: 2px solid rgba(25,214,140,0.4);
  animation: svc-pulse-ring 2s ease-out infinite;
  pointer-events: none;
}
.sa-node__icon {
  font-size: 20px;
  flex-shrink: 0;
}
.sa-node__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}
.sa-node__sub {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.sa-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  position: relative;
}
.sa-connector__line {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, rgba(25,214,140,0.4), rgba(25,214,140,0.15));
  position: relative;
  overflow: hidden;
}
.sa-connector__label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.sa-packet {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: svc-packet 2.4s ease-in-out infinite;
}
.sa-auto-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.sa-auto-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.sa-auto-stat strong {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.025em;
}
.sa-auto-stat span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════ ANIMATION: MARKETING ═══════════════════════ */

.svc-anim--marketing {
  background: linear-gradient(150deg, #f8f6ff 0%, #eef2ff 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.sa-dash {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 16px 40px -16px rgba(12,15,18,0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sa-dash__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: #0d1117;
}
.sa-dash__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
  flex: 1;
}
.sa-dash__period {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.sa-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: svc-dot-live 1.5s ease-in-out infinite;
}
.sa-dash__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sa-kpi {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.sa-kpi:last-child { border-right: none; }
.sa-kpi__val {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.035em;
  color: #0c0f12;
  line-height: 1;
}
.sa-kpi__label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(12,15,18,0.45);
}
.sa-kpi__delta {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}
.sa-kpi__delta--up   { color: #16a34a; }
.sa-kpi__delta--down { color: #dc2626; }
.sa-dash__graph {
  padding: 12px 16px 0;
  height: 80px;
  position: relative;
}
.sa-graph-svg {
  width: 100%; height: 100%;
}
.sa-graph-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: svc-graph-draw 2s 0.5s ease forwards;
}
.sa-dash__channels {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sa-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.sa-ch-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--chc);
  flex-shrink: 0;
}
.sa-ch-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 13px;
  color: #0c0f12;
  width: 80px;
}
.sa-ch-bar {
  flex: 1;
  height: 6px;
  background: rgba(12,15,18,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.sa-ch-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(25,214,140,0.6));
  width: 0;
  animation: svc-ch-fill 1.2s 0.8s ease forwards;
}
.sa-ch-pct {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 600;
  width: 30px;
  text-align: right;
}

/* ═══════════════════════ ANIMATION: REDES SOCIALES ═══════════════════════ */

.svc-anim--social {
  background: linear-gradient(145deg, #0d1117 0%, #161b22 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}
.sa-social-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.sa-social-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.sa-social-stat strong {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.025em;
}
.sa-social-stat span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.sa-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.sa-post {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: default;
  aspect-ratio: 1;
}
.sa-post--lg {
  grid-row: span 2;
  aspect-ratio: auto;
}
.sa-post__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.sa-post:hover .sa-post__bg { transform: scale(1.04); }
.sa-post__bg--1 {
  background: linear-gradient(135deg, #19D68C 0%, #0d9e68 50%, #064d35 100%);
}
.sa-post__bg--2 {
  background: linear-gradient(135deg, #3B82F6 0%, #1d4ed8 100%);
}
.sa-post__bg--3 {
  background: linear-gradient(135deg, #F59E0B 0%, #d97706 100%);
}
.sa-post__bg--4 {
  background: linear-gradient(135deg, #EF4444 0%, #b91c1c 100%);
}
.sa-post__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  gap: 3px;
}
.sa-post__type {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.sa-post__stat {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.sa-social-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}
.sa-social-bar__handle {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.sa-social-bar__cta {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* ═══════════════════════ PRICING ═══════════════════════ */

.pricing {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.section__head {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px;
}
.section__head--center { text-align: center; align-items: center; }
.section__kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
  color: var(--fg);
  line-height: 1.05;
}
.section__title em { font-style: normal; color: var(--accent-dark); }
.section__sub {
  font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 600px;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -20px rgba(12,15,18,0.18); }
.price-card--feat {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
  box-shadow: 0 0 0 1px rgba(25,214,140,0.2), 0 24px 60px -20px rgba(0,0,0,0.35);
}
.price-card--feat::before {
  content: "Más solicitado";
  position: absolute;
  top: -12px; left: 32px;
  padding: 5px 14px;
  background: var(--accent);
  color: var(--bg-dark);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
}
.price-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.price-card__name em { font-style: normal; color: var(--accent-dark); }
.price-card--feat .price-card__name em { color: var(--accent); }
.price-card__price {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card__price small {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-3);
  display: block;
  letter-spacing: 0;
  margin-top: 8px;
}
.price-card--feat .price-card__price small { color: rgba(255,255,255,0.45); }
.price-card__desc { font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.price-card--feat .price-card__desc { color: rgba(255,255,255,0.65); }
.price-card__feats {
  list-style: none;
  display: flex; flex-direction: column; flex: 1;
}
.price-card__feats li {
  padding: 11px 0;
  font-size: 14px;
  color: var(--fg);
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--line);
}
.price-card--feat .price-card__feats li { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.08); }
.price-card__feats li::before {
  content: "✓";
  width: 20px; height: 20px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.price-card--feat .price-card__feats li::before {
  background: rgba(25,214,140,0.2);
  color: var(--accent);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */

@media (max-width: 1024px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__anim { display: none; }
  .svc-block__inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-block--dark .svc-block__inner > .svc-block__visual:first-child { order: -1; }
  .svc-stats-strip__sep { display: none; }
  .svc-stats-strip__inner { justify-content: center; gap: 32px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .svc-anim--design,
  .svc-anim--code,
  .svc-anim--seo,
  .svc-anim--automation,
  .svc-anim--marketing,
  .svc-anim--social { min-height: 360px; }
  .sa-social-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .sa-post--lg { grid-row: auto; aspect-ratio: 1; }
  .sa-dash__kpis { grid-template-columns: 1fr; }
  .sa-kpi { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
}
