/* Luiyeth Rojas Home refresh — servicios, bio y promoción */

/* Visibilidad segura: contenido nunca depende de IntersectionObserver. */
.reveal-on-scroll,
.dw-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Contraste estable frente al reset global de enlaces. */
.hero-primary-cta {
  color: #ffffff !important;
}

.hero-primary-cta svg {
  color: currentColor !important;
  stroke: currentColor !important;
}

html.dark .hero-primary-cta {
  color: #0f172a !important;
}

.home-promo-strip {
  width: min(74rem, calc(100% - 2rem));
  min-height: 78px;
  margin: 1.5rem auto 2.5rem;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .42), transparent 25%),
    linear-gradient(120deg, #dff7ff, #e7efff);
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(0, 153, 213, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-promo-strip:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(0, 153, 213, .13);
}

.home-promo-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #0099d5;
}

.home-promo-icon svg,
.home-promo-action svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.home-promo-copy {
  min-width: 0;
  display: grid;
  gap: .18rem;
}

.home-promo-copy small {
  color: #087fa2;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-promo-copy strong {
  font-size: clamp(.94rem, 2vw, 1.14rem);
  line-height: 1.25;
  letter-spacing: -.015em;
}

.home-promo-action {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1d4ed8;
  font-size: .83rem;
  font-weight: 900;
  white-space: nowrap;
}

/* Luiyeth Rojas - Reparaciones con IA */
.home-ai-spotlight {
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.6rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-radius: clamp(28px, 4vw, 42px);
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

.home-ai-kicker {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #ff6a2a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-ai-kicker svg {
  width: 17px;
  height: 17px;
}

.home-ai-copy h2 {
  max-width: 45rem;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 5.4vw, 4.8rem);
  font-weight: 950;
  line-height: .96;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.home-ai-copy > p:not(.home-ai-kicker) {
  max-width: 42rem;
  margin: 1.3rem 0 0;
  color: #d4d4d8;
  font-size: clamp(.98rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.home-ai-actions {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.3rem;
}

.home-ai-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: #ffffff !important;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 900;
}

.home-ai-primary {
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: #ff4f00;
}

.home-ai-primary svg {
  width: 18px;
  height: 18px;
}

.home-ai-secondary {
  padding: .8rem 0;
}

.home-ai-demo {
  padding: 1rem;
  border-radius: 22px;
  background: #ffffff;
  color: #18181b;
}

.home-ai-demo-head {
  padding: .1rem .15rem .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .8rem;
}

.home-ai-demo-head img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: cover;
}

.home-ai-demo-head span {
  margin-left: auto;
  color: #c2410c;
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.home-ai-message {
  margin-left: 1rem;
  padding: .85rem 1rem;
  border-radius: 15px;
  background: #f4f4f5;
  color: #3f3f46;
  font-size: .8rem;
  line-height: 1.55;
}

.home-ai-result {
  margin: .7rem 1rem 0 0;
  padding: .85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  border-radius: 15px;
  background: #fff1eb;
  color: #9a3412;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.5;
}

.home-ai-result svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: .05rem;
}

.home-services {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, .13), transparent 32%),
    linear-gradient(145deg, #f1f7ff, #f8fafc 58%);
}

.home-services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, .65fr);
  align-items: end;
  gap: 2rem 4rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.home-kicker {
  margin: 0 0 .8rem;
  color: #087fa2;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-services-head h2,
.home-bio h2 {
  margin: 0;
  color: var(--td-ink);
  font-size: clamp(2.45rem, 5.8vw, 5rem);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 950;
  text-wrap: balance;
}

.home-services-head > p {
  margin: 0;
  color: var(--td-ink-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.home-service-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem;
  list-style: none;
}

.home-service-row {
  width: 100%;
  min-height: 88px;
  padding: 1rem 1.15rem;
  display: grid;
  grid-template-columns: 2rem 2.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 0 !important;
  border-radius: 22px;
  background: transparent;
  color: var(--td-ink);
  text-align: left;
  cursor: pointer;
  overflow: visible !important;
  transition: background .22s ease, transform .22s ease !important;
}

.home-service-row:hover,
.home-service-row:focus-visible {
  background: rgba(255, 255, 255, .78);
  transform: translateX(6px);
  outline: none;
}

.home-service-index {
  color: #006b94;
  font-size: .72rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.home-service-icon {
  width: 27px;
  height: 27px;
  color: #0099d5;
  stroke-width: 1.7;
}

.home-service-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(11rem, .55fr) minmax(15rem, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.home-service-copy strong {
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.home-service-copy small {
  color: var(--td-ink-dim);
  font-size: .88rem;
  line-height: 1.5;
}

.home-service-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #006b94;
  font-size: .78rem;
  font-weight: 900;
}

.home-service-action svg {
  width: 17px;
  height: 17px;
}

.home-bio {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(20rem, .75fr);
  gap: 3rem 6rem;
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 153, 213, .12), transparent 30%),
    linear-gradient(145deg, #ffffff, #eef6ff);
}

.home-bio-role {
  max-width: 24rem;
  margin: 1.35rem 0 0;
  color: #087fa2;
  font-size: .92rem;
  font-weight: 800;
}

.home-bio-content {
  align-self: end;
}

.home-bio-content > p {
  margin: 0;
  color: var(--td-ink-dim);
  font-size: .98rem;
  line-height: 1.75;
}

.home-bio-content > p + p {
  margin-top: 1rem;
}

.home-bio-content .home-bio-lead {
  color: var(--td-ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.home-bio-actions {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
}

.home-bio-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 900;
}

.home-bio-actions svg {
  width: 19px;
  height: 19px;
}

.home-bio-primary {
  padding: .8rem 1.15rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}

.home-bio-primary:hover {
  transform: translateY(-2px);
}

.home-bio-social {
  color: #006b94 !important;
}

html.dark .home-promo-strip {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 153, 213, .14), transparent 28%),
    linear-gradient(120deg, #172033, #14253a);
  color: #f8fafc;
}

html.dark .home-promo-copy small,
html.dark .home-promo-action {
  color: #67e8f9;
}

html.dark .home-services {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 153, 213, .12), transparent 30%),
    linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .78));
}

html.dark .home-service-row:hover,
html.dark .home-service-row:focus-visible {
  background: rgba(255, 255, 255, .06);
}

html.dark .home-bio {
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 153, 213, .16), transparent 30%),
    linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .8));
}

html.dark .home-bio-primary {
  background: #f8fafc;
  color: #0f172a !important;
  box-shadow: none;
}

@media (max-width: 900px) {
  .home-services-head,
  .home-bio,
  .home-ai-spotlight {
    grid-template-columns: 1fr;
  }

  .home-services-head {
    align-items: start;
  }

  .home-service-copy {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
}

@media (max-width: 640px) {
  .home-promo-strip {
    width: calc(100% - 1.5rem);
    margin: .75rem auto 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 20px;
  }

  .home-promo-icon {
    display: none;
  }

  .home-promo-action > span {
    display: none;
  }

  .home-services {
    margin-inline: -.25rem;
    padding: 2rem 1rem;
    border-radius: 26px;
  }

  .home-ai-spotlight {
    margin-inline: -.25rem;
    padding: 2rem 1.25rem;
    border-radius: 26px;
  }

  .home-ai-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .home-ai-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-ai-actions a {
    width: 100%;
  }

  .home-services-head {
    gap: 1.2rem;
  }

  .home-services-head h2,
  .home-bio h2 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .home-service-row {
    min-height: 92px;
    padding: .9rem .55rem;
    grid-template-columns: 1.5rem 1.8rem minmax(0, 1fr);
    gap: .75rem;
  }

  .home-service-index {
    font-size: .65rem;
  }

  .home-service-icon {
    width: 24px;
    height: 24px;
  }

  .home-service-copy strong {
    font-size: 1.12rem;
  }

  .home-service-copy small {
    font-size: .8rem;
  }

  .home-service-action {
    display: none;
  }

  .home-service-row:hover {
    transform: none;
  }

  .home-bio {
    padding: 2rem 1.25rem;
    gap: 2rem;
    border-radius: 26px;
  }

  .home-bio-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-bio-actions a {
    width: 100%;
  }
}

/* ================================================================
   Conversion refresh — prueba real, mensaje claro, una sola voz visual
   ================================================================ */
.home-proof {
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.home-proof-head {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  align-items: end;
  gap: 2rem 4rem;
}

.home-proof-head h2 {
  max-width: 52rem;
  margin: 0;
  color: var(--td-ink);
  font-family: "SF Pro Display", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.home-proof-head > p {
  margin: 0;
  color: var(--td-ink-dim);
  font-size: .96rem;
  line-height: 1.65;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-proof-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0 !important;
  border-radius: 16px;
  background: var(--td-surface);
  color: var(--td-ink) !important;
  box-shadow: var(--td-shadow);
  text-decoration: none;
  transition: transform 220ms var(--td-enter), box-shadow 220ms ease, background-color 200ms ease !important;
}

.home-proof-card figure {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--td-surface-2);
}

.home-proof-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  transform: scale(1.001);
  transition: transform 500ms var(--td-enter);
}

.home-proof-card > div {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.home-proof-card span {
  color: var(--td-primary);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-proof-card h3 {
  margin: .55rem 0 .45rem;
  color: var(--td-ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.03em;
}

.home-proof-card p {
  margin: 0 0 1.25rem;
  color: var(--td-ink-dim);
  font-size: .86rem;
  line-height: 1.55;
}

.home-proof-card strong {
  margin-top: auto;
  color: var(--td-ink);
  font-size: .76rem;
  font-weight: 650;
}

.home-proof-more-card {
  position: relative;
  width: calc(100% - 2rem);
  height: 9.5rem;
  min-height: 0;
  padding: 0;
  align-self: center;
  justify-self: center;
  border: 0 !important;
  background: #f4f4f1 !important;
  color: #0c0c09 !important;
  box-shadow: none !important;
}

.home-proof-more-card::before {
  content: none;
}

.home-proof-more-card > div {
  min-height: 100%;
  padding: 1.25rem;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.home-proof-more-card svg {
  width: 20px;
  height: 20px;
  margin: 0;
  order: 2;
  color: #0c0c09 !important;
  stroke-width: 1.75;
  transition: transform 260ms var(--td-enter);
}

.home-proof-more-card h3,
html.dark .home-proof-more-card h3 {
  max-width: none;
  margin: 0;
  color: #0c0c09 !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}

.home-proof-more-card:focus-visible {
  outline: 2px solid #0c0c09 !important;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .home-proof-card:hover { transform: translateY(-3px); box-shadow: var(--td-shadow-hover); }
  .home-proof-card:hover img { transform: scale(1.025); }
  .home-proof-more-card:hover {
    background: #ffffff !important;
    color: #0c0c09 !important;
    box-shadow: none !important;
  }
  .home-proof-more-card:hover svg { transform: translate3d(4px, -4px, 0); }
}

html.dark .home-proof-more-card {
  background: #20211e !important;
  color: #ffffff !important;
}

html.dark .home-proof-more-card h3,
html.dark .home-proof-more-card svg {
  color: #ffffff !important;
}

html.dark .home-proof-more-card:focus-visible {
  outline-color: #ffffff !important;
}

.home-kicker,
.home-service-index,
.home-service-action,
.home-bio-role,
.home-bio-social { color: var(--td-primary) !important; }

.home-services,
.home-bio {
  border: 0 !important;
  border-radius: 16px;
  background: var(--td-surface-2);
}

.home-services-head h2,
.home-bio h2 {
  font-family: "SF Pro Display", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.055em;
}

.home-service-icon { color: var(--td-primary); }
.home-service-copy strong { font-weight: 600; }
.home-service-row {
  border-radius: 12px;
  transition: background-color 200ms ease, transform 220ms var(--td-enter) !important;
}
.home-service-row:hover,
.home-service-row:focus-visible { background: var(--td-surface) !important; transform: translateX(4px); }

.home-ai-spotlight {
  border: 0 !important;
  border-radius: 16px;
  background: #010102;
}
.home-ai-kicker { color: #31b9ec; }
.home-ai-copy h2 {
  font-family: "SF Pro Display", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.052em;
}
.home-ai-primary,
.home-academy-cta,
.home-bio-primary {
  border-radius: 9px !important;
  transition: transform 180ms var(--td-enter), background-color 200ms ease, color 200ms ease !important;
}
.home-ai-primary { background: var(--td-primary); color: var(--td-on-primary) !important; }
.home-ai-primary:hover { background: var(--td-primary-hover); }
.home-ai-demo { border-radius: 14px; }
.home-ai-message,
.home-ai-result { border-radius: 9px; }
.home-ai-result { background: #e7f8fe; color: #006b94; }

.home-bio { box-shadow: none; }
.home-bio-primary {
  background: var(--td-primary);
  color: var(--td-on-primary) !important;
  box-shadow: 0 12px 28px rgba(0, 153, 213, .2);
}
.home-bio-primary:hover { background: var(--td-primary-hover); }
html.dark .home-bio-primary { background: var(--td-primary); color: var(--td-on-primary) !important; }

.dw-store {
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--td-surface) !important;
}
.dw-store h2 { font-weight: 600 !important; letter-spacing: -.045em !important; }

html.dark .home-services,
html.dark .home-bio {
  background: var(--td-surface-2);
}

@media (max-width: 900px) {
  .home-proof-head { grid-template-columns: 1fr; gap: 1rem; }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-card { display: grid; grid-template-columns: minmax(8rem, .85fr) minmax(0, 1.15fr); }
  .home-proof-card figure { aspect-ratio: auto; min-height: 100%; }
}

@media (max-width: 640px) {
  .home-proof { padding: 2.5rem 0 2rem; }
  .home-proof-head h2 { font-size: clamp(2.4rem, 12vw, 3.35rem); }
  .home-proof-card { grid-template-columns: 1fr; }
  .home-proof-card figure { aspect-ratio: 16 / 9; }
  .home-services,
  .home-ai-spotlight,
  .home-bio { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-proof-card,
  .home-proof-card img,
  .home-proof-more-card svg,
  .home-service-row,
  .home-ai-primary,
  .home-bio-primary { transition: none !important; }
}

/* Hero 2026-07-26 — un mensaje, una acción principal. */
#tab-inicio > section.todaps-hero-lab:first-child {
  min-height: min(780px, calc(100svh - 72px)) !important;
  padding: clamp(6.5rem, 12vh, 9rem) 0 clamp(5rem, 10vh, 7rem) !important;
  padding-block: clamp(6.5rem, 12vh, 9rem) clamp(5rem, 10vh, 7rem) !important;
  padding-inline: 0 !important;
  display: grid !important;
  align-items: center;
  overflow: hidden;
  background: #f4f4f1 !important;
}

html.dark #tab-inicio > section.todaps-hero-lab:first-child {
  background: #0c0c09 !important;
}

.todaps-hero-lab::before,
.todaps-hero-lab::after {
  display: none !important;
}

.hero-minimal-shell {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
}

.hero-minimal-copy {
  max-width: 58rem;
  text-align: left;
}

.hero-eyebrow {
  width: fit-content;
  margin: 0 0 1.35rem;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #006b94 !important;
  box-shadow: none !important;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-eyebrow::after {
  display: none !important;
}

.hero-eyebrow svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

html.dark .hero-eyebrow {
  color: #31b9ec !important;
}

html.dark #tab-inicio .hero-eyebrow {
  background: transparent !important;
  box-shadow: none !important;
}

.todaps-hero-lab .hero-title {
  max-width: 58rem !important;
  margin: 0;
  color: #0c0c09 !important;
  font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(4rem, 7.4vw, 6.35rem) !important;
  font-weight: 650 !important;
  letter-spacing: -.065em !important;
  line-height: .94 !important;
  text-wrap: balance;
}

html.dark .todaps-hero-lab .hero-title {
  color: #f4f4f1 !important;
}

.hero-title > span {
  display: block;
}

.hero-title .hero-emphasis {
  color: #0099d5;
}

html.dark .hero-title .hero-emphasis {
  color: #31b9ec;
}

.hero-description {
  max-width: 42rem;
  margin: 1.75rem 0 0 !important;
  color: #4f4f49 !important;
  font-family: "Open Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important;
  font-weight: 400 !important;
  letter-spacing: -.015em;
  line-height: 1.55 !important;
}

html.dark .hero-description {
  color: #c6c6bd !important;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.hero-primary-cta,
.hero-secondary-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 0 !important;
  color: #0c0c09;
  font-family: "Open Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: .98rem !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease !important;
}

.hero-primary-cta {
  padding: 0 1.45rem !important;
  border-radius: 12px !important;
  background: #0c0c09 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.hero-primary-cta:hover {
  background: #006b94 !important;
}

html.dark .hero-primary-cta {
  background: #f4f4f1 !important;
  color: #0c0c09 !important;
}

html.dark .hero-primary-cta:hover {
  background: #ffffff !important;
}

.hero-secondary-cta {
  min-height: 48px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0c0c09 !important;
  box-shadow: none !important;
}

html.dark .hero-secondary-cta {
  background: transparent !important;
  color: #f4f4f1 !important;
}

.hero-primary-cta svg,
.hero-secondary-cta svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.hero-reassurance {
  margin: 1.35rem 0 0 !important;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #6d6d65 !important;
  font-size: .79rem !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  line-height: 1.4;
}

.hero-reassurance svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #006b94;
  stroke-width: 1.8;
}

html.dark .hero-reassurance {
  color: #a9a99f !important;
}

html.dark .hero-reassurance svg {
  color: #31b9ec;
}

.todaps-hero-lab :focus-visible {
  outline: 3px solid #006b94 !important;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-primary-cta:hover {
    transform: translateY(-2px) !important;
  }

  .hero-secondary-cta:hover {
    color: #006b94 !important;
    transform: translateX(3px) !important;
  }
}

/* Reparaciones + Soluciones Tech 2026-08-09: Minimal, sin bordes visibles. */
.td-desktop-menu .td-tech-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.td-desktop-menu .td-tech-nav svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

#tab-reparaciones,
#tab-soluciones-tech {
  font-family: "Open Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.repair-redesign,
.tech-redesign {
  --service-bg: #F4F4F1;
  --service-surface: #FFFFFF;
  --service-ink: #0C0C09;
  --service-muted: #5C5C56;
  --service-soft: #E9E9E4;
  min-width: 0;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  color: var(--service-ink);
}

html.dark .repair-redesign,
html.dark .tech-redesign {
  --service-bg: #0C0C09;
  --service-surface: #191916;
  --service-ink: #F4F4F1;
  --service-muted: #B9B9B0;
  --service-soft: #252521;
}

.repair-eyebrow,
.tech-eyebrow,
.repair-section-heading > p,
.tech-section-heading > p {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--section-accent);
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.repair-eyebrow svg,
.tech-eyebrow svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.repair-title,
.tech-title,
.repair-section-heading h2,
.tech-section-heading h2,
.repair-specialty h2,
.repair-service-card h3,
.repair-license-strip h2,
.repair-location h3,
.repair-tracker h2,
.tech-security-card h3,
.tech-other-grid h3,
.tech-cta h2 {
  font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

.repair-action,
.tech-action {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.repair-action svg,
.tech-action svg,
.repair-text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.repair-action:focus-visible,
.tech-action:focus-visible,
.repair-text-link:focus-visible,
.repair-location-actions a:focus-visible,
.repair-input:focus-visible,
.repair-scan-button:focus-visible,
.tech-redesign a:focus-visible {
  outline: 3px solid var(--section-accent);
  outline-offset: 3px;
}

/* Reparaciones */
.repair-redesign {
  --section-accent: #008044;
  --section-accent-vivid: #00C853;
}

html.dark .repair-redesign {
  --section-accent: #4ADE80;
  --section-accent-vivid: #4ADE80;
}

.repair-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(20rem, .82fr);
  gap: 24px;
  align-items: stretch;
}

.repair-hero-copy {
  padding: clamp(8px, 2vw, 24px) 0;
  align-self: center;
}

.repair-title,
.tech-title {
  max-width: 48rem;
  margin: 0;
  color: var(--service-ink);
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -.062em;
  line-height: .95;
  text-wrap: balance;
}

.repair-lede,
.tech-lede {
  max-width: 45rem;
  margin: 24px 0 0;
  color: var(--service-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.58;
}

.repair-note,
.tech-note {
  max-width: 40rem;
  margin: 12px 0 0;
  color: var(--service-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.repair-included-badge {
  width: fit-content;
  margin-top: 18px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  background: #0C0C09;
  color: #4ADE80;
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.repair-included-badge svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  background: transparent;
}

.repair-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.repair-action-primary,
.tech-action-primary {
  background: #0C0C09;
  color: #FFFFFF !important;
}

.repair-action-primary:hover {
  background: #008044;
  color: #FFFFFF !important;
}

.tech-action-primary:hover {
  background: #007C7A;
  color: #FFFFFF !important;
}

.repair-action-secondary {
  background: var(--service-surface);
  color: var(--service-ink);
}

.repair-action-secondary:hover { background: var(--service-soft); }

.repair-specialty {
  min-height: 28rem;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 8px;
  background: #0C0C09;
  color: #FFFFFF;
}

.repair-specialty-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--section-accent-vivid);
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.repair-specialty-top svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}

.repair-specialty h2 {
  max-width: 24rem;
  margin: auto 0 32px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1;
  text-wrap: balance;
}

.repair-specialty ul,
.repair-service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.repair-specialty li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: #D7D7D1;
  font-size: .93rem;
  line-height: 1.45;
}

.repair-specialty li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--section-accent-vivid);
}

.repair-visual {
  margin: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 88px);
}

.repair-visual picture,
.repair-visual img {
  display: block;
  width: 100%;
}

.repair-visual picture {
  overflow: hidden;
  border-radius: 8px;
  background: var(--service-soft);
}

.repair-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.repair-visual figcaption,
.tech-hero-visual figcaption {
  margin-top: 12px;
  color: var(--service-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.repair-services-section,
.tech-security-section,
.tech-other-section {
  margin-top: clamp(56px, 8vw, 88px);
}

.repair-section-heading,
.tech-section-heading {
  max-width: 48rem;
  margin-bottom: 32px;
}

.repair-section-heading h2,
.tech-section-heading h2 {
  margin: 0;
  color: var(--service-ink);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.repair-section-heading-compact h2,
.tech-section-heading-compact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.repair-section-heading > span,
.tech-section-heading > span {
  display: block;
  margin-top: 12px;
  color: var(--service-muted);
  line-height: 1.55;
}

.repair-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.repair-service-card {
  min-width: 0;
  min-height: 22rem;
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 8px;
  background: var(--service-surface);
  box-shadow: none;
}

.repair-service-card-primary {
  background: #0C0C09;
  color: #FFFFFF;
}

.repair-service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: clamp(32px, 5vw, 64px);
  color: var(--section-accent);
  stroke-width: 1.6;
}

.repair-service-card h3 {
  margin: 40px 0 12px;
  color: inherit;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.repair-service-card > p {
  margin: 0 0 24px;
  color: var(--service-muted);
  font-size: .94rem;
  line-height: 1.55;
}

.repair-service-card-primary > p,
.repair-service-card-primary li { color: #CFCFC8; }

.repair-service-card li {
  padding: 5px 0;
  color: var(--service-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.repair-service-card-primary li { color: #CFCFC8; }

.repair-service-card li::before {
  content: "—";
  margin-right: 8px;
  color: var(--section-accent);
}

.repair-card-link {
  width: fit-content;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--service-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.repair-card-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.repair-card-link:hover {
  color: var(--section-accent);
  transform: translateX(3px);
}

.repair-card-link:focus-visible {
  outline: 3px solid var(--section-accent);
  outline-offset: 4px;
}

.repair-auto-strip {
  margin-top: 16px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 8px;
  background: #0c0c09;
  color: #ffffff;
}
.repair-auto-strip > svg {
  width: 32px;
  height: 32px;
  color: var(--section-accent-vivid);
  stroke-width: 1.6;
}
.repair-auto-strip p:first-child {
  margin: 0 0 4px;
  color: var(--section-accent-vivid);
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.repair-auto-strip h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.repair-auto-strip p {
  margin: 0;
  color: #cfcfc8;
  font-size: .9rem;
  line-height: 1.5;
}
.repair-auto-strip .repair-action-light {
  background: #008044;
  color: #ffffff;
}
.repair-auto-strip .repair-action-light:hover {
  background: #00c853;
  color: #0c0c09;
}

.repair-license-strip {
  margin-top: 16px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 8px;
  background: var(--service-surface);
}

.repair-license-strip > svg {
  width: 32px;
  height: 32px;
  color: var(--section-accent);
  stroke-width: 1.6;
}

.repair-license-strip h2 {
  margin: 0 0 4px;
  color: var(--service-ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.repair-license-strip p {
  margin: 0;
  color: var(--service-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.repair-text-link,
.repair-location-actions a {
  color: var(--service-ink);
  font-weight: 700;
  text-decoration: none;
}

.repair-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.repair-text-link:hover,
.repair-location-actions a:hover { color: var(--section-accent); }

.repair-dns-feature {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: clamp(28px, 4.5vw, 52px);
  background: #0C0C09;
  color: #FFFFFF;
  border-radius: 8px;
  border: 0;
}

.repair-dns-feature::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: rgba(74, 222, 128, .09);
  pointer-events: none;
}

.repair-dns-layout {
  position: relative;
  z-index: 1;
}

.repair-dns-content {
  min-width: 0;
  align-self: center;
}

.repair-dns-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ADE80;
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.repair-dns-badge svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  background: transparent;
}

.repair-dns-top h2 {
  margin: 12px 0 10px;
  color: #FFFFFF;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.repair-dns-lead {
  margin: 0;
  color: #C8C8C1;
  font-size: clamp(.92rem, 1.2vw, 1rem);
  line-height: 1.65;
  max-width: 58rem;
}

.repair-dns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: 30px;
}

.repair-dns-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 10px;
  align-content: start;
  padding: 18px;
  background: #171814;
  border-radius: 8px;
  border: 0;
}

.repair-dns-card-icon {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  color: #4ADE80;
  stroke-width: 1.8;
  background: transparent;
  margin: 1px 0 0;
}

.repair-dns-card h3 {
  margin: 0 0 5px;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.repair-dns-card p {
  grid-column: 2;
  margin: 0;
  color: #BDBDB5;
  font-size: .85rem;
  line-height: 1.5;
}

.repair-dns-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 0;
}

.repair-dns-next {
  display: grid;
  gap: 5px;
  max-width: 38rem;
}

.repair-dns-next strong {
  color: #FFFFFF;
  font-size: 1rem;
  letter-spacing: -.01em;
}

.repair-dns-next span {
  color: #BDBDB5;
  font-size: .86rem;
  line-height: 1.5;
}

.repair-action-dns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #4ADE80;
  color: #0C0C09 !important;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.repair-action-dns:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: none;
}

.repair-action-dns svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

@media (max-width: 820px) {
  .repair-dns-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .repair-action-dns {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .repair-dns-feature {
    padding: 24px;
    border-radius: 8px;
  }
  .repair-dns-grid { grid-template-columns: 1fr; }
}

.repair-bottom-grid {
  margin-top: clamp(64px, 9vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.repair-locations,
.repair-tracker {
  min-width: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 0;
  border-radius: 8px;
}

.repair-locations { background: var(--service-surface); }
.repair-tracker { background: #0C0C09; color: #FFFFFF; }
.repair-tracker .repair-section-heading h2 { color: #FFFFFF; }
.repair-tracker .repair-section-heading > span { color: #BDBDB5; }

.repair-location-list { display: grid; gap: 24px; }

.repair-location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
}

.repair-location > svg {
  width: 24px;
  height: 24px;
  color: var(--section-accent);
  stroke-width: 1.7;
}

.repair-location h3 {
  margin: 0 0 5px;
  color: var(--service-ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.repair-location p {
  margin: 0;
  color: var(--service-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.repair-location-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .84rem;
}

.repair-input-label {
  display: block;
  margin-bottom: 8px;
  color: #D7D7D1;
  font-size: .75rem;
  font-weight: 700;
}

.repair-input {
  min-height: 52px;
  padding: 0 52px 0 16px;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: #FFFFFF;
  color: #0C0C09;
  font-size: .95rem;
  font-weight: 600;
}

.repair-input::placeholder { color: #73736C; font-weight: 400; }

.repair-scan-button {
  border: 0;
  background: transparent;
  color: #66665F;
}

.repair-scan-button:hover { color: #008044; }

.repair-action-light {
  background: #F4F4F1;
  color: #0C0C09;
}

.repair-action-light:hover { background: #FFFFFF; }

.repair-status-help {
  margin: 12px 0 0;
  color: #BDBDB5;
  font-size: .75rem;
  line-height: 1.5;
}

#status-checker #repair-status-feedback { border: 0 !important; }

/* Soluciones Tech */
.tech-redesign { --section-accent: #007C7A; }

html.dark .tech-redesign { --section-accent: #5EEAD4; }

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(30rem, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.tech-action-primary { margin-top: 28px; }

.tech-hero-visual {
  min-width: 0;
  margin: 0;
}

.tech-hero-visual picture,
.tech-hero-visual img {
  display: block;
  width: 100%;
}

.tech-hero-visual picture {
  overflow: hidden;
  border-radius: 8px;
  background: var(--service-soft);
}

.tech-hero-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tech-security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tech-security-card,
.tech-other-grid article {
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 0;
  border-radius: 8px;
  background: var(--service-surface);
}

.tech-security-card {
  display: flex;
  flex-direction: column;
}

.tech-security-card-primary {
  grid-column: 1 / -1;
  min-height: 19rem;
  padding: clamp(32px, 5vw, 56px);
  background: #007C7A;
  color: #FFFFFF;
}

.tech-security-card > svg,
.tech-other-grid article > svg {
  width: 32px;
  height: 32px;
  margin-bottom: 48px;
  color: var(--section-accent);
  stroke-width: 1.6;
}

.tech-security-card-primary > svg {
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  color: #FFFFFF;
}

.tech-security-card h3,
.tech-other-grid h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.tech-security-card-primary h3 {
  max-width: 38rem;
  margin-top: 56px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.05em;
}

.tech-security-card p,
.tech-other-grid p {
  margin: 0;
  color: var(--service-muted);
  font-size: .94rem;
  line-height: 1.6;
}

.tech-security-card-primary p {
  max-width: 42rem;
  color: #ECFEFF;
  font-size: 1rem;
}

.tech-other-section { margin-top: clamp(64px, 9vw, 104px); }

.tech-other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tech-other-grid article { min-height: 19rem; }

.tech-cta {
  margin-top: clamp(64px, 9vw, 104px);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 8px;
  background: #007C7A;
  color: #FFFFFF;
}

.tech-cta > div { max-width: 42rem; }

.tech-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1;
}

.tech-cta p {
  margin: 12px 0 0;
  color: #ECFEFF;
  line-height: 1.55;
}

.tech-action-light {
  flex: 0 0 auto;
  background: #FFFFFF;
  color: #0C0C09 !important;
}

.tech-action-light:hover {
  background: #F4F4F1;
  color: #0C0C09 !important;
}

@media (hover: hover) and (pointer: fine) {
  .repair-action:hover,
  .tech-action:hover { transform: translateY(-2px); }
}

@media (max-width: 960px) {
  .repair-hero,
  .tech-hero,
  .repair-bottom-grid {
    grid-template-columns: 1fr;
  }

  .repair-specialty { min-height: 24rem; }
  .repair-service-grid,
  .tech-other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-security-card-primary { grid-column: 1 / -1; }
  .tech-security-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .repair-redesign,
  .tech-redesign { padding-top: 2.25rem; }

  .repair-title,
  .tech-title {
    font-size: clamp(2.75rem, 13vw, 3.7rem);
    line-height: .98;
  }

  .repair-lede,
  .tech-lede { margin-top: 20px; }

  .repair-actions { flex-direction: column; }
  .repair-action,
  .tech-action { width: 100%; }
  .repair-specialty { min-height: 20rem; }

  .repair-visual { margin-bottom: 56px; }
  .repair-service-grid,
  .tech-security-grid,
  .tech-other-grid { grid-template-columns: 1fr; }

  .repair-service-card { min-height: 0; }
  .repair-license-strip,
  .repair-auto-strip { grid-template-columns: auto minmax(0, 1fr); }
  .repair-license-strip .repair-text-link,
  .repair-auto-strip .repair-action { grid-column: 2; }
  .tech-security-card-primary,
  .tech-security-card:last-child { grid-column: auto; }
  .tech-security-card-primary { min-height: 22rem; }
  .tech-other-grid article { min-height: 17rem; }

  .tech-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .repair-license-strip,
  .repair-auto-strip {
    grid-template-columns: 1fr;
  }

  .repair-license-strip .repair-text-link,
  .repair-auto-strip .repair-action { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .repair-action,
  .tech-action { transition: none; }
}

/* ==========================================================
   Diseño e impresión + Fotografía
   Minimal editorial · portafolio primero · sin bordes visibles
   ========================================================== */

#tab-diseno-grafico,
#tab-fotografia {
  font-family: "Open Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.creative-redesign {
  --creative-bg: #F4F4F1;
  --creative-surface: #FFFFFF;
  --creative-soft: #E9E9E4;
  --creative-ink: #0C0C09;
  --creative-muted: #5C5C56;
  --creative-accent: #D81B60;
  min-width: 0;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  color: var(--creative-ink);
}

.photo-redesign { --creative-accent: #C84600; }

html.dark .creative-redesign {
  --creative-bg: #0C0C09;
  --creative-surface: #191916;
  --creative-soft: #252521;
  --creative-ink: #F4F4F1;
  --creative-muted: #B9B9B0;
}

html.dark .design-redesign { --creative-accent: #F9A8D4; }
html.dark .photo-redesign { --creative-accent: #FDBA74; }

.creative-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(28rem, 1.12fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.creative-hero-copy { min-width: 0; }

.creative-eyebrow,
.creative-section-heading > p {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--creative-accent);
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.creative-eyebrow svg,
.creative-section-heading > p svg,
.creative-assurance svg,
.photo-extra-service svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.creative-title,
.creative-section-heading h2,
.creative-card h3,
.creative-cta h2 {
  font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

.creative-title {
  max-width: 43rem;
  margin: 0;
  color: var(--creative-ink);
  font-size: clamp(3.35rem, 7vw, 6rem);
  font-weight: 650;
  letter-spacing: -.064em;
  line-height: .94;
  text-wrap: balance;
}

.creative-lede {
  max-width: 39rem;
  margin: 24px 0 0;
  color: var(--creative-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.58;
}

.creative-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.creative-action {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.creative-action svg,
.photo-portfolio-links svg,
.creative-swipe-hint svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.creative-action-primary {
  background: #0C0C09;
  color: #FFFFFF !important;
}

.design-redesign .creative-action-primary:hover {
  background: #D81B60;
  color: #FFFFFF !important;
}

.photo-redesign .creative-action-primary:hover {
  background: #C84600;
  color: #FFFFFF !important;
}

html.dark .creative-action-primary {
  background: #FFFFFF;
  color: #0C0C09 !important;
}

html.dark .design-redesign .creative-action-primary:hover,
html.dark .photo-redesign .creative-action-primary:hover {
  background: #E9E9E4;
  color: #0C0C09 !important;
}

.creative-action-light {
  flex: 0 0 auto;
  background: #FFFFFF;
  color: #0C0C09 !important;
}

.creative-action-light:hover {
  background: #F4F4F1;
  color: #0C0C09 !important;
}

.creative-action:focus-visible,
.design-gallery a:focus-visible,
.photo-gallery-card:focus-visible,
.photo-portfolio-links a:focus-visible {
  outline: 3px solid var(--creative-accent);
  outline-offset: 3px;
}

.creative-assurance {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--creative-muted);
  font-size: .82rem;
  font-weight: 600;
}

.creative-assurance svg { color: var(--creative-accent); }

.design-showcase {
  min-width: 0;
  min-height: 34rem;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(10rem, .65fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.design-showcase-item,
.photo-hero-media,
.photo-hero-detail {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--creative-soft);
}

.design-showcase-main { grid-row: 1 / -1; }

.design-showcase img,
.photo-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.design-showcase-main img { object-position: 64% center; }

.creative-section { margin-top: clamp(72px, 10vw, 120px); }

.creative-section-heading {
  max-width: 50rem;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.creative-section-heading h2 {
  max-width: 48rem;
  margin: 0;
  color: var(--creative-ink);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -.058em;
  line-height: .98;
  text-wrap: balance;
}

.creative-section-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.creative-section-intro {
  margin-top: 14px;
  display: block;
  color: var(--creative-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.design-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.creative-card {
  min-height: 19rem;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
  border-radius: 8px;
  background: var(--creative-surface);
  color: var(--creative-ink);
}

.creative-card > svg {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  color: var(--creative-accent);
  stroke-width: 1.65;
}

.creative-card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.creative-card p {
  max-width: 28rem;
  margin: 0;
  color: var(--creative-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.creative-card-accent {
  background: #D81B60;
  color: #FFFFFF;
}

.creative-card-dark {
  background: #0C0C09;
  color: #FFFFFF;
}

.creative-card-accent > svg,
.creative-card-dark > svg,
.creative-card-accent p,
.creative-card-dark p { color: #DEDEEC; }

.creative-card-accent > svg,
.creative-card-accent p { color: #F5F3FF; }

.design-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 12.5rem;
  gap: 12px;
}

.design-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--creative-soft);
}

.design-gallery a:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.design-gallery a:nth-child(2),
.design-gallery a:nth-child(3) { grid-column: span 5; }
.design-gallery a:nth-child(n + 4) { grid-column: span 4; }

.design-gallery img,
.photo-gallery-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.design-gallery a:nth-child(1) img { object-position: 62% center; }

.creative-swipe-hint {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--creative-muted);
  font-size: .78rem;
  font-weight: 650;
  white-space: nowrap;
}

.creative-cta {
  margin-top: clamp(72px, 10vw, 120px);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 8px;
  color: #FFFFFF;
}

.creative-cta-design { background: #D81B60; }
.creative-cta-photo { background: #C84600; }
.creative-cta > div { max-width: 42rem; }

.creative-cta h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1;
}

.creative-cta p {
  margin: 12px 0 0;
  color: #DEDEEC;
  line-height: 1.55;
}

.creative-cta-design p { color: #F5F3FF; }
.creative-cta-photo p { color: #FFF7ED; }

.photo-hero { grid-template-columns: minmax(0, .82fr) minmax(30rem, 1.18fr); }

.photo-hero-media {
  min-height: 39rem;
  margin: 0;
  isolation: isolate;
  background: #0C0C09;
}

.photo-hero-media::after {
  position: absolute;
  inset: 50% 0 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(12, 12, 9, .72), transparent);
  content: "";
  pointer-events: none;
}

.photo-hero-main { object-position: center 34%; }

.photo-hero-detail {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  width: min(38%, 13rem);
  aspect-ratio: 1;
  box-shadow: 0 18px 46px rgba(12, 12, 9, .28);
}

.photo-hero-detail img { object-position: 54% center; }

.photo-hero-media figcaption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  max-width: calc(62% - 36px);
  color: #FFFFFF;
  font-size: .8rem;
  font-weight: 700;
}

.photo-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.photo-service-grid .creative-card { min-height: 17rem; }

.photo-extra-service {
  margin: 12px 0 0;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--creative-soft);
  color: var(--creative-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.photo-extra-service svg { color: var(--creative-accent); }

.photo-portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.photo-portfolio-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--creative-ink) !important;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.photo-portfolio-links a:hover { color: var(--creative-accent) !important; }

#galeria-fotos.photo-gallery {
  min-height: 16rem;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: 15rem !important;
  gap: 12px !important;
}

#galeria-fotos .photo-gallery-card {
  position: relative;
  min-width: 0;
  display: block;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--creative-soft) !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
}

#galeria-fotos .photo-gallery-card:nth-child(6n + 1) {
  grid-column: span 7;
  grid-row: span 2;
}

#galeria-fotos .photo-gallery-card:nth-child(6n + 2),
#galeria-fotos .photo-gallery-card:nth-child(6n + 3) { grid-column: span 5; }

#galeria-fotos .photo-gallery-card:nth-child(6n + 4),
#galeria-fotos .photo-gallery-card:nth-child(6n + 5),
#galeria-fotos .photo-gallery-card:nth-child(6n + 6) { grid-column: span 4; }

.photo-gallery-card::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(to top, rgba(12, 12, 9, .86), transparent);
  content: "";
  pointer-events: none;
}

.photo-gallery-overlay {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: #FFFFFF;
}

.photo-gallery-overlay strong {
  color: #FFFFFF;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.photo-gallery-overlay small {
  flex: 0 0 auto;
  color: #E6E6DF;
  font-size: .7rem;
  font-weight: 650;
}

.photo-gallery-placeholder,
.photo-gallery-state {
  display: grid;
  place-items: center;
  color: var(--creative-muted);
}

.photo-gallery-placeholder { height: 100%; }

.photo-gallery-placeholder svg,
.photo-gallery-state svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}

.photo-gallery-state {
  min-height: 16rem;
  grid-column: 1 / -1;
  align-content: center;
  gap: 12px;
  border-radius: 8px;
  background: var(--creative-soft);
  text-align: center;
}

.photo-gallery-state p { margin: 0; }
.photo-gallery-error { color: #B91C1C; }
.photo-gallery-hint { margin: -22px 0 18px; }

@media (hover: hover) and (pointer: fine) {
  .creative-action:hover { transform: translateY(-2px); }
  .design-gallery a:hover img,
  .photo-gallery-card:hover > img { transform: scale(1.035); }
}

@media (max-width: 960px) {
  .creative-hero,
  .photo-hero { grid-template-columns: 1fr; }

  .creative-hero { align-items: start; }
  .design-showcase { min-height: 31rem; }
  .photo-hero-media { min-height: 36rem; }
  .design-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-capabilities .creative-card:first-child { grid-column: 1 / -1; }

  .design-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 15rem;
  }

  .design-gallery a:nth-child(1) { grid-column: 1 / -1; }
  .design-gallery a:nth-child(n + 2) { grid-column: auto; }
}

@media (max-width: 640px) {
  .creative-redesign { padding-top: 2.5rem; }

  .creative-title {
    font-size: clamp(3rem, 14vw, 4.25rem);
    line-height: .94;
  }

  .creative-lede { margin-top: 20px; }
  .creative-actions { flex-direction: column; }
  .creative-action { width: 100%; }

  .design-showcase {
    min-height: 25rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(7rem, .65fr);
    gap: 8px;
  }

  .creative-section { margin-top: 72px; }
  .creative-section-heading { margin-bottom: 26px; }
  .creative-section-heading h2 { font-size: clamp(2.4rem, 11vw, 3.45rem); }

  .creative-section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .design-capabilities,
  .photo-service-grid { grid-template-columns: 1fr; }

  .design-capabilities .creative-card:first-child { grid-column: auto; }
  .creative-card,
  .photo-service-grid .creative-card { min-height: 16.5rem; }

  .creative-swipe-hint { display: inline-flex; }

  .design-gallery,
  #galeria-fotos.photo-gallery {
    margin-right: 0;
    padding-right: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-auto-rows: auto !important;
    gap: 8px !important;
    overflow: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
  }

  .design-gallery a,
  #galeria-fotos .photo-gallery-card {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 0;
    scroll-snap-align: none;
  }

  .design-gallery a { aspect-ratio: 1; }
  #galeria-fotos .photo-gallery-card { aspect-ratio: 4 / 5; }

  #galeria-fotos .photo-gallery-state {
    grid-column: 1 / -1 !important;
    aspect-ratio: auto;
  }

  .photo-gallery-overlay {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .photo-gallery-overlay strong { font-size: .9rem; }
  .photo-gallery-overlay small { font-size: .62rem; }

  .design-gallery a:nth-child(1) img { object-position: 66% center; }

  .photo-hero-media { min-height: 32rem; }
  .photo-hero-detail { width: 38%; }
  .photo-gallery-hint { margin-top: -8px; }

  .creative-cta {
    margin-top: 72px;
    align-items: flex-start;
    flex-direction: column;
  }

  .creative-cta .creative-action { width: 100%; }
}

@media (max-width: 360px) {
  .design-showcase { min-height: 22rem; }
  .photo-hero-media { min-height: 28rem; }
}

@media (prefers-reduced-motion: reduce) {
  .creative-action,
  .design-gallery img,
  .photo-gallery-card > img { transition: none !important; }
}

/* ==========================================================
   Diseño web y sistemas — arquitectura de capacidades
   Swiss minimal técnico · alcance exclusivo #tab-diseno-web
   ========================================================== */

#tab-diseno-web {
  --dw-web-ink: #0c0c09;
  --dw-web-muted: #686863;
  --dw-web-soft: #f0f0ec;
  --dw-web-surface: #ffffff;
  --dw-web-cyan: #0099d5;
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#tab-diseno-web .dw-wrap {
  padding-top: clamp(3.25rem, 6vw, 5.5rem) !important;
}

#tab-diseno-web .dw-head {
  margin-bottom: clamp(2rem, 5vw, 4.25rem) !important;
}

#tab-diseno-web .dw-eyebrow {
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--dw-web-muted);
  font-size: .73rem;
  font-weight: 720;
  letter-spacing: .11em;
  text-transform: uppercase;
}

#tab-diseno-web .dw-eyebrow > span:first-child {
  width: 34px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: var(--dw-web-cyan);
}

#tab-diseno-web .dw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

#tab-diseno-web .dw-hero-copy {
  min-width: 0;
}

#tab-diseno-web .dw-title {
  max-width: 670px;
  margin: 0 0 1.65rem !important;
  color: var(--dw-web-ink) !important;
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(3.65rem, 6.8vw, 6.8rem) !important;
  font-weight: 760 !important;
  line-height: .91 !important;
  letter-spacing: -.073em !important;
  word-spacing: .18em;
  text-wrap: balance;
}

#tab-diseno-web .dw-lede {
  max-width: 38rem;
  margin: 0 0 1rem;
  color: var(--dw-web-muted) !important;
  font-size: clamp(1rem, 1.4vw, 1.14rem) !important;
  line-height: 1.65 !important;
}

#tab-diseno-web .td-section-note {
  margin-bottom: 1.5rem;
  color: var(--dw-web-ink) !important;
  font-size: .8rem;
  line-height: 1.45;
}

#tab-diseno-web .dw-hero-copy > .dw-cta {
  width: fit-content;
  min-height: 50px;
  padding: 0 1.25rem !important;
  border-radius: 12px !important;
}

#tab-diseno-web .dw-rescue-link {
  width: fit-content;
  max-width: 100%;
  margin-top: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: var(--dw-web-cyan);
  font-size: .76rem;
  font-weight: 720;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

#tab-diseno-web .dw-rescue-link > span {
  min-width: 0;
}

#tab-diseno-web .dw-rescue-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke-width: 2;
}

#tab-diseno-web .dw-rescue-link:hover {
  color: var(--dw-web-ink);
  transform: translateX(2px);
}

#tab-diseno-web .dw-rescue-link:focus-visible {
  outline: 2px solid var(--dw-web-cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

#tab-diseno-web .dw-architecture {
  position: relative;
  min-height: 470px;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 2%, rgba(0, 153, 213, .22), transparent 27%),
    linear-gradient(145deg, #161614, #080807 68%);
  color: #ffffff;
  box-shadow: 0 32px 80px rgba(12, 12, 9, .17);
}

#tab-diseno-web .dw-architecture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .13;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

#tab-diseno-web .dw-architecture::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 2.1rem;
  width: 2px;
  height: 57%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, #19a9df 12%, #19a9df 88%, transparent);
  transform-origin: top;
  animation: dwWebLine 1.15s .35s cubic-bezier(.2, .8, .2, 1) both;
}

#tab-diseno-web .dw-architecture-head,
#tab-diseno-web .dw-architecture-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#tab-diseno-web .dw-architecture-head {
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, .58);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#tab-diseno-web .dw-architecture-head svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

#tab-diseno-web .dw-architecture-stack {
  display: grid;
  gap: .65rem;
}

#tab-diseno-web .dw-capability {
  min-height: 104px;
  padding: 1rem 1rem 1rem 1.2rem;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: .95rem;
  align-items: start;
  border-radius: 16px;
  background: rgba(255, 255, 255, .065);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: dwWebCardIn .75s calc(.42s + var(--dw-step) * .13s) cubic-bezier(.2, .8, .2, 1) both;
  transition: transform .28s ease, background-color .28s ease;
}

#tab-diseno-web .dw-capability:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, .1);
}

#tab-diseno-web .dw-capability > svg {
  width: 23px;
  height: 23px;
  margin-top: 2px;
  color: #ffffff;
  stroke-width: 1.75;
}

#tab-diseno-web .dw-capability h2 {
  margin: 0 0 .32rem;
  color: #ffffff !important;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 690;
  line-height: 1.15;
  letter-spacing: -.03em;
}

#tab-diseno-web .dw-capability p {
  margin: 0;
  color: rgba(255, 255, 255, .62) !important;
  font-size: .82rem;
  line-height: 1.5;
}

#tab-diseno-web .dw-architecture-status {
  justify-content: flex-start;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .73rem;
  font-weight: 620;
}

#tab-diseno-web .dw-architecture-status > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54d49a;
  box-shadow: 0 0 0 5px rgba(84, 212, 154, .1);
  animation: dwWebPulse 2.4s ease-in-out infinite;
}

#tab-diseno-web .offer499-web-promo {
  margin-bottom: clamp(3.4rem, 7vw, 6rem) !important;
}

#tab-diseno-web .dw-solutions-head {
  max-width: 780px;
  margin: 0 0 clamp(1.6rem, 4vw, 2.8rem);
}

#tab-diseno-web .dw-solutions-head > p {
  margin: 0 0 .85rem;
  color: var(--dw-web-cyan);
  font-size: .73rem;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}

#tab-diseno-web .dw-solutions-head h2 {
  margin: 0;
  color: var(--dw-web-ink) !important;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  font-weight: 730;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

#tab-diseno-web .dw-services {
  margin-bottom: 1rem !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  counter-reset: none !important;
}

#tab-diseno-web .dw-service {
  min-height: 214px;
  padding: 1.4rem !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--dw-web-surface) !important;
  box-shadow: 0 16px 44px rgba(12, 12, 9, .055) !important;
  counter-increment: none !important;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease !important;
  transition-delay: calc(var(--dw-order) * 12ms) !important;
}

#tab-diseno-web .dw-service::before {
  content: none !important;
  display: none !important;
}

#tab-diseno-web .dw-service:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 58px rgba(12, 12, 9, .09) !important;
}

#tab-diseno-web .dw-service > svg {
  width: 26px;
  height: 26px;
  color: var(--dw-web-cyan);
  stroke-width: 1.65;
}

#tab-diseno-web .dw-service h3 {
  margin-bottom: .55rem !important;
  color: var(--dw-web-ink) !important;
  font-size: 1.18rem !important;
  font-weight: 690 !important;
}

#tab-diseno-web .dw-service p {
  color: var(--dw-web-muted) !important;
  font-size: .88rem !important;
  line-height: 1.55 !important;
}

#tab-diseno-web .dw-stack {
  margin: 1rem 0 clamp(4.5rem, 8vw, 7.5rem) !important;
  padding: 1.05rem 0 !important;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: inset 0 1px rgba(12, 12, 9, .09), inset 0 -1px rgba(12, 12, 9, .09);
}

#tab-diseno-web .dw-stack > span {
  color: var(--dw-web-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

#tab-diseno-web .dw-stack p {
  margin: 0;
  color: var(--dw-web-muted);
  font-size: .72rem;
  line-height: 1.5;
  text-align: right;
}

#tab-diseno-web .dw-sec-head {
  margin-bottom: 1.6rem !important;
}

#tab-diseno-web .dw-sec-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem) !important;
  font-weight: 730 !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}

#tab-diseno-web .dw-projects {
  margin-bottom: clamp(5rem, 9vw, 8rem) !important;
}

#tab-diseno-web .dw-pshot {
  border-radius: 20px !important;
  box-shadow: 0 18px 45px rgba(12, 12, 9, .075);
}

#tab-diseno-web .dw-syslist {
  gap: 1rem !important;
}

#tab-diseno-web .dw-syslist li a {
  padding: 1.35rem !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--dw-web-surface) !important;
  box-shadow: 0 14px 40px rgba(12, 12, 9, .05) !important;
}

#tab-diseno-web .dw-foot {
  margin-top: clamp(4rem, 8vw, 7rem) !important;
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
  border-radius: 24px !important;
  background: var(--dw-web-ink) !important;
  color: #ffffff !important;
}

#tab-diseno-web .dw-foot p {
  color: #ffffff !important;
}

html.dark #tab-diseno-web {
  --dw-web-ink: #f6f6f2;
  --dw-web-muted: #a5a59e;
  --dw-web-soft: #171714;
  --dw-web-surface: #121210;
}

html.dark #tab-diseno-web .dw-title,
html.dark #tab-diseno-web .dw-solutions-head h2,
html.dark #tab-diseno-web .dw-service h3 {
  color: var(--dw-web-ink) !important;
}

html.dark #tab-diseno-web .dw-stack {
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), inset 0 -1px rgba(255, 255, 255, .1);
}

html.dark #tab-diseno-web .dw-foot {
  background: #f1f1ed !important;
}

html.dark #tab-diseno-web .dw-foot p {
  color: #0c0c09 !important;
}

@keyframes dwWebCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dwWebLine {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes dwWebPulse {
  0%, 100% { opacity: .72; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.08); }
}

@supports (animation-timeline: view()) {
  #tab-diseno-web .dw-solutions-head,
  #tab-diseno-web .dw-service,
  #tab-diseno-web .dw-projects,
  #tab-diseno-web .dw-systems,
  #tab-diseno-web .dw-foot {
    animation-name: dwWebScrollIn;
    animation-fill-mode: both;
    animation-timing-function: linear;
    animation-timeline: view();
    animation-range: entry 4% cover 27%;
  }

  #tab-diseno-web .dw-service {
    animation-range: entry calc(3% + var(--dw-order) * 1%) cover calc(23% + var(--dw-order) * 1%);
  }
}

@keyframes dwWebScrollIn {
  from { opacity: .38; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 1023px) {
  #tab-diseno-web .dw-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  #tab-diseno-web .dw-hero-copy {
    max-width: 760px;
  }

  #tab-diseno-web .dw-architecture {
    min-height: 0;
  }

  #tab-diseno-web .dw-services {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #tab-diseno-web .dw-wrap {
    padding-top: 2rem !important;
  }

  #tab-diseno-web .dw-eyebrow {
    margin-bottom: 1.1rem;
    font-size: .63rem;
    letter-spacing: .09em;
  }

  #tab-diseno-web .dw-title {
    margin-bottom: 1.3rem !important;
    font-size: clamp(3.35rem, 16vw, 4.45rem) !important;
    line-height: .91 !important;
  }

  #tab-diseno-web .dw-lede {
    font-size: .97rem !important;
    line-height: 1.58 !important;
  }

  #tab-diseno-web .dw-hero-copy > .dw-cta {
    width: 100%;
  }

  #tab-diseno-web .dw-rescue-link {
    width: 100%;
    margin-top: .8rem;
    align-items: flex-start;
    font-size: .74rem;
  }

  #tab-diseno-web .dw-rescue-link > span {
    flex: 1 1 auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #tab-diseno-web .dw-hero-grid {
    gap: 1.65rem;
  }

  #tab-diseno-web .dw-architecture {
    width: calc(100% + .5rem);
    margin-left: -.25rem;
    padding: 1.15rem;
    border-radius: 22px;
    box-shadow: 0 24px 55px rgba(12, 12, 9, .16);
  }

  #tab-diseno-web .dw-architecture::after {
    left: 1.65rem;
  }

  #tab-diseno-web .dw-capability {
    min-height: 0;
    padding: .95rem;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: .75rem;
    border-radius: 14px;
  }

  #tab-diseno-web .dw-capability > svg {
    width: 21px;
    height: 21px;
  }

  #tab-diseno-web .dw-capability h2 {
    font-size: 1.03rem;
  }

  #tab-diseno-web .dw-capability p {
    font-size: .76rem;
  }

  #tab-diseno-web .offer499-web-promo {
    margin-bottom: 4.2rem !important;
  }

  #tab-diseno-web .dw-solutions-head h2 {
    font-size: clamp(2.45rem, 12.5vw, 3.5rem);
  }

  #tab-diseno-web .dw-services {
    grid-template-columns: 1fr !important;
    gap: .75rem !important;
  }

  #tab-diseno-web .dw-service {
    min-height: 0;
    padding: 1.15rem !important;
    display: grid !important;
    grid-template-columns: 25px minmax(0, 1fr);
    justify-content: initial;
    gap: .9rem !important;
    border-radius: 16px !important;
  }

  #tab-diseno-web .dw-service > svg {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  #tab-diseno-web .dw-service h3 {
    font-size: 1.05rem !important;
  }

  #tab-diseno-web .dw-service:hover {
    transform: translateY(-2px) !important;
  }

  #tab-diseno-web .dw-stack {
    margin-bottom: 4.6rem !important;
    display: block;
  }

  #tab-diseno-web .dw-stack > span {
    display: block;
    margin-bottom: .55rem;
    white-space: normal;
  }

  #tab-diseno-web .dw-stack p {
    text-align: left;
  }

  #tab-diseno-web .dw-sec-head h2 {
    font-size: clamp(2.45rem, 12vw, 3.4rem) !important;
  }

  #tab-diseno-web .dw-syslist li a {
    padding: 1.15rem !important;
    border-radius: 16px !important;
  }

  #tab-diseno-web .dw-foot {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tab-diseno-web .dw-architecture::after,
  #tab-diseno-web .dw-capability,
  #tab-diseno-web .dw-architecture-status > span:first-child,
  #tab-diseno-web .dw-solutions-head,
  #tab-diseno-web .dw-service,
  #tab-diseno-web .dw-projects,
  #tab-diseno-web .dw-systems,
  #tab-diseno-web .dw-foot {
    animation: none !important;
    opacity: 1 !important;
    translate: none !important;
  }
}

/* ================================================================
   Home cinematic v2 — movimiento visible, servicios protagonistas
   ================================================================ */
.td-scroll-progress {
  position: fixed;
  z-index: 70;
  top: 69px;
  left: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.td-scroll-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: #0099d5;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.hero-emphasis {
  color: transparent !important;
  background: linear-gradient(100deg, #006b94 0%, #0099d5 38%, #42c7f5 52%, #0099d5 66%, #006b94 100%);
  background-size: 220% 100%;
  background-position: 0 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: td-title-energy 5.8s ease-in-out infinite;
}

.hero-scene {
  --scene-rx: 0deg;
  --scene-ry: 0deg;
  transform: translate3d(var(--hero-x), var(--hero-y), 0) rotateX(var(--scene-rx)) rotateY(var(--scene-ry));
  transition: transform 180ms ease-out;
}

.hero-energy-core {
  position: absolute;
  z-index: 1;
  top: 28%;
  left: 34%;
  width: clamp(7.5rem, 15vw, 11.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #75dcff 0%, #0099d5 35%, #006b94 70%, #003d55 100%);
  box-shadow: 0 0 56px rgba(0, 153, 213, .46), 0 28px 60px rgba(0, 77, 107, .28);
  transform: translateZ(-8px);
  animation: td-core-breathe 4.8s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-energy-core img {
  position: relative;
  z-index: 2;
  width: 38%;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 50, 70, .28));
}

.hero-energy-halo {
  position: absolute;
  inset: -23%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 202, 248, .24), rgba(0, 153, 213, 0) 70%);
  animation: td-halo-pulse 3.4s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 14%, rgba(0, 153, 213, .52) 23%, transparent 32% 57%, rgba(0, 107, 148, .34) 66%, transparent 76%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  transform-style: preserve-3d;
  animation: td-orbit-spin 13s linear infinite;
  animation-play-state: paused;
}

.hero-orbit-a {
  top: 8%;
  left: 10%;
  width: 79%;
  aspect-ratio: 1.14;
  transform: translateZ(-45px) rotateX(67deg) rotateZ(-7deg);
}

.hero-orbit-b {
  top: 15%;
  left: 21%;
  width: 58%;
  aspect-ratio: 1;
  opacity: .66;
  transform: translateZ(112px) rotateX(72deg) rotateZ(34deg);
  animation-direction: reverse;
  animation-duration: 9s;
}

.hero-project-plane {
  animation: td-plane-float 5.6s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-project-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, .48) 46%, transparent 62%);
  transform: translate3d(-140%, 0, 0);
  animation: td-plane-sheen 7s ease-in-out infinite;
  animation-play-state: paused;
  pointer-events: none;
}

.hero-project-plane-side {
  animation-delay: -1.8s;
  animation-duration: 6.8s;
}

.hero-project-plane-low {
  animation-delay: -3.1s;
  animation-duration: 5.1s;
}

.hero-project-plane-side::after { animation-delay: -3.2s; }
.hero-project-plane-low::after { animation-delay: -5.1s; }

.hero-scene-route path {
  animation: td-route-flow 2.4s linear infinite;
  animation-play-state: paused;
}

.hero-scene-icon {
  animation: td-icon-float 3.8s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-scene-icon-design { animation-delay: -1.2s; }
.hero-scene-icon-ai { animation-delay: -2.4s; }

.todaps-hero-lab.motion-in-view .hero-energy-core,
.todaps-hero-lab.motion-in-view .hero-orbit,
.todaps-hero-lab.motion-in-view .hero-project-plane,
.todaps-hero-lab.motion-in-view .hero-project-plane::after,
.todaps-hero-lab.motion-in-view .hero-scene-route path,
.todaps-hero-lab.motion-in-view .hero-scene-icon,
.home-ai-spotlight.motion-in-view .home-ai-demo,
.home-ai-spotlight.motion-in-view .home-ai-result,
.home-kinetic-rail.motion-in-view .home-kinetic-track {
  animation-play-state: running;
}

.home-kinetic-rail {
  position: relative;
  z-index: 3;
  width: 100vw;
  margin: clamp(-.8rem, -1vw, -.35rem) 0 clamp(1.75rem, 4vw, 3rem) calc(50% - 50vw);
  padding: .95rem 0;
  overflow: hidden;
  background: #0c0c09;
  color: #ffffff;
  transform: rotate(-1deg);
  box-shadow: 0 18px 45px rgba(12, 12, 9, .14);
}

.home-kinetic-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-inline: 1.5rem;
  transform: translate3d(var(--kinetic-x, 0px), 0, 0);
  animation: td-kinetic-idle 24s linear infinite;
  animation-play-state: paused;
  will-change: transform, translate;
}

.home-kinetic-track span {
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2.75rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.home-kinetic-track i {
  width: .55rem;
  height: .55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0099d5;
  box-shadow: 0 0 22px rgba(0, 153, 213, .9);
}

/* Servicios primero: recorrido principal del Home. */
#tab-inicio .home-services {
  --services-drift: 0px;
  min-height: min(88vh, 850px);
  overflow: clip;
  border-radius: 20px;
  box-shadow: 0 36px 90px rgba(12, 12, 9, .22);
}

#tab-inicio .home-services::after {
  content: "SERVICIOS";
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -4%;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 850;
  line-height: .7;
  letter-spacing: -.08em;
  white-space: nowrap;
  transform: translate3d(var(--services-drift), 0, 0);
  pointer-events: none;
}

#tab-inicio .home-services-head h2 {
  text-wrap: balance;
}

#tab-inicio .home-service-list {
  perspective: 1000px;
}

#tab-inicio .home-service-list > li {
  --item-opacity: 1;
  --item-x: 0px;
  --item-y: 0px;
  --item-rotate: 0deg;
  opacity: var(--item-opacity);
  transform: translate3d(var(--item-x), var(--item-y), 0) rotateY(var(--item-rotate));
  transform-origin: center;
  will-change: transform, opacity;
}

#tab-inicio .home-service-row {
  --row-focus: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-inline: clamp(.55rem, 1.5vw, 1.1rem);
  border-radius: 12px;
}

#tab-inicio .home-service-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #0099d5;
  opacity: calc(var(--row-focus) * .98);
  transform: scaleX(var(--row-focus));
  transform-origin: left center;
  transition: opacity 90ms linear;
}

#tab-inicio .home-service-list > li:nth-child(even) .home-service-row::before {
  transform-origin: right center;
}

#tab-inicio .home-service-row > * {
  position: relative;
  z-index: 1;
}

#tab-inicio .home-service-row.is-scroll-focus .home-service-index,
#tab-inicio .home-service-row.is-scroll-focus .home-service-icon,
#tab-inicio .home-service-row.is-scroll-focus .home-service-copy small,
#tab-inicio .home-service-row.is-scroll-focus .home-service-action {
  color: #ffffff !important;
}

#tab-inicio .home-service-row.is-scroll-focus .home-service-icon {
  transform: rotate(-8deg) scale(1.12);
}

#tab-inicio .home-service-icon,
#tab-inicio .home-service-index {
  transition: color 180ms ease, transform 220ms var(--td-enter);
}

#tab-inicio .home-ai-demo {
  animation: td-demo-float 5.2s ease-in-out infinite;
  animation-play-state: paused;
}

#tab-inicio .home-ai-result {
  animation: td-result-pulse 2.8s ease-in-out infinite;
  animation-play-state: paused;
}

#productos {
  --product-orb-x: 0px;
  --product-orb-y: 0px;
  min-height: clamp(30rem, 62vw, 42rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 34px 86px rgba(0, 107, 148, .24);
}

#productos::before {
  right: -10%;
  bottom: -34%;
  width: min(34rem, 62%);
  background: conic-gradient(from 45deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .2), rgba(255, 255, 255, .05));
  -webkit-mask: radial-gradient(farthest-side, transparent 64%, #000 65% 70%, transparent 71%);
  mask: radial-gradient(farthest-side, transparent 64%, #000 65% 70%, transparent 71%);
  transform: translate3d(var(--product-orb-x), var(--product-orb-y), 0) rotate(var(--product-orb-r, 0deg));
}

#productos .home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 1023px) {
  #productos .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

#productos .home-product-grid > li {
  --card-opacity: 1;
  --card-y: 0px;
  --card-rx: 0deg;
  --card-tilt: 0deg;
  --card-scale: 1;
  position: relative;
  opacity: var(--card-opacity);
  transform: perspective(1100px) translate3d(0, var(--card-y), 0) rotateX(var(--card-rx)) rotateY(var(--card-tilt)) scale(var(--card-scale));
  transform-origin: center bottom;
  will-change: transform, opacity;
}

#productos .home-product-grid a {
  position: relative;
  overflow: hidden;
}

#productos .dw-product-icon {
  width: clamp(2.25rem, 4vw, 3.1rem);
  height: clamp(2.25rem, 4vw, 3.1rem);
  margin-top: 1.35rem;
  color: #0099d5 !important;
  stroke-width: 1.35;
}

#productos .home-product-grid h4 {
  margin-top: .65rem !important;
}

#productos .dw-systech::after {
  content: " ↗";
}

#tab-inicio .home-proof-card {
  --proof-y: 0px;
  --proof-opacity: 1;
  opacity: var(--proof-opacity);
  transform: translate3d(0, var(--proof-y), 0);
  will-change: transform, opacity;
}

#tab-inicio .home-bio::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -55%;
  width: min(30rem, 62%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 213, .16), rgba(0, 153, 213, 0) 68%);
  transform: translate3d(0, var(--bio-orb-y, 0px), 0);
  pointer-events: none;
}

#tab-inicio .home-bio-passion strong {
  padding: .02em .16em .08em;
  color: #006b94;
  background: linear-gradient(#0099d5 0 0) left bottom / 0 100% no-repeat;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 340ms ease, background-size 620ms var(--td-enter);
}

#tab-inicio .home-bio.reveal-visible .home-bio-passion strong {
  color: #ffffff;
  background-size: 100% 100%;
}

#tab-inicio .home-bio.reveal-visible .home-bio-passion strong:nth-child(1) { transition-delay: 220ms; }
#tab-inicio .home-bio.reveal-visible .home-bio-passion strong:nth-child(2) { transition-delay: 390ms; }
#tab-inicio .home-bio.reveal-visible .home-bio-passion strong:nth-child(3) { transition-delay: 560ms; }

.offer499-home-card {
  overflow: hidden;
}

.offer499-home-card::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -22%;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .68), transparent);
  transform: rotate(18deg) translate3d(-260%, 0, 0);
  animation: td-offer-sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

@media (min-width: 900px) {
  #tab-inicio .home-services {
    display: grid;
    grid-template-columns: minmax(17rem, .78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6.5rem);
  }

  #tab-inicio .home-services-head {
    position: sticky;
    top: 7.25rem;
    align-self: start;
  }

  #tab-inicio .home-service-list {
    padding-top: clamp(2rem, 7vh, 5rem);
  }
}

@media (max-width: 820px) {
  .td-scroll-progress { top: 69px; }

  #tab-inicio .home-services {
    min-height: auto;
    border-radius: 18px;
  }

  #tab-inicio .home-service-row {
    min-height: 92px;
  }

  #productos .home-product-grid {
    width: calc(100% + 1.2rem);
    padding-right: 1.2rem !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(16rem, 84%) !important;
    grid-template-columns: none !important;
    gap: .85rem !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  #productos .home-product-grid > li {
    scroll-snap-align: center;
  }
}

@media (max-width: 640px) {
  .hero-energy-core {
    top: 25%;
    left: 34%;
    width: 6.8rem;
  }

  .hero-orbit-a {
    top: 4%;
    left: 7%;
    width: 84%;
  }

  .hero-orbit-b {
    top: 11%;
    left: 22%;
    width: 60%;
  }

  .home-kinetic-rail {
    margin-top: -.2rem;
    padding-block: .8rem;
    transform: rotate(-1.4deg);
  }

  .home-kinetic-track {
    gap: 1rem;
    padding-inline: 1rem;
  }

  #tab-inicio .home-services {
    margin-top: 1.35rem;
    padding-block: 2.4rem 2.8rem;
    box-shadow: 0 24px 64px rgba(12, 12, 9, .2);
  }

  #tab-inicio .home-services-head {
    margin-bottom: 1.2rem;
  }

  #tab-inicio .home-services-head h2 {
    font-size: clamp(2.75rem, 13.7vw, 3.65rem);
    line-height: .9;
  }

  #tab-inicio .home-service-row {
    min-height: 94px;
    padding: .85rem .55rem;
  }

  #productos {
    min-height: 31rem;
    padding-block: 2.25rem;
  }

  #productos .home-product-grid {
    grid-auto-columns: minmax(16rem, 86%) !important;
  }

  #productos .home-product-grid a {
    min-height: 18.25rem;
  }
}

@keyframes td-title-energy {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes td-core-breathe {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 0 -9px; scale: 1.045; }
}

@keyframes td-halo-pulse {
  0%, 100% { opacity: .5; scale: .92; }
  50% { opacity: 1; scale: 1.13; }
}

@keyframes td-orbit-spin {
  to { rotate: 360deg; }
}

@keyframes td-plane-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -13px; }
}

@keyframes td-plane-sheen {
  0%, 58% { transform: translate3d(-140%, 0, 0); }
  82%, 100% { transform: translate3d(140%, 0, 0); }
}

@keyframes td-route-flow {
  to { stroke-dashoffset: -1; }
}

@keyframes td-icon-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -11px; }
}

@keyframes td-kinetic-idle {
  to { translate: -50% 0; }
}

@keyframes td-demo-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes td-result-pulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.025; }
}

@keyframes td-offer-sheen {
  0%, 56% { transform: rotate(18deg) translate3d(-260%, 0, 0); }
  82%, 100% { transform: rotate(18deg) translate3d(880%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-emphasis,
  .hero-energy-core,
  .hero-energy-halo,
  .hero-orbit,
  .hero-project-plane,
  .hero-project-plane::after,
  .hero-scene-route path,
  .hero-scene-icon,
  .home-kinetic-track,
  #tab-inicio .home-ai-demo,
  #tab-inicio .home-ai-result,
  .offer499-home-card::after {
    animation: none !important;
  }

  #tab-inicio .home-service-list > li,
  #productos .home-product-grid > li,
  #tab-inicio .home-proof-card {
    opacity: 1 !important;
    transform: none !important;
  }

  #tab-inicio .home-service-row::before {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  #tab-inicio .home-bio-passion strong {
    color: #ffffff;
    background-size: 100% 100%;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  #tab-inicio > section.todaps-hero-lab:first-child {
    min-height: auto !important;
    padding: 2.25rem 0 3.5rem !important;
    padding-block: 2.25rem 3.5rem !important;
    padding-inline: 0 !important;
  }

  .hero-minimal-shell {
    padding: 0 1.25rem;
  }

  .hero-eyebrow {
    margin-bottom: .85rem;
    font-size: .7rem;
    letter-spacing: .06em;
  }

  .todaps-hero-lab .hero-title {
    font-size: clamp(2.75rem, 13.5vw, 3.55rem) !important;
    letter-spacing: -.06em !important;
    line-height: .96 !important;
  }

  .hero-description {
    margin-top: 1.05rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1.15rem;
    display: grid;
    gap: .65rem;
  }

  #tab-inicio .hero-primary-cta,
  #tab-inicio .hero-secondary-cta {
    width: 100% !important;
    min-width: 0;
    padding: 0 1rem !important;
    white-space: normal;
  }

  #tab-inicio .hero-primary-cta {
    min-height: 56px;
  }

  #tab-inicio .hero-secondary-cta {
    min-height: 46px;
  }

  .hero-reassurance {
    margin-top: 1rem !important;
    align-items: flex-start;
    font-size: .75rem !important;
  }
}

@media (max-width: 350px) {
  .hero-minimal-shell {
    padding-inline: 1rem;
  }

  .todaps-hero-lab .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-description {
    font-size: .95rem !important;
  }
}

@media (max-width: 640px) and (max-height: 620px) {
  .hero-reassurance {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-primary-cta,
  .hero-secondary-cta {
    transition: none !important;
  }
}

/* Home 2026-07-28 — ritmo más breve y escaneable. */
.home-proof {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.home-proof-head {
  margin-bottom: 1.4rem;
  align-items: end;
}

.home-proof-head h2,
.home-services-head h2,
.home-bio h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.9rem);
}

.home-proof-card {
  box-shadow: none;
}

.home-proof-card > div {
  padding: 1.05rem;
}

.home-proof-card h3 {
  margin: .4rem 0 .3rem;
}

.home-proof-card p {
  margin-bottom: .85rem;
  line-height: 1.45;
}

.home-services {
  padding: clamp(1.7rem, 4vw, 3rem);
}

.home-services-head {
  margin-bottom: 1.35rem;
  align-items: end;
}

.home-service-row {
  min-height: 72px;
  padding: .75rem .9rem;
}

.home-service-copy small {
  line-height: 1.4;
}

.home-ai-spotlight {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.7rem, 4vw, 3rem);
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

.home-ai-copy h2 {
  font-size: clamp(2.15rem, 4.6vw, 4rem);
}

.home-ai-copy > p:not(.home-ai-kicker) {
  margin-top: 1rem;
  line-height: 1.55;
}

.home-ai-actions {
  margin-top: 1.35rem;
}

#productos {
  margin-top: clamp(2.5rem, 5vw, 4rem) !important;
}

#productos .dw-sec-head {
  margin-bottom: 1.2rem;
}

#productos .dw-syslist li a,
#productos .dw-syslist-4 li a {
  padding: 1.15rem !important;
  box-shadow: none !important;
}

#productos .dw-syslist p,
#productos .dw-syslist-4 p {
  margin-bottom: .65rem !important;
}

.dw-store {
  margin-top: clamp(2rem, 4vw, 3rem) !important;
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  box-shadow: none !important;
}

.dw-store h2 {
  margin: .45rem 0 .65rem !important;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem) !important;
}

.dw-store-desc {
  margin: 0 !important;
}

.home-bio {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.7rem, 4vw, 3rem);
  gap: 2rem 4rem;
}

.home-bio-role {
  margin-top: .9rem;
}

.home-bio-content .home-bio-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
}

.home-bio-actions {
  margin-top: 1.35rem;
}

@media (max-width: 900px) {
  .home-services-head,
  .home-bio {
    grid-template-columns: 1fr;
  }

  .home-services-head {
    gap: .8rem;
  }
}

@media (max-width: 640px) {
  .home-proof {
    padding: 2.1rem 0 1.5rem;
  }

  .home-proof-head {
    margin-bottom: 1.1rem;
    gap: .65rem;
  }

  .home-proof-head h2,
  .home-services-head h2,
  .home-bio h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .home-proof-grid {
    width: calc(100% + 1rem);
    padding-right: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17rem, 84%);
    grid-template-columns: none;
    gap: .75rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .home-proof-grid::-webkit-scrollbar,
  #productos .dw-syslist-4::-webkit-scrollbar {
    display: none;
  }

  .home-proof-card {
    grid-template-columns: 1fr;
    scroll-snap-align: start;
  }

  .home-proof-card figure {
    aspect-ratio: 16 / 9;
  }

  .home-services {
    padding: 1.65rem 1.1rem;
  }

  .home-services-head {
    margin-bottom: .85rem;
  }

  .home-service-row {
    min-height: 65px;
    padding: .65rem .25rem;
    grid-template-columns: 1.5rem 1.8rem minmax(0, 1fr);
    gap: .65rem;
  }

  .home-service-icon {
    width: 23px;
    height: 23px;
  }

  .home-service-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: .18rem;
  }

  .home-service-copy strong {
    font-size: 1.03rem;
  }

  .home-service-copy small {
    font-size: .78rem;
  }

  .home-ai-spotlight {
    padding: 1.7rem 1.25rem;
    gap: 1.5rem;
  }

  .home-ai-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .home-ai-actions {
    align-items: stretch;
    flex-direction: column;
    gap: .4rem;
  }

  .home-ai-actions a {
    width: 100%;
  }

  .home-ai-demo {
    padding: .85rem;
  }

  #productos .dw-syslist-4 {
    width: calc(100% + 1rem);
    padding-right: 1rem !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(16rem, 82%) !important;
    grid-template-columns: none !important;
    gap: .75rem !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  #productos .dw-syslist-4 > li {
    scroll-snap-align: start;
  }

  .dw-store {
    gap: 1rem !important;
    padding: 1.4rem 1.2rem !important;
  }

  .dw-store h2 {
    font-size: 1.9rem !important;
  }

  .home-bio {
    padding: 1.7rem 1.25rem;
    gap: 1.25rem;
  }

  .home-bio-actions {
    gap: .7rem;
  }
}

/* ================================================================
   Home cinematic polish — proyectos reales, profundidad y scroll
   ================================================================ */
.todaps-hero-lab {
  --hero-x: 0px;
  --hero-y: 0px;
}

.hero-minimal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(24rem, .88fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.hero-minimal-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 44rem;
}

.todaps-hero-lab .hero-title {
  max-width: 44rem !important;
  font-size: clamp(3.85rem, 6.6vw, 5.85rem) !important;
}

.hero-visual-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 31rem;
  perspective: 1200px;
  transform-origin: 50% 50%;
}

.hero-scene {
  position: absolute;
  inset: 4% -2% 1% 0;
  transform: translate3d(var(--hero-x), var(--hero-y), 0);
  transform-style: preserve-3d;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 19% 5% 9% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 213, .2), rgba(0, 153, 213, 0) 68%);
  transform: translateZ(-90px) scale(1.18);
}

.hero-scene-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: .72;
  transform: translateZ(-70px);
}

.hero-scene-route path {
  stroke: #0099d5;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: .018 .035;
}

.hero-project-plane {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 34px 70px rgba(12, 12, 9, .2), 0 8px 24px rgba(0, 153, 213, .12);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.hero-project-plane img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.hero-project-plane-main {
  z-index: 3;
  top: 20%;
  right: 0;
  width: 82%;
  aspect-ratio: 16 / 9;
  transform: translateZ(66px) rotateX(4deg) rotateY(-14deg) rotateZ(1.2deg);
}

.hero-project-plane-side {
  z-index: 2;
  top: 2%;
  left: 0;
  width: 57%;
  aspect-ratio: 16 / 9;
  opacity: .9;
  transform: translateZ(-18px) rotateX(8deg) rotateY(18deg) rotateZ(-4deg);
}

.hero-project-plane-low {
  z-index: 4;
  right: 8%;
  bottom: 1%;
  width: 58%;
  aspect-ratio: 16 / 9;
  transform: translateZ(92px) rotateX(-4deg) rotateY(-9deg) rotateZ(4deg);
}

.hero-scene-icon {
  position: absolute;
  z-index: 5;
  width: 24px;
  height: 24px;
  color: #006b94;
  stroke-width: 1.45;
  filter: drop-shadow(0 8px 14px rgba(0, 153, 213, .18));
}

.hero-scene-icon-code {
  top: 10%;
  right: 7%;
  transform: translateZ(120px) rotate(8deg);
}

.hero-scene-icon-design {
  left: 2%;
  bottom: 17%;
  transform: translateZ(82px) rotate(-10deg);
}

.hero-scene-icon-ai {
  right: 1%;
  bottom: 12%;
  transform: translateZ(145px) rotate(12deg);
}

html.dark .hero-project-plane {
  box-shadow: 0 36px 78px rgba(0, 0, 0, .48), 0 8px 24px rgba(0, 153, 213, .16);
}

html.dark .hero-scene-icon {
  color: #31b9ec;
}

/* Servicios: presencia fuerte sin tarjetas ni bordes visibles. */
#tab-inicio .home-services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #0c0c09 !important;
  color: #f4f4f1;
}

#tab-inicio .home-services::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  left: -45%;
  width: 38%;
  height: 180%;
  background: linear-gradient(90deg, rgba(0, 153, 213, 0), rgba(0, 153, 213, .16), rgba(0, 153, 213, 0));
  opacity: .85;
  transform: rotate(16deg) translate3d(0, 0, 0);
}

#tab-inicio .home-services-head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

#tab-inicio .home-services-head h2 {
  max-width: 43rem;
  color: #f4f4f1 !important;
  font-size: clamp(2.5rem, 5.7vw, 5rem);
}

#tab-inicio .home-services .home-kicker,
#tab-inicio .home-service-index,
#tab-inicio .home-service-icon {
  color: #31b9ec !important;
}

#tab-inicio .home-services-head > p,
#tab-inicio .home-service-copy small {
  color: #aaa9a1 !important;
}

#tab-inicio .home-service-list {
  position: relative;
  z-index: 1;
  gap: .35rem;
}

#tab-inicio .home-service-row {
  min-height: 88px;
  border: 0 !important;
  background: transparent !important;
  color: #f4f4f1;
  transition: transform 220ms var(--td-enter), background-color 200ms ease, color 200ms ease !important;
}

#tab-inicio .home-service-copy strong {
  color: #f4f4f1;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

#tab-inicio .home-service-action {
  color: #f4f4f1 !important;
  opacity: .72;
}

#tab-inicio .home-service-row:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  background: #0099d5 !important;
  transform: translateX(6px);
}

#tab-inicio .home-service-row:focus-visible .home-service-index,
#tab-inicio .home-service-row:focus-visible .home-service-icon,
#tab-inicio .home-service-row:focus-visible .home-service-copy small,
#tab-inicio .home-service-row:focus-visible .home-service-action {
  color: #ffffff !important;
}

#tab-inicio .home-service-row:active {
  background: rgba(0, 153, 213, .24) !important;
  transform: scale(.988);
}

@media (hover: hover) and (pointer: fine) {
  #tab-inicio .home-service-row:hover {
    background: #0099d5 !important;
    color: #ffffff;
    transform: translateX(7px);
  }

  #tab-inicio .home-service-row:hover .home-service-index,
  #tab-inicio .home-service-row:hover .home-service-icon,
  #tab-inicio .home-service-row:hover .home-service-copy small,
  #tab-inicio .home-service-row:hover .home-service-action {
    color: #ffffff !important;
  }
}

/* Producto principal: profundidad sutil, sin ruido visual. */
#tab-inicio .home-ai-spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(12, 12, 9, .16);
}

#tab-inicio .home-ai-spotlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(125deg, rgba(0, 153, 213, .18), transparent 42%);
  pointer-events: none;
}

#tab-inicio .home-ai-demo {
  box-shadow: 0 24px 58px rgba(0, 0, 0, .34);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

/* Productos de Luiyeth Rojas: contraste alto y carrusel táctil con presencia. */
#productos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem) !important;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: 16px;
  background: #0099d5;
  color: #ffffff;
}

#productos::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -55%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

#productos .dw-sec-head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

#productos .dw-sec-head h2 {
  margin: 0;
  color: #ffffff !important;
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.5rem) !important;
  font-weight: 650 !important;
  line-height: .98;
  letter-spacing: -.055em;
}

#productos .dw-syslist,
#productos .dw-syslist-4 {
  position: relative;
  z-index: 1;
  gap: 1rem !important;
}

#productos .dw-syslist > li,
#productos .dw-syslist-4 > li {
  min-width: 0;
}

#productos .dw-syslist li a,
#productos .dw-syslist-4 li a {
  min-height: 15rem;
  padding: 1.4rem !important;
  display: flex !important;
  flex-direction: column;
  border: 0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #0c0c09 !important;
  box-shadow: 0 18px 42px rgba(0, 74, 103, .18) !important;
  transition: transform 220ms var(--td-enter), box-shadow 220ms ease, background-color 200ms ease !important;
}

#productos .dw-syslist a.dw-product-soon,
#productos .dw-syslist-4 a.dw-product-soon {
  opacity: .86;
  background: rgba(255, 255, 255, .9) !important;
}

#productos .dw-badge {
  width: fit-content;
  border: 0 !important;
  background: #e7f8fe !important;
  color: #006b94 !important;
}

#productos .dw-syslist h4,
#productos .dw-syslist-4 h4 {
  margin-top: 1.25rem !important;
  color: #0c0c09 !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.035em;
}

#productos .dw-syslist p,
#productos .dw-syslist-4 p {
  color: #565650 !important;
  line-height: 1.55 !important;
}

#productos .dw-systech {
  width: fit-content;
  margin-top: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #006b94 !important;
  font-weight: 750 !important;
}

#productos .dw-syslist a:focus-visible,
#productos .dw-syslist-4 a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  #productos .dw-syslist li a[href]:hover,
  #productos .dw-syslist-4 li a[href]:hover {
    transform: translateY(-7px) rotateX(1deg) !important;
    box-shadow: 0 28px 58px rgba(0, 74, 103, .28) !important;
  }
}

html.dark #productos {
  background: #006b94;
}

html.dark #productos .dw-syslist li a,
html.dark #productos .dw-syslist-4 li a {
  background: #f4f4f1 !important;
}

/* Sobre mí: información personal como gesto editorial. */
#tab-inicio .home-bio {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  background: #f4f4f1;
}

#tab-inicio .home-bio-content {
  position: relative;
}

#tab-inicio .home-bio-passion {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--td-ink) !important;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.02em;
}

#tab-inicio .home-bio-passion strong {
  color: #006b94;
  font-weight: 750;
}

html.dark #tab-inicio .home-bio {
  background: #141516;
}

html.dark #tab-inicio .home-bio-passion strong {
  color: #31b9ec;
}

/* Entrada por desplazamiento. Contenido sigue visible si JS falla. */
#tab-inicio .home-services-head,
#tab-inicio .home-service-list,
#tab-inicio .home-ai-copy,
#tab-inicio .home-ai-demo,
#productos .dw-sec-head,
#productos .dw-syslist,
#tab-inicio .home-bio-heading,
#tab-inicio .home-bio-content {
  transition: opacity 700ms var(--td-enter), transform 760ms var(--td-enter);
}

html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .home-services-head,
html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .home-ai-copy,
html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .dw-sec-head,
html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .home-bio-heading {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .home-service-list,
html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .home-ai-demo,
html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .dw-syslist,
html.home-motion-ready #tab-inicio .home-motion-group:not(.reveal-visible) .home-bio-content {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985);
}

#tab-inicio .home-motion-group.reveal-visible .home-service-list,
#tab-inicio .home-motion-group.reveal-visible .home-ai-demo,
#tab-inicio .home-motion-group.reveal-visible .dw-syslist,
#tab-inicio .home-motion-group.reveal-visible .home-bio-content {
  transition-delay: 90ms;
}

@keyframes td-service-light-scroll {
  0% { transform: rotate(16deg) translate3d(-110%, 0, 0); }
  100% { transform: rotate(16deg) translate3d(480%, 0, 0); }
}

@supports (animation-timeline: view()) {
  #tab-inicio .home-services::before {
    animation: td-service-light-scroll linear both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}

@media (max-width: 960px) {
  .hero-minimal-shell {
    grid-template-columns: minmax(0, 1.12fr) minmax(19rem, .72fr);
  }

  .hero-visual-stage {
    min-height: 27rem;
  }
}

@media (max-width: 820px) {
  #tab-inicio > section.todaps-hero-lab:first-child {
    padding-bottom: 3.5rem !important;
  }

  .hero-minimal-shell {
    grid-template-columns: 1fr;
  }

  .hero-minimal-copy {
    max-width: 43rem;
  }

  .hero-visual-stage {
    width: min(100%, 38rem);
    min-height: 21rem;
    margin: 1.5rem auto 0;
  }

  #tab-inicio .home-ai-demo {
    transform: perspective(900px) rotateY(0) rotateX(1deg);
  }
}

@media (max-width: 640px) {
  .todaps-hero-lab .hero-title {
    max-width: 22rem !important;
    font-size: clamp(2.75rem, 13.5vw, 3.55rem) !important;
  }

  .hero-visual-stage {
    min-height: 13.5rem;
    margin-top: .85rem;
  }

  .hero-scene {
    inset: 2% -4% 0 -2%;
  }

  .hero-project-plane {
    border-radius: 10px;
    box-shadow: 0 18px 34px rgba(12, 12, 9, .2), 0 5px 14px rgba(0, 153, 213, .12);
  }

  .hero-project-plane-main {
    top: 19%;
    width: 72%;
  }

  .hero-project-plane-side {
    width: 50%;
  }

  .hero-project-plane-low {
    right: 5%;
    width: 51%;
  }

  .hero-scene-icon {
    width: 18px;
    height: 18px;
  }

  #tab-inicio .home-services {
    margin-inline: -.25rem;
    padding: 2rem 1.15rem 2.25rem;
  }

  #tab-inicio .home-services-head h2 {
    font-size: clamp(2.4rem, 12vw, 3.3rem);
  }

  #tab-inicio .home-service-row {
    min-height: 76px;
    padding: .75rem .35rem;
    grid-template-columns: 1.45rem 1.75rem minmax(0, 1fr);
    gap: .7rem;
  }

  #tab-inicio .home-service-copy strong {
    font-size: 1.12rem;
  }

  #productos {
    margin-inline: -.25rem;
    padding: 1.65rem 1.2rem 1.8rem;
  }

  #productos .dw-sec-head h2 {
    font-size: clamp(2.35rem, 11vw, 3rem) !important;
  }

  #productos .dw-syslist-4 {
    width: calc(100% + 1.2rem);
    padding-right: 1.2rem !important;
    grid-auto-columns: minmax(15.5rem, 84%) !important;
    scroll-padding-inline: 0 1.2rem;
    touch-action: pan-x;
  }

  #productos .dw-syslist li a,
  #productos .dw-syslist-4 li a {
    min-height: 14.25rem;
  }

  #tab-inicio .home-bio {
    margin-inline: -.25rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 350px) {
  .hero-visual-stage {
    min-height: 11.25rem;
  }

  #productos .dw-syslist-4 {
    grid-auto-columns: minmax(14.5rem, 88%) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-stage,
  #tab-inicio .home-services::before {
    animation: none !important;
  }

  #tab-inicio .home-services-head,
  #tab-inicio .home-service-list,
  #tab-inicio .home-ai-copy,
  #tab-inicio .home-ai-demo,
  #productos .dw-sec-head,
  #productos .dw-syslist,
  #tab-inicio .home-bio-heading,
  #tab-inicio .home-bio-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* V2 cascade lock: mantiene cinemática por encima del pulido anterior. */
.hero-scene {
  transform: translate3d(var(--hero-x), var(--hero-y), 0) rotateX(var(--scene-rx, 0deg)) rotateY(var(--scene-ry, 0deg));
}

.hero-energy-core {
  z-index: 6;
  transform: translateZ(180px);
}

.hero-energy-core img {
  padding: 3px;
  border-radius: 14px;
  background: #ffffff;
}

#tab-inicio .home-services {
  overflow: clip;
  min-height: min(88vh, 850px);
  border-radius: 20px;
}

#productos {
  min-height: clamp(30rem, 62vw, 42rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
}

#productos::before {
  right: -10%;
  bottom: -34%;
  width: min(34rem, 62%);
  background: conic-gradient(from 45deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .2), rgba(255, 255, 255, .05));
  -webkit-mask: radial-gradient(farthest-side, transparent 64%, #000 65% 70%, transparent 71%);
  mask: radial-gradient(farthest-side, transparent 64%, #000 65% 70%, transparent 71%);
  transform: translate3d(var(--product-orb-x, 0px), var(--product-orb-y, 0px), 0) rotate(var(--product-orb-r, 0deg));
}

.offer499-home-card::after {
  animation-play-state: paused;
}

.offer499-home-promo.motion-in-view .offer499-home-card::after {
  animation-play-state: running;
}

@media (min-width: 900px) {
  #tab-inicio .home-services-head {
    position: sticky;
    top: 7.25rem;
    align-self: start;
    display: block;
    margin-bottom: 0;
  }

  #tab-inicio .home-services-head > p {
    max-width: 20rem;
    margin-top: 1.5rem;
  }

  #tab-inicio .home-service-row {
    grid-template-columns: 2rem 2.3rem minmax(0, 1fr) auto;
    gap: .85rem;
  }

  #tab-inicio .home-service-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem;
  }

  #tab-inicio .home-service-action {
    align-self: center;
  }
}

@media (max-width: 820px) {
  #tab-inicio .home-services {
    min-height: auto;
    border-radius: 18px;
  }

  #productos .home-product-grid {
    width: calc(100% + 1.2rem);
    padding-right: 1.2rem !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(16rem, 84%) !important;
    grid-template-columns: none !important;
    gap: .85rem !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
  }
}

@media (max-width: 640px) {
  .hero-energy-core {
    top: 3%;
    right: 2%;
    left: auto;
    width: 5.4rem;
  }

  #tab-inicio .home-service-row {
    min-height: 94px;
    padding: .85rem .55rem;
  }

  #productos {
    min-height: 31rem;
    padding-block: 2.25rem;
  }

  #productos .home-product-grid {
    grid-auto-columns: minmax(16rem, 86%) !important;
  }

  #productos .home-product-grid a {
    min-height: 18.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer499-home-card::after {
    animation: none !important;
  }

  #tab-inicio .home-bio-passion strong {
    color: #ffffff !important;
    background-size: 100% 100% !important;
  }
}

/* ================================================================
   Hero cinematic v3 — editorial, cinético y sin esfera de marca
   ================================================================ */
.td-scroll-progress,
.hero-energy-core,
.hero-energy-halo,
.hero-orbit,
.hero-scene-icon {
  display: none !important;
}

#tab-inicio > section.todaps-hero-lab:first-child {
  min-height: min(820px, calc(100svh - 68px)) !important;
  padding-block: clamp(5.5rem, 10vh, 7.5rem) clamp(4rem, 8vh, 6rem) !important;
  background: #f7f7f8 !important;
}

html.dark #tab-inicio > section.todaps-hero-lab:first-child {
  background: #090a0b !important;
}

.hero-minimal-shell {
  width: min(100%, 78rem);
  grid-template-columns: minmax(0, 1.06fr) minmax(25rem, .94fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.hero-minimal-copy {
  max-width: 43rem;
}

.todaps-hero-lab .hero-title {
  max-width: 43rem !important;
  font-size: clamp(4rem, 6.4vw, 6rem) !important;
  font-weight: 720 !important;
  letter-spacing: -.072em !important;
  line-height: .91 !important;
}

.hero-emphasis,
html.dark .hero-emphasis {
  color: #0099d5 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  animation: none !important;
}

html.dark .hero-emphasis {
  color: #31b9ec !important;
}

.hero-description {
  max-width: 35rem;
}

.hero-visual-stage {
  min-height: 33rem;
  perspective: 1400px;
  isolation: isolate;
}

.hero-scene {
  --scene-flow-y: 0px;
  inset: 0 -7% 0 -3%;
  transform: translate3d(var(--hero-x), calc(var(--hero-y) + var(--scene-flow-y)), 0) rotateX(var(--scene-rx, 0deg)) rotateY(var(--scene-ry, 0deg));
  transition: none;
}

.hero-scene::before {
  inset: 13% -3% 13% 8%;
  border-radius: 12px;
  background: linear-gradient(132deg, rgba(0, 153, 213, .23), rgba(0, 153, 213, .055) 48%, rgba(0, 153, 213, 0) 76%);
  transform: translateZ(-120px) rotate(-7deg) skewX(-7deg);
}

.hero-scene::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 29% 4% 7% 22%;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(12, 12, 9, .13), rgba(12, 12, 9, .015) 72%);
  filter: blur(12px);
  transform: translateZ(-150px) rotate(6deg) skewX(5deg);
}

html.dark .hero-scene::before {
  background: linear-gradient(132deg, rgba(49, 185, 236, .28), rgba(0, 153, 213, .08) 48%, rgba(0, 153, 213, 0) 76%);
}

html.dark .hero-scene::after {
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 72%);
}

.hero-deck-shadow,
.hero-light-ribbon,
.hero-scan-beam {
  position: absolute;
  display: block;
  pointer-events: none;
}

.hero-deck-shadow {
  z-index: 0;
  inset: 22% 3% 4% 13%;
  border-radius: 14px;
  background: rgba(0, 74, 102, .1);
  filter: blur(34px);
  transform: translate3d(16px, 30px, -95px) rotate(-3deg);
}

.hero-light-ribbon {
  z-index: 5;
  height: 11px;
  border-radius: 2px;
  opacity: .76;
  transform-origin: left center;
  will-change: transform, opacity;
  animation-play-state: paused;
}

.hero-light-ribbon-a {
  top: 14%;
  left: -8%;
  width: 77%;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 213, .2) 14%, #0099d5 58%, rgba(78, 207, 255, .82) 82%, transparent);
  transform: translateZ(138px) rotate(-18deg) scaleX(.82);
  animation: td-ribbon-a 5.8s cubic-bezier(.45, 0, .25, 1) infinite;
}

.hero-light-ribbon-b {
  right: -16%;
  bottom: 16%;
  width: 66%;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(0, 107, 148, .75) 24%, #24b9ed 70%, transparent);
  transform: translateZ(155px) rotate(13deg) scaleX(.72);
  animation: td-ribbon-b 7.2s cubic-bezier(.45, 0, .25, 1) infinite;
}

.hero-scan-beam {
  z-index: 6;
  top: -17%;
  bottom: -12%;
  left: 18%;
  width: 17%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .54), rgba(56, 198, 246, .16), transparent);
  filter: blur(7px);
  transform: translate3d(-190%, 0, 185px) rotate(17deg);
  animation: td-deck-scan 6.6s cubic-bezier(.5, 0, .2, 1) infinite;
  animation-play-state: paused;
}

.hero-scene-route {
  inset: 2% -2% 1% 1%;
  opacity: .74;
  transform: translateZ(-42px) rotate(-1deg);
}

.hero-scene-route path {
  stroke: #0099d5;
  stroke-width: 1.7;
  stroke-dasharray: .014 .028;
  filter: drop-shadow(0 0 5px rgba(0, 153, 213, .34));
}

.hero-project-plane {
  --deck-x: 0px;
  --deck-y: 0px;
  --deck-r: 0deg;
  border-radius: 12px;
  box-shadow: 0 34px 74px rgba(12, 12, 9, .22), 0 8px 22px rgba(0, 107, 148, .14);
  opacity: 1;
  scale: 1;
  animation: td-deck-arrive 880ms cubic-bezier(.22, 1, .36, 1) both, td-plane-float 6.2s ease-in-out infinite;
  animation-play-state: running, paused;
  will-change: auto;
}

.hero-project-plane::after {
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .34) 48%, transparent 61%);
  animation-duration: 8.2s;
}

.hero-project-plane-main {
  z-index: 3;
  top: 18%;
  right: -1%;
  width: 88%;
  transform: translate3d(var(--deck-x), var(--deck-y), 74px) rotateX(3deg) rotateY(-11deg) rotateZ(calc(-1deg + var(--deck-r)));
  animation-delay: 110ms, -1.1s;
}

.hero-project-plane-side {
  z-index: 2;
  top: 0;
  left: -2%;
  width: 59%;
  opacity: .92;
  transform: translate3d(var(--deck-x), var(--deck-y), -6px) rotateX(7deg) rotateY(16deg) rotateZ(calc(-6deg + var(--deck-r)));
  animation-delay: 180ms, -2.4s;
}

.hero-project-plane-low {
  z-index: 4;
  right: 1%;
  bottom: 0;
  width: 67%;
  transform: translate3d(var(--deck-x), var(--deck-y), 112px) rotateX(-3deg) rotateY(-8deg) rotateZ(calc(5deg + var(--deck-r)));
  animation-delay: 250ms, -3.6s;
}

.todaps-hero-lab.motion-in-view .hero-project-plane,
.todaps-hero-lab.motion-in-view .hero-light-ribbon,
.todaps-hero-lab.motion-in-view .hero-scan-beam,
.todaps-hero-lab.motion-in-view .hero-project-plane::after,
.todaps-hero-lab.motion-in-view .hero-scene-route path {
  animation-play-state: running;
}

@keyframes td-deck-arrive {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}

@keyframes td-ribbon-a {
  0%, 100% { opacity: .54; transform: translate3d(-6%, 0, 138px) rotate(-18deg) scaleX(.78); }
  50% { opacity: .9; transform: translate3d(23%, 0, 138px) rotate(-18deg) scaleX(1.05); }
}

@keyframes td-ribbon-b {
  0%, 100% { opacity: .42; transform: translate3d(12%, 0, 155px) rotate(13deg) scaleX(.68); }
  50% { opacity: .82; transform: translate3d(-28%, 0, 155px) rotate(13deg) scaleX(1); }
}

@keyframes td-deck-scan {
  0%, 58% { opacity: 0; transform: translate3d(-190%, 0, 185px) rotate(17deg); }
  66% { opacity: .72; }
  86%, 100% { opacity: 0; transform: translate3d(520%, 0, 185px) rotate(17deg); }
}

@media (max-width: 960px) {
  .hero-minimal-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(19rem, .82fr);
    gap: 1.25rem;
  }

  .hero-visual-stage {
    min-height: 28rem;
  }
}

@media (max-width: 820px) {
  #tab-inicio > section.todaps-hero-lab:first-child {
    padding-block: 3rem 3.25rem !important;
  }

  .hero-minimal-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual-stage {
    width: calc(100% + 2rem);
    min-height: 20rem;
    margin: 1.25rem 0 0 -1rem;
  }

  .hero-scene {
    inset: 1% -1% 0;
  }
}

@media (max-width: 767px) {
  body > main {
    padding-bottom: 0 !important;
  }

  #tab-inicio > .dw-wrap {
    padding-bottom: 0 !important;
  }

  #tab-inicio .home-bio {
    margin-bottom: 0 !important;
  }

  body > footer {
    padding-top: 1.5rem !important;
    padding-bottom: calc(8.5rem + env(safe-area-inset-bottom)) !important;
  }

  body > footer button[data-tab-target="inicio"] {
    display: none !important;
  }
}

@media (max-width: 640px) {
  #tab-inicio > section.todaps-hero-lab:first-child {
    padding-block: 2rem 2.75rem !important;
  }

  .hero-minimal-shell {
    padding-inline: 1.25rem;
  }

  .todaps-hero-lab .hero-title {
    max-width: 22rem !important;
    font-size: clamp(2.85rem, 13.8vw, 3.65rem) !important;
    line-height: .93 !important;
  }

  .hero-description {
    max-width: 22rem;
  }

  .hero-visual-stage {
    width: calc(100% + 1.5rem);
    min-height: 17.75rem;
    margin: 1.05rem 0 0 -.75rem;
  }

  .hero-scene {
    inset: 1% -3% 0 -1%;
  }

  .hero-scene::before {
    inset: 15% -5% 10% 4%;
  }

  .hero-light-ribbon-a {
    top: 13%;
    left: -16%;
    width: 82%;
    height: 8px;
  }

  .hero-light-ribbon-b {
    right: -22%;
    bottom: 12%;
    width: 74%;
  }

  .hero-project-plane {
    border-radius: 10px;
    box-shadow: 0 20px 42px rgba(12, 12, 9, .22), 0 5px 14px rgba(0, 107, 148, .12);
  }

  .hero-project-plane-main {
    top: 20%;
    right: -6%;
    width: 86%;
  }

  .hero-project-plane-side {
    top: 1%;
    left: -1%;
    width: 60%;
  }

  .hero-project-plane-low {
    right: 0;
    bottom: 0;
    width: 71%;
  }
}

@media (max-width: 350px) {
  .hero-visual-stage {
    min-height: 15.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-force) .hero-project-plane,
  html:not(.motion-force) .hero-project-plane::after,
  html:not(.motion-force) .hero-light-ribbon,
  html:not(.motion-force) .hero-scan-beam,
  html:not(.motion-force) .hero-scene-route path {
    animation: none !important;
  }

  html:not(.motion-force) .hero-project-plane {
    opacity: 1 !important;
    scale: 1 !important;
    translate: 0 0 !important;
  }

  html:not(.motion-force) .hero-scene,
  html:not(.motion-force) .hero-visual-stage {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================
   Luiyeth Rojas Cat Studio — personajes de servicio
   Un solo sprite, seis escenas, cero impacto semántico.
   ========================================================== */

.todaps-cat {
  position: absolute;
  z-index: 8;
  display: block;
  width: 10rem;
  aspect-ratio: 1;
  pointer-events: none;
  transform-origin: 50% 88%;
  animation: todaps-cat-arrive .78s cubic-bezier(.16, 1, .3, 1) both;
}

.todaps-cat-sprite {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/home/todaps-cat-studio-20260811.webp");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  filter: drop-shadow(0 18px 20px rgba(12, 12, 9, .18)) saturate(1.06) contrast(1.025);
  transform-origin: 50% 88%;
  animation: todaps-cat-breathe 5.4s ease-in-out infinite;
}

.todaps-cat-action {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  pointer-events: none;
}

.todaps-cat-action::before,
.todaps-cat-action::after {
  position: absolute;
  display: block;
  opacity: 0;
  content: "";
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(.8);
}

.todaps-cat-home .todaps-cat-sprite { background-position: 0 0; }
.todaps-cat-web .todaps-cat-sprite { background-position: 50% 0; }
.todaps-cat-design .todaps-cat-sprite { background-position: 100% 0; }
.todaps-cat-photo .todaps-cat-sprite { background-image: url("assets/home/luiyeth-cat-photo-20261116.webp"); background-size: contain; background-position: 50% 100%; }
.todaps-cat-repair .todaps-cat-sprite { background-position: 50% 100%; }
.todaps-cat-tech .todaps-cat-sprite { background-position: 100% 100%; }

/* Cada personaje ejecuta una acción relacionada con su sección. Solo
   transform y opacity: el sprite no se vuelve a rasterizar por fotograma. */
.todaps-cat-home .todaps-cat-sprite { animation: todaps-cat-home-idle 6.4s -.6s ease-in-out infinite; }
.todaps-cat-web .todaps-cat-sprite { animation: todaps-cat-web-work 5.8s -2.8s ease-in-out infinite; }
.todaps-cat-design .todaps-cat-sprite { animation: todaps-cat-design-draw 6.8s -3.2s ease-in-out infinite; }
.todaps-cat-photo .todaps-cat-sprite { animation: todaps-cat-photo-shot 7.2s -4.6s ease-in-out infinite; }
.todaps-cat-repair .todaps-cat-sprite { animation: todaps-cat-repair-fix 6.6s -3.3s ease-in-out infinite; }
.todaps-cat-tech .todaps-cat-sprite { animation: todaps-cat-tech-signal 7s -3.9s ease-in-out infinite; }

.todaps-cat-home .todaps-cat-action::before {
  top: 13%;
  right: 17%;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #0099d5;
  box-shadow: .82rem .42rem 0 -.09rem #ffca45, -.54rem .78rem 0 -.12rem #ff7657;
  animation: todaps-cat-sparkles 6.4s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-delay: -.6s;
}

.todaps-cat-home .todaps-cat-action::after {
  top: 8%;
  right: 8%;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 169, 223, .24), rgba(25, 169, 223, 0) 68%);
  animation: todaps-cat-soft-pop 6.4s ease-out infinite;
  animation-delay: -.6s;
}

.todaps-cat-web .todaps-cat-action::before {
  top: 61%;
  right: 7%;
  width: 31%;
  height: 17%;
  border-radius: 45%;
  background: radial-gradient(ellipse, rgba(25, 169, 223, .52), rgba(0, 153, 213, 0) 72%);
  animation: todaps-cat-screen-glow 5.8s ease-in-out infinite;
  animation-delay: -2.8s;
}

.todaps-cat-web .todaps-cat-action::after {
  top: 44%;
  right: 8%;
  width: .34rem;
  height: .34rem;
  border-radius: 50%;
  background: #19a9df;
  box-shadow: .52rem -.33rem 0 -.05rem #70d7f5, .91rem .08rem 0 -.09rem #006b94;
  animation: todaps-cat-data-dots 5.8s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-delay: -2.8s;
}

.todaps-cat-design .todaps-cat-action::before {
  top: 25%;
  right: 6%;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #ffca45;
  box-shadow: .72rem .52rem 0 -.07rem #ff7657, -.42rem .86rem 0 -.09rem #19a9df;
  animation: todaps-cat-color-pop 6.8s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-delay: -3.2s;
}

.todaps-cat-design .todaps-cat-action::after {
  top: 20%;
  right: 1%;
  width: 2.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 69, .2), rgba(255, 118, 87, 0) 70%);
  animation: todaps-cat-soft-pop 6.8s -3.08s ease-out infinite;
}

.todaps-cat-photo .todaps-cat-action::before {
  top: 37%;
  left: 35%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .98) 0 8%, rgba(112, 215, 245, .58) 22%, rgba(0, 153, 213, 0) 68%);
  animation: todaps-cat-camera-flash 7.2s ease-out infinite;
  animation-delay: -4.6s;
}

.todaps-cat-photo .todaps-cat-action::after {
  top: 34%;
  left: 31%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0) 72%);
  animation: todaps-cat-camera-halo 7.2s ease-out infinite;
  animation-delay: -4.6s;
}

.todaps-cat-repair .todaps-cat-action::before {
  top: 25%;
  left: 27%;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: #a4e33b;
  box-shadow: -.43rem .55rem 0 -.07rem #49bc25, .54rem .31rem 0 -.1rem #d9ff7b;
  animation: todaps-cat-repair-sparks 6.6s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-delay: -3.3s;
}

.todaps-cat-repair .todaps-cat-action::after {
  top: 18%;
  left: 20%;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 188, 37, .22), rgba(73, 188, 37, 0) 70%);
  animation: todaps-cat-soft-pop 6.6s ease-out infinite;
  animation-delay: -3.3s;
}

.todaps-cat-tech .todaps-cat-action::before {
  top: 20%;
  right: 2%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 213, 0) 0 26%, rgba(25, 169, 223, .34) 28% 33%, rgba(0, 153, 213, 0) 35% 47%, rgba(25, 169, 223, .2) 49% 54%, rgba(0, 153, 213, 0) 56%);
  animation: todaps-cat-wifi-wave 7s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-delay: -3.9s;
}

.todaps-cat-tech .todaps-cat-action::after {
  top: 41%;
  right: 19%;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #19a9df;
  animation: todaps-cat-wifi-dot 7s ease-out infinite;
  animation-delay: -3.9s;
}

.todaps-cat-home {
  left: -5%;
  bottom: -4%;
  width: clamp(10.25rem, 14.2vw, 14.5rem);
}

#tab-diseno-web .dw-hero-grid { position: relative; }

.todaps-cat-web {
  right: 1.35rem;
  bottom: -3.75rem;
  width: clamp(8rem, 9vw, 8.75rem);
}

.design-showcase { position: relative; }

.todaps-cat-design {
  left: -2.25rem;
  bottom: -2.4rem;
  width: clamp(9.75rem, 11.8vw, 11.75rem);
}

.photo-hero { position: relative; }

.todaps-cat-photo {
  top: 1rem;
  left: calc(40% - 9rem);
  z-index: 4;
  width: clamp(9.2rem, 10.8vw, 10.75rem);
}

.repair-specialty { position: relative; }

.repair-specialty ul { max-width: calc(100% - 7rem); }

.todaps-cat-repair {
  right: .7rem;
  bottom: .45rem;
  width: clamp(9.75rem, 11.8vw, 11.5rem);
}

.tech-hero-visual { position: relative; }

.todaps-cat-tech {
  top: -2.6rem;
  left: -2.6rem;
  width: clamp(9.5rem, 11.2vw, 11.25rem);
}

html.dark .todaps-cat-sprite {
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .38)) saturate(1.02) contrast(1.025);
}

@keyframes todaps-cat-arrive {
  0% { opacity: 0; transform: translate3d(-1.45rem, .75rem, 0) scale(.9) rotate(-4deg); }
  34% { opacity: 1; transform: translate3d(-.88rem, -.08rem, 0) scale(.97) rotate(2.2deg); }
  58% { transform: translate3d(-.42rem, .07rem, 0) scale(.985) rotate(-1.6deg); }
  78% { transform: translate3d(-.12rem, -.04rem, 0) scale(.995) rotate(.8deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}

@keyframes todaps-cat-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.35deg); }
  50% { transform: translate3d(0, -.32rem, 0) rotate(.45deg); }
}

@keyframes todaps-cat-home-idle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.25deg); }
  12% { transform: translate3d(0, -.07rem, 0) rotate(.15deg); }
  18% { transform: translate3d(0, -.04rem, 0) rotate(-.2deg); }
  23% { transform: translate3d(0, -.34rem, 0) rotate(-1.1deg); }
  28% { transform: translate3d(0, -.08rem, 0) rotate(.9deg); }
  34% { transform: translate3d(0, -.22rem, 0) rotate(-.45deg); }
  42% { transform: translate3d(0, -.05rem, 0) rotate(.08deg); }
  64% { transform: translate3d(0, -.13rem, 0) rotate(.3deg); }
  82% { transform: translate3d(0, -.04rem, 0) rotate(-.18deg); }
}

@keyframes todaps-cat-web-work {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.2deg); }
  24% { transform: translate3d(0, -.07rem, 0) rotate(.2deg); }
  42% { transform: translate3d(0, -.03rem, 0) rotate(-.1deg); }
  52% { transform: translate3d(0, -.06rem, 0) rotate(-.2deg); }
  58% { transform: translate3d(0, -.13rem, 0) rotate(-.8deg); }
  64% { transform: translate3d(.06rem, 0, 0) rotate(.65deg); }
  70% { transform: translate3d(-.05rem, -.1rem, 0) rotate(-.55deg); }
  76% { transform: translate3d(.04rem, 0, 0) rotate(.4deg); }
  82% { transform: translate3d(0, -.05rem, 0) rotate(-.12deg); }
  92% { transform: translate3d(0, -.08rem, 0) rotate(.18deg); }
}

@keyframes todaps-cat-design-draw {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.25deg); }
  22% { transform: translate3d(0, -.08rem, 0) rotate(.2deg); }
  40% { transform: translate3d(0, -.03rem, 0) rotate(-.12deg); }
  48% { transform: translate3d(0, -.06rem, 0) rotate(-.25deg); }
  56% { transform: translate3d(.08rem, -.18rem, 0) rotate(1.25deg); }
  64% { transform: translate3d(-.06rem, -.08rem, 0) rotate(-1deg); }
  72% { transform: translate3d(.04rem, -.15rem, 0) rotate(.7deg); }
  82% { transform: translate3d(0, -.04rem, 0) rotate(-.14deg); }
  92% { transform: translate3d(0, -.09rem, 0) rotate(.16deg); }
}

@keyframes todaps-cat-photo-shot {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(-.2deg); }
  26% { transform: translate3d(0, -.07rem, 0) scale(1) rotate(.16deg); }
  48% { transform: translate3d(0, -.03rem, 0) scale(1) rotate(-.08deg); }
  60% { transform: translate3d(0, -.06rem, 0) scale(1) rotate(-.2deg); }
  67% { transform: translate3d(0, .04rem, 0) scale(.985) rotate(-.7deg); }
  70% { transform: translate3d(0, -.12rem, 0) scale(1.012) rotate(.45deg); }
  74% { transform: translate3d(0, 0, 0) scale(1) rotate(-.15deg); }
  80% { transform: translate3d(0, -.04rem, 0) scale(1) rotate(.1deg); }
  91% { transform: translate3d(0, -.08rem, 0) scale(1) rotate(.14deg); }
}

@keyframes todaps-cat-repair-fix {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.25deg); }
  22% { transform: translate3d(0, -.07rem, 0) rotate(.18deg); }
  40% { transform: translate3d(0, -.03rem, 0) rotate(-.12deg); }
  48% { transform: translate3d(0, -.06rem, 0) rotate(-.25deg); }
  56% { transform: translate3d(-.06rem, -.15rem, 0) rotate(-1.15deg); }
  63% { transform: translate3d(.08rem, -.06rem, 0) rotate(.95deg); }
  70% { transform: translate3d(-.04rem, -.12rem, 0) rotate(-.6deg); }
  76% { transform: translate3d(.03rem, 0, 0) rotate(.35deg); }
  82% { transform: translate3d(0, -.04rem, 0) rotate(-.12deg); }
  92% { transform: translate3d(0, -.08rem, 0) rotate(.16deg); }
}

@keyframes todaps-cat-tech-signal {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.2deg); }
  24% { transform: translate3d(0, -.08rem, 0) rotate(.2deg); }
  44% { transform: translate3d(0, -.03rem, 0) rotate(-.1deg); }
  55% { transform: translate3d(0, -.06rem, 0) rotate(-.2deg); }
  62% { transform: translate3d(0, -.22rem, 0) rotate(.65deg); }
  69% { transform: translate3d(.05rem, -.08rem, 0) rotate(-.45deg); }
  76% { transform: translate3d(0, -.16rem, 0) rotate(.35deg); }
  84% { transform: translate3d(0, -.04rem, 0) rotate(-.12deg); }
  93% { transform: translate3d(0, -.08rem, 0) rotate(.16deg); }
}

@keyframes todaps-cat-sparkles {
  0%, 16%, 34%, 100% { opacity: 0; transform: translate3d(0, .3rem, 0) scale(.55) rotate(-12deg); }
  21% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
  28% { opacity: .8; transform: translate3d(0, -.2rem, 0) scale(1.12) rotate(10deg); }
}

@keyframes todaps-cat-soft-pop {
  0%, 15%, 35%, 100% { opacity: 0; transform: scale(.55); }
  23% { opacity: 1; transform: scale(1); }
  30% { opacity: 0; transform: scale(1.28); }
}

@keyframes todaps-cat-screen-glow {
  0%, 48%, 82%, 100% { opacity: .04; transform: scale(.88) rotate(-5deg); }
  58%, 74% { opacity: .72; transform: scale(1.06) rotate(-5deg); }
  66% { opacity: .34; transform: scale(.96) rotate(-5deg); }
}

@keyframes todaps-cat-data-dots {
  0%, 50%, 84%, 100% { opacity: 0; transform: translate3d(-.3rem, .25rem, 0) scale(.6); }
  60% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  76% { opacity: 0; transform: translate3d(.35rem, -.45rem, 0) scale(1.12); }
}

@keyframes todaps-cat-color-pop {
  0%, 46%, 82%, 100% { opacity: 0; transform: translate3d(-.35rem, .35rem, 0) scale(.55) rotate(-18deg); }
  58% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
  72% { opacity: .72; transform: translate3d(.2rem, -.3rem, 0) scale(1.15) rotate(14deg); }
}

@keyframes todaps-cat-camera-flash {
  0%, 64%, 71%, 100% { opacity: 0; transform: scale(.38); }
  67% { opacity: 1; transform: scale(1.12); }
  69% { opacity: .28; transform: scale(1.55); }
}

@keyframes todaps-cat-camera-halo {
  0%, 64%, 73%, 100% { opacity: 0; transform: scale(.45); }
  68% { opacity: .82; transform: scale(1); }
  72% { opacity: 0; transform: scale(1.65); }
}

@keyframes todaps-cat-repair-sparks {
  0%, 50%, 80%, 100% { opacity: 0; transform: translate3d(.25rem, .4rem, 0) scale(.55) rotate(-18deg); }
  60% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
  72% { opacity: .5; transform: translate3d(-.28rem, -.35rem, 0) scale(1.1) rotate(18deg); }
}

@keyframes todaps-cat-wifi-wave {
  0%, 54%, 84%, 100% { opacity: 0; transform: scale(.55); }
  64% { opacity: .92; transform: scale(.82); }
  77% { opacity: 0; transform: scale(1.28); }
}

@keyframes todaps-cat-wifi-dot {
  0%, 55%, 84%, 100% { opacity: 0; transform: scale(.5); }
  64%, 73% { opacity: 1; transform: scale(1); }
  78% { opacity: 0; transform: scale(1.35); }
}

@media (hover: hover) and (pointer: fine) {
  .hero-visual-stage:hover .todaps-cat-sprite,
  .dw-architecture:hover .todaps-cat-sprite,
  .design-showcase:hover .todaps-cat-sprite,
  .photo-hero:hover .todaps-cat-sprite,
  .repair-specialty:hover .todaps-cat-sprite,
  .tech-hero-visual:hover .todaps-cat-sprite {
    animation-duration: 2.8s;
    filter: drop-shadow(0 22px 24px rgba(12, 12, 9, .22)) saturate(1.08) contrast(1.03);
  }
}

@media (max-width: 1023px) {
  #tab-diseno-web .dw-head {
    margin-bottom: 4.75rem !important;
  }

  .todaps-cat-home {
    left: 0;
    bottom: -6%;
    width: clamp(9.25rem, 23vw, 11.5rem);
  }

  .todaps-cat-design {
    left: -.8rem;
    bottom: -2rem;
  }

  .todaps-cat-tech {
    top: -2rem;
    left: -.75rem;
  }
}

@media (max-width: 960px) {
  .todaps-cat-photo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    justify-self: end;
    margin: -1.25rem 1rem -2rem 0;
    width: 9rem;
  }
}

@media (max-width: 640px) {
  .todaps-cat-home {
    left: -.3rem;
    bottom: -1rem;
    width: clamp(7.75rem, 36vw, 9.25rem);
  }

  .todaps-cat-web {
    right: .1rem;
    bottom: -3.25rem;
    width: 7.5rem;
  }

  .todaps-cat-design {
    top: -5.6rem;
    right: .1rem;
    bottom: auto;
    left: auto;
    width: 8rem;
  }

  .design-showcase { margin-top: 4rem; }

  .todaps-cat-photo {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: -.8rem .1rem -2rem 0;
    width: 7.7rem;
  }

  .repair-specialty ul { max-width: calc(100% - 4.5rem); }

  .todaps-cat-repair {
    right: 0;
    bottom: .2rem;
    width: 8.2rem;
  }

  .todaps-cat-tech {
    top: -5.6rem;
    right: .1rem;
    bottom: auto;
    left: auto;
    width: 8rem;
  }

  .tech-hero-visual { margin-top: 4.75rem; }
}

@media (max-width: 350px) {
  .todaps-cat-home { width: 7.15rem; }
  .todaps-cat-web,
  .todaps-cat-design,
  .todaps-cat-photo,
  .todaps-cat-repair,
  .todaps-cat-tech { width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-force) .todaps-cat,
  html:not(.motion-force) .todaps-cat-sprite,
  html:not(.motion-force) .todaps-cat-action::before,
  html:not(.motion-force) .todaps-cat-action::after {
    animation: none !important;
    transform: none !important;
  }

  html:not(.motion-force) .todaps-cat-action { display: none; }
}

/* Escritorio Luiyeth Rojas: movimiento activo con control de pausa accesible. */
.td-motion-toggle .motion-off-icon { display: none; }
html:not(.motion-force) .td-motion-toggle .motion-on-icon { display: none; }
html:not(.motion-force) .td-motion-toggle .motion-off-icon { display: block; }

@media (max-width: 1023px) {
  .td-motion-toggle { display: none !important; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  html.motion-force .hero-emphasis {
    animation: td-title-energy 5.8s ease-in-out infinite !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-project-plane {
    animation: td-deck-arrive 880ms cubic-bezier(.22, 1, .36, 1) both, td-plane-float 6.2s ease-in-out infinite !important;
    animation-play-state: running, running !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-project-plane-main {
    animation-delay: 110ms, -1.1s !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-project-plane-side {
    animation-delay: 180ms, -2.4s !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-project-plane-low {
    animation-delay: 250ms, -3.6s !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-project-plane::after {
    animation: td-plane-sheen 8.2s ease-in-out infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-light-ribbon-a {
    animation: td-ribbon-a 5.8s cubic-bezier(.45, 0, .25, 1) infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-light-ribbon-b {
    animation: td-ribbon-b 7.2s cubic-bezier(.45, 0, .25, 1) infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-scan-beam {
    animation: td-deck-scan 6.6s cubic-bezier(.5, 0, .2, 1) infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .todaps-hero-lab.motion-in-view .hero-scene-route path {
    animation: td-route-flow 2.4s linear infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .home-kinetic-rail.motion-in-view .home-kinetic-track {
    animation: td-kinetic-idle 24s linear infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .home-ai-spotlight.motion-in-view .home-ai-demo {
    animation: td-demo-float 5.2s ease-in-out infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .home-ai-spotlight.motion-in-view .home-ai-result {
    animation: td-result-pulse 2.8s ease-in-out infinite !important;
    animation-play-state: running !important;
  }

  html.motion-force .offer499-home-card::after {
    animation: td-offer-sheen 6.5s ease-in-out infinite !important;
  }

  html.motion-force .todaps-cat {
    animation: todaps-cat-arrive .78s cubic-bezier(.16, 1, .3, 1) both !important;
  }

  html.motion-force .todaps-cat-home .todaps-cat-sprite { animation: todaps-cat-home-idle 6.4s -.6s ease-in-out infinite !important; }
  html.motion-force .todaps-cat-web .todaps-cat-sprite { animation: todaps-cat-web-work 5.8s -2.8s ease-in-out infinite !important; }
  html.motion-force .todaps-cat-design .todaps-cat-sprite { animation: todaps-cat-design-draw 6.8s -3.2s ease-in-out infinite !important; }
  html.motion-force .todaps-cat-photo .todaps-cat-sprite { animation: todaps-cat-photo-shot 7.2s -4.6s ease-in-out infinite !important; }
  html.motion-force .todaps-cat-repair .todaps-cat-sprite { animation: todaps-cat-repair-fix 6.6s -3.3s ease-in-out infinite !important; }
  html.motion-force .todaps-cat-tech .todaps-cat-sprite { animation: todaps-cat-tech-signal 7s -3.9s ease-in-out infinite !important; }

  html.motion-force #tab-diseno-web .dw-architecture::after {
    animation: dwWebLine 1.15s .35s cubic-bezier(.2, .8, .2, 1) both !important;
  }

  html.motion-force #tab-diseno-web .dw-capability {
    animation: dwWebCardIn .75s calc(.42s + var(--dw-step) * .13s) cubic-bezier(.2, .8, .2, 1) both !important;
  }

  html.motion-force #tab-diseno-web .dw-architecture-status > span:first-child {
    animation: dwWebPulse 2.4s ease-in-out infinite !important;
  }

  html.motion-force #tab-inicio .home-services-head,
  html.motion-force #tab-inicio .home-service-list,
  html.motion-force #tab-inicio .home-ai-copy,
  html.motion-force #tab-inicio .home-ai-demo,
  html.motion-force #productos .dw-sec-head,
  html.motion-force #productos .dw-syslist,
  html.motion-force #tab-inicio .home-bio-heading,
  html.motion-force #tab-inicio .home-bio-content {
    transition: opacity 700ms var(--td-enter) !important;
    transition-property: opacity, transform !important;
  }

  html.motion-force #tab-inicio .home-service-list > li {
    opacity: var(--item-opacity) !important;
    transform: translate3d(var(--item-x), var(--item-y), 0) rotateY(var(--item-rotate)) !important;
  }

  html.motion-force #productos .home-product-grid > li {
    opacity: var(--card-opacity) !important;
    transform: perspective(1100px) translate3d(0, var(--card-y), 0) rotateX(var(--card-rx)) rotateY(var(--card-tilt)) scale(var(--card-scale)) !important;
  }

html.motion-force #tab-inicio .home-proof-card {
    opacity: var(--proof-opacity) !important;
    transform: translate3d(0, var(--proof-y), 0) !important;
  }
}

/* ================================================================
   iPhone motion pipeline — compositor primero, cero layout por frame
   ================================================================ */
.todaps-cat,
.todaps-cat-sprite,
.todaps-cat-action::before,
.todaps-cat-action::after {
  animation-play-state: paused !important;
}

.todaps-cat.motion-in-view,
.todaps-cat.motion-in-view .todaps-cat-sprite,
.todaps-cat.motion-in-view .todaps-cat-action::before,
.todaps-cat.motion-in-view .todaps-cat-action::after {
  animation-play-state: running !important;
}

.todaps-cat.motion-in-view .todaps-cat-sprite { will-change: transform; }
.todaps-cat.motion-in-view .todaps-cat-action::before,
.todaps-cat.motion-in-view .todaps-cat-action::after { will-change: transform, opacity; }

/* Los shorthands de motion-force son importantes para vencer la preferencia
   del sistema; esta capa posterior conserva la pausa fuera del viewport. */
html.motion-force .todaps-cat,
html.motion-force .todaps-cat-sprite,
html.motion-force .todaps-cat-action::before,
html.motion-force .todaps-cat-action::after { animation-play-state: paused !important; }

html.motion-force .todaps-cat.motion-in-view,
html.motion-force .todaps-cat.motion-in-view .todaps-cat-sprite,
html.motion-force .todaps-cat.motion-in-view .todaps-cat-action::before,
html.motion-force .todaps-cat.motion-in-view .todaps-cat-action::after { animation-play-state: running !important; }

@media (max-width: 820px), (pointer: coarse) {
  /* Un blur fijo detrás de toda la navegación obligaba a Safari a repintar
     mientras el documento se desplazaba. La superficie sigue sólida y limpia. */
  #mobile-nav-wrapper > div,
  #mobile-nav-wrapper .glass-effect {
    background: rgba(255, 255, 255, .975) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html.dark #mobile-nav-wrapper > div,
  html.dark #mobile-nav-wrapper .glass-effect {
    background: rgba(15, 16, 17, .98) !important;
  }

  /* Solo el escenario completo acompaña suavemente al scroll. Las tarjetas
     conservan su flotación de compositor sin cinco escrituras JS por frame. */
  .hero-visual-stage {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  .hero-scene,
  .hero-project-plane {
    backface-visibility: hidden;
  }

  .hero-scan-beam {
    display: none !important;
  }

  .hero-light-ribbon,
  .hero-project-plane,
  .home-kinetic-track,
  #tab-inicio .home-service-list > li,
  #productos .home-product-grid > li,
  #tab-inicio .home-proof-card,
  .todaps-cat-sprite {
    will-change: auto !important;
  }

  .home-kinetic-rail.motion-in-view .home-kinetic-track,
  .todaps-cat.motion-in-view .todaps-cat-sprite {
    will-change: transform;
  }

  /* El filtro iba montado sobre el sprite que respira. En WebKit eso vuelve a
     rasterizarlo continuamente; una sombra radial estática conserva volumen. */
  .todaps-cat::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 18%;
    right: 18%;
    bottom: 7%;
    height: 10%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(12, 12, 9, .2), rgba(12, 12, 9, 0) 72%);
    pointer-events: none;
  }

  .todaps-cat-sprite,
  html.dark .todaps-cat-sprite {
    filter: none !important;
  }

  /* Encabezados entran una vez; filas, productos y proyectos responden
     continuamente al desplazamiento mediante transform + opacity directos. */
  html.home-mobile-scroll #tab-inicio .home-service-list,
  html.home-mobile-scroll #productos .home-product-grid {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.home-mobile-scroll #tab-inicio .home-service-list > li,
  html.home-mobile-scroll #productos .home-product-grid > li,
  html.home-mobile-scroll #tab-inicio .home-proof-card {
    backface-visibility: hidden;
    transition: none !important;
  }

  html.home-mobile-scroll .mobile-scroll-active {
    will-change: transform, opacity !important;
  }

  html.home-mobile-scroll #tab-inicio .home-service-row::before {
    opacity: 0;
    transform: scaleX(0);
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1), opacity 160ms ease-out;
  }

  html.home-mobile-scroll #tab-inicio .home-service-row.is-scroll-focus::before {
    opacity: .98;
    transform: scaleX(1);
  }

  #tab-inicio .home-service-list > li,
  #productos .home-product-grid > li,
  #tab-inicio .home-proof-card,
  #tab-inicio .home-services::after,
  #productos::before,
  #tab-inicio .home-bio::after {
    --item-opacity: 1;
    --item-x: 0px;
    --item-y: 0px;
    --item-rotate: 0deg;
    --card-opacity: 1;
    --card-y: 0px;
    --card-rx: 0deg;
    --card-tilt: 0deg;
    --card-scale: 1;
    --proof-opacity: 1;
    --proof-y: 0px;
    --services-drift: 0px;
    --product-orb-x: 0px;
    --product-orb-y: 0px;
    --product-orb-r: 0deg;
    --bio-orb-y: 0px;
  }
}

@keyframes td-mobile-services-word-scroll {
  from { transform: translate3d(-34px, 0, 0); }
  to { transform: translate3d(34px, 0, 0); }
}

@keyframes td-mobile-product-orb-scroll {
  from { transform: translate3d(-28px, 24px, 0) rotate(-18deg); }
  to { transform: translate3d(28px, -24px, 0) rotate(118deg); }
}

@keyframes td-mobile-bio-orb-scroll {
  from { transform: translate3d(0, 42px, 0) scale(.92); }
  to { transform: translate3d(0, -42px, 0) scale(1.06); }
}

@supports (animation-timeline: view()) {
  @media (max-width: 820px), (pointer: coarse) {
    #tab-inicio .home-services::after {
      animation: td-mobile-services-word-scroll linear both;
      animation-timeline: view(block);
      animation-range: entry 0% exit 100%;
    }

    #productos::before {
      animation: td-mobile-product-orb-scroll linear both;
      animation-timeline: view(block);
      animation-range: entry 0% exit 100%;
    }

    #tab-inicio .home-bio::after {
      animation: td-mobile-bio-orb-scroll linear both;
      animation-timeline: view(block);
      animation-range: entry 0% exit 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-force) #tab-inicio .home-services::after,
  html:not(.motion-force) #productos::before,
  html:not(.motion-force) #tab-inicio .home-bio::after {
    animation: none !important;
    transform: none !important;
  }
}

/* ================================================================
   Acentos vivos por servicio — navegación y estados accesibles
   ================================================================ */
:root {
  --td-active-accent: #0099D5;
  --td-active-accent-readable: #006B94;
}

html[data-active-route="diseno-grafico"] {
  --td-active-accent: #FF2D8D;
  --td-active-accent-readable: #D81B60;
}

html[data-active-route="fotografia"] {
  --td-active-accent: #FF6A00;
  --td-active-accent-readable: #C84600;
}

html[data-active-route="reparaciones"] {
  --td-active-accent: #00C853;
  --td-active-accent-readable: #008044;
}

html[data-active-route="soluciones-tech"] {
  --td-active-accent: #00B8A9;
  --td-active-accent-readable: #007C7A;
}

html.dark[data-active-route="inicio"],
html.dark[data-active-route="diseno-web"] {
  --td-active-accent-readable: #38BDF8;
}

html.dark[data-active-route="diseno-grafico"] { --td-active-accent-readable: #F9A8D4; }
html.dark[data-active-route="fotografia"] { --td-active-accent-readable: #FDBA74; }
html.dark[data-active-route="reparaciones"] { --td-active-accent-readable: #4ADE80; }
html.dark[data-active-route="soluciones-tech"] { --td-active-accent-readable: #5EEAD4; }

.td-brand,
.td-desktop-menu [data-tab-target],
#mobile-nav-wrapper [data-tab-target],
#tab-inicio .home-service-row[data-tab-target] {
  --nav-accent: #0099D5;
  --nav-accent-readable: #006B94;
  --nav-accent-dark: #38BDF8;
  --nav-accent-rgb: 0 153 213;
}

.td-desktop-menu [data-tab-target="diseno-grafico"],
#mobile-nav-wrapper [data-tab-target="diseno-grafico"],
#tab-inicio .home-service-row[data-tab-target="diseno-grafico"] {
  --nav-accent: #FF2D8D;
  --nav-accent-readable: #D81B60;
  --nav-accent-dark: #F9A8D4;
  --nav-accent-rgb: 255 45 141;
}

.td-desktop-menu [data-tab-target="fotografia"],
#mobile-nav-wrapper [data-tab-target="fotografia"],
#tab-inicio .home-service-row[data-tab-target="fotografia"] {
  --nav-accent: #FF6A00;
  --nav-accent-readable: #C84600;
  --nav-accent-dark: #FDBA74;
  --nav-accent-rgb: 255 106 0;
}

.td-desktop-menu [data-tab-target="reparaciones"],
#mobile-nav-wrapper [data-tab-target="reparaciones"],
#tab-inicio .home-service-row[data-tab-target="reparaciones"] {
  --nav-accent: #00C853;
  --nav-accent-readable: #008044;
  --nav-accent-dark: #4ADE80;
  --nav-accent-rgb: 0 200 83;
}

.td-desktop-menu [data-tab-target="soluciones-tech"],
#mobile-nav-wrapper [data-tab-target="soluciones-tech"],
#tab-inicio .home-service-row[data-tab-target="soluciones-tech"] {
  --nav-accent: #00B8A9;
  --nav-accent-readable: #007C7A;
  --nav-accent-dark: #5EEAD4;
  --nav-accent-rgb: 0 184 169;
}

.td-desktop-menu button {
  position: relative;
  isolation: isolate;
}

.td-desktop-menu button::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 3px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-accent);
  opacity: 0;
  transform: scaleX(.36);
  transition: opacity 180ms ease, transform 220ms var(--td-enter);
  pointer-events: none;
}

.td-desktop-menu button:hover,
.td-desktop-menu button:focus-visible,
.td-desktop-menu button[aria-current="page"] {
  background: rgb(var(--nav-accent-rgb) / .09) !important;
  color: var(--nav-accent-readable) !important;
}

.td-desktop-menu button:hover::after,
.td-desktop-menu button:focus-visible::after,
.td-desktop-menu button[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.td-desktop-menu button:focus-visible,
.td-brand:focus-visible,
#mobile-nav-wrapper .tab-link-mobile:focus-visible {
  outline: 2px solid var(--nav-accent);
  outline-offset: 2px;
}

.td-brand:hover,
.td-brand:focus-visible,
.td-brand[aria-current="page"] {
  color: var(--nav-accent-readable);
}

html.dark .td-desktop-menu button:hover,
html.dark .td-desktop-menu button:focus-visible,
html.dark .td-desktop-menu button[aria-current="page"],
html.dark .td-brand:hover,
html.dark .td-brand:focus-visible,
html.dark .td-brand[aria-current="page"] {
  color: var(--nav-accent-dark) !important;
}

#liquid-indicator {
  background: var(--td-active-accent) !important;
  box-shadow: none !important;
}

#mobile-nav-wrapper .tab-link-mobile[aria-current="page"],
#mobile-nav-wrapper .tab-link-mobile:focus-visible {
  color: var(--nav-accent-readable) !important;
}

html.dark #mobile-nav-wrapper .tab-link-mobile[aria-current="page"],
html.dark #mobile-nav-wrapper .tab-link-mobile:focus-visible {
  color: var(--nav-accent-dark) !important;
}

@media (hover: hover) and (pointer: fine) {
  #mobile-nav-wrapper .tab-link-mobile:hover {
    color: var(--nav-accent-readable) !important;
  }

  html.dark #mobile-nav-wrapper .tab-link-mobile:hover {
    color: var(--nav-accent-dark) !important;
  }
}

#tab-inicio .home-service-row::before {
  background: var(--nav-accent-readable);
}

#tab-inicio .home-service-row:focus-visible {
  background: var(--nav-accent-readable) !important;
  outline-color: var(--nav-accent);
}

#tab-inicio .home-service-row:active {
  background: rgb(var(--nav-accent-rgb) / .24) !important;
}

@media (hover: hover) and (pointer: fine) {
  #tab-inicio .home-service-row:hover {
    background: var(--nav-accent-readable) !important;
  }
}

/* === Membresía TodAps: enlace en nav + banner en reparaciones (2026-10-01) === */
.td-desktop-menu .td-nav-membresia{
  position:relative; isolation:isolate; display:inline-flex; align-items:center; gap:6px;
  padding:8px 10px; border-radius:10px; font:inherit; color:inherit; text-decoration:none;
  --nav-accent:#0099D5; --nav-accent-readable:#006B94; --nav-accent-rgb:0 153 213;
}
.td-desktop-menu .td-nav-membresia svg{ width:15px; height:15px; stroke-width:1.8; }
.td-desktop-menu .td-nav-membresia:hover,
.td-desktop-menu .td-nav-membresia:focus-visible{
  background:rgb(var(--nav-accent-rgb) / .09); color:var(--nav-accent-readable);
}
.repair-membership-banner{
  display:flex; align-items:center; gap:12px; margin-top:18px; padding:16px 18px;
  border-radius:18px; text-decoration:none; color:inherit;
  background:linear-gradient(135deg, rgba(34,211,238,.14), rgba(14,165,233,.05));
}
.repair-membership-banner svg{ width:26px; height:26px; flex:0 0 auto; color:#0ea5e9; }
.repair-membership-banner span{ flex:1; font-size:14.5px; line-height:1.45; }
.repair-membership-banner strong{ font-size:15.5px; }
/* === fin Membresía === */

/* Touch targets 44px para enlaces sociales del portafolio (2026-10-02) */
@media (max-width: 640px) {
  .photo-portfolio-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
  }
}
