:root {
  color-scheme: light dark; 
  --todaps-card-radius: 22px;
  --todaps-soft-border: rgba(148, 163, 184, 0.22);
}

html {
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
    scroll-behavior: smooth;
    background-color: #f8fafc;
    min-height: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

html.dark {
    scrollbar-color: #475569 #0f172a;
    background-color: #0f172a !important; 
}

body {
  background-color: #f8fafc;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

main,
footer {
  max-width: 100%;
  overflow-x: clip;
}

/* Home limpia: menos ruido visual, más lectura y decisión rápida */
#bg-blobs,
#blob-top-wrapper,
#blob-bottom-wrapper,
.mobile-gradient-bg {
  display: none !important;
}

.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, auto, auto, 28px 28px, 28px 28px, auto;
}

html.dark .bg-grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

#tab-inicio > section:first-child {
  min-height: 76vh;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

#tab-inicio h1 {
  letter-spacing: 0;
}

.store-launch-shell {
  margin-top: -0.5rem;
}

.store-launch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.3rem, 3vw, 2.25rem);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.12), transparent 30%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.store-launch-copy {
  max-width: 58rem;
}

.store-launch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: #006b94;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-launch-copy h2 {
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 950;
}

.store-launch-copy p:not(.store-launch-kicker) {
  margin-top: 0.9rem;
  max-width: 44rem;
  color: #475569;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  font-weight: 650;
}

.store-launch-actions {
  display: grid;
  justify-items: end;
  gap: 1rem;
}

.store-launch-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: 19rem;
}

.store-launch-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 900;
}

.store-launch-cta {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-launch-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
}

html.dark .store-launch-panel {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(0, 153, 213, 0.1), transparent 32%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

html.dark .store-launch-copy h2 {
  color: #ffffff;
}

html.dark .store-launch-copy p:not(.store-launch-kicker) {
  color: #cbd5e1;
}

html.dark .store-launch-tags span {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

html.dark .store-launch-cta {
  background: #ffffff;
  color: #0f172a;
}

@media (max-width: 760px) {
  .store-launch-shell {
    margin-top: 0;
    margin-bottom: 2.5rem;
  }

  .store-launch-panel {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    border-radius: 24px;
  }

  .store-launch-actions {
    justify-items: stretch;
  }

  .store-launch-tags {
    justify-content: flex-start;
  }

  .store-launch-cta {
    width: 100%;
  }
}

.todaps-choice-panel {
  display: grid;
  gap: 1rem;
}

.todaps-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.todaps-choice-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--todaps-card-radius);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.todaps-choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.choice-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(14, 165, 233, 0.1);
}

.choice-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.choice-price {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #006b94;
}

.choice-copy strong {
  font-size: 1.08rem;
  line-height: 1.15;
  color: #0f172a;
}

.choice-copy small {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
}

.choice-arrow {
  color: #94a3b8;
}

.accent-purple .choice-icon { color: #a855f7; background: rgba(168, 85, 247, 0.12); }
.accent-purple .choice-price { color: #a855f7; }
.accent-rose .choice-icon { color: #f43f5e; background: rgba(244, 63, 94, 0.12); }
.accent-rose .choice-price { color: #f43f5e; }
.accent-amber .choice-icon { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.accent-amber .choice-price { color: #f59e0b; }
.accent-green .choice-icon { color: #10b981; background: rgba(16, 185, 129, 0.12); }
.accent-green .choice-price { color: #10b981; }
.accent-blue .choice-icon { color: #0099d5; background: rgba(0, 153, 213, 0.1); }
.accent-blue .choice-price { color: #006b94; }
.accent-cyan .choice-icon { color: #0099d5; background: rgba(0, 153, 213, 0.11); }
.accent-cyan .choice-price { color: #006b94; }

.todaps-choice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.choice-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choice-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

.choice-steps b {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.78rem;
}

.choice-main-cta {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-main-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
}

html.dark .todaps-choice-card {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .choice-copy strong {
  color: #ffffff;
}

html.dark .choice-copy small,
html.dark .choice-arrow {
  color: #cbd5e1;
}

html.dark .choice-steps span {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

html.dark .choice-steps b {
  background: #ffffff;
  color: #0f172a;
}

html.dark .choice-main-cta {
  background: #ffffff;
  color: #0f172a;
}

.license-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--todaps-card-radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.license-teaser-copy h2 {
  margin-top: 0.8rem;
  color: #0f172a;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  font-weight: 950;
}

.license-teaser-copy p {
  margin-top: 0.45rem;
  color: #64748b;
  font-weight: 700;
}

.license-teaser-stack {
  display: flex;
  align-items: center;
}

.license-teaser-stack img {
  width: 4.2rem;
  height: 5.4rem;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 1rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.license-teaser-stack img + img {
  margin-left: -1.1rem;
}

.license-teaser-cta {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.license-teaser-cta:hover {
  transform: translateY(-2px);
}

.license-teaser-repair {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.82), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.16), transparent 30%);
}

.license-teaser-repair .license-teaser-cta {
  background: #047857;
}

.license-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.license-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--todaps-card-radius);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.license-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.license-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e2e8f0;
}

.license-info {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.license-info span {
  width: max-content;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  color: #006b94;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-info h3 {
  color: #0f172a;
  font-size: 1.22rem;
  line-height: 1.1;
  font-weight: 900;
}

.license-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.license-bottom strong {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 950;
}

.license-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.license-buy:hover {
  transform: translateY(-1px);
}

html.dark .license-card {
  background: rgba(15, 23, 42, 0.76);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .license-info h3,
html.dark .license-bottom strong {
  color: #ffffff;
}

html.dark .license-buy {
  background: #ffffff;
  color: #0f172a;
}

html.dark .license-teaser {
  background: rgba(15, 23, 42, 0.74);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .license-teaser-copy h2 {
  color: #ffffff;
}

html.dark .license-teaser-copy p {
  color: #cbd5e1;
}

html.dark .license-teaser-stack img {
  border-color: #0f172a;
}

html.dark .license-teaser-cta {
  background: #ffffff;
  color: #0f172a;
}

html.dark .license-teaser-repair {
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.32), rgba(15, 23, 42, 0.66)),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.18), transparent 30%);
}

.store-page {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent 32%),
    linear-gradient(225deg, rgba(124, 58, 237, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.82)),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    #f8fafc;
  background-size: auto, auto, auto, 28px 28px, 28px 28px, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  background-attachment: fixed;
}

.store-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: rgba(248, 250, 252, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.store-brand {
  display: grid;
  color: #0f172a;
  line-height: 1.05;
}

.store-brand span {
  font-weight: 950;
  font-size: 1.2rem;
}

.store-brand small {
  color: #64748b;
  font-weight: 800;
}

.store-pay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-pay-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
}

.store-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 0 5rem;
}

.store-hero {
  max-width: 820px;
  margin-bottom: 1.35rem;
}

.store-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-hero h1 {
  margin-top: 1rem;
  color: #0f172a;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.95;
  font-weight: 950;
}

.store-hero p {
  margin-top: 1rem;
  color: #475569;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  font-weight: 750;
  max-width: 720px;
}

.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.store-hero-actions span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #334155;
  font-size: 0.9rem;
  font-weight: 900;
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.store-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.15rem;
}

.store-steps article {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.store-steps b {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
}

.store-steps span {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 850;
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.store-list {
  display: grid;
  gap: 0.8rem;
}

.store-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.15rem;
}

.store-list-heading span {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 950;
}

.store-list-heading small {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.store-products {
  display: grid;
  gap: 0.7rem;
}

.store-product-card {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.72rem;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.store-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.store-product-card.is-active {
  border-color: rgba(6, 182, 212, 0.55);
  background: rgba(236, 254, 255, 0.78);
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.14);
}

.store-product-card.is-unavailable {
  opacity: 0.72;
}

.store-product-card.is-unavailable em {
  color: #dc2626;
  opacity: 1;
}

.store-product-card img {
  width: 72px;
  height: 86px;
  object-fit: cover;
  border-radius: 0.85rem;
}

.store-product-card span {
  display: grid;
  gap: 0.15rem;
}

.store-product-card small {
  color: #006b94;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-product-card strong {
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 950;
}

.store-product-card b {
  color: #334155;
  font-weight: 950;
}

.store-product-card em {
  width: max-content;
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  opacity: 0.72;
}

.store-detail {
  position: sticky;
  top: 5.5rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) 1fr;
  gap: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--todaps-card-radius);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.12);
}

.store-detail-media img {
  width: 100%;
  height: clamp(430px, 58vw, 680px);
  min-height: 430px;
  object-fit: contain;
  object-position: center;
  border-radius: 1.2rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.store-detail-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 0.25rem;
}

.store-detail-copy > span {
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  color: #006b94;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-detail-copy h2 {
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  font-weight: 950;
}

.store-detail-copy strong {
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 950;
}

.store-detail-copy p {
  color: #475569;
  font-weight: 750;
  line-height: 1.55;
}

.store-detail-copy ul {
  display: grid;
  gap: 0.55rem;
  color: #334155;
  font-weight: 800;
}

.store-detail-copy li {
  display: flex;
  gap: 0.55rem;
}

.store-detail-copy li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #06b6d4;
}

.store-buy-main {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-buy-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.store-buy-main.is-disabled {
  pointer-events: none;
  background: #cbd5e1;
  color: #475569;
  box-shadow: none;
}

.store-whatsapp-main {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-whatsapp-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.24);
}

html.dark .store-page {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent 34%),
    linear-gradient(225deg, rgba(139, 92, 246, 0.12), transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0f172a;
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat;
}

html.dark .store-topbar {
  background: rgba(15, 23, 42, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .store-brand,
html.dark .store-hero h1,
html.dark .store-product-card strong,
html.dark .store-detail-copy h2,
html.dark .store-detail-copy strong {
  color: #ffffff;
}

html.dark .store-brand small,
html.dark .store-hero p,
html.dark .store-detail-copy p,
html.dark .store-detail-copy ul,
html.dark .store-product-card b {
  color: #cbd5e1;
}

html.dark .store-pay-link,
html.dark .store-kicker,
html.dark .store-buy-main {
  background: #ffffff;
  color: #0f172a;
}

html.dark .store-steps article {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .store-steps b {
  background: #ffffff;
  color: #0f172a;
}

html.dark .store-steps span {
  color: #e2e8f0;
}

html.dark .store-hero-actions span,
html.dark .store-product-card,
html.dark .store-detail {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .store-list-heading span,
html.dark .store-product-card em {
  color: #ffffff;
}

html.dark .store-list-heading small,
html.dark .store-hero-actions span {
  color: #cbd5e1;
}

html.dark .store-product-card:hover,
html.dark .store-product-card.is-active {
  background: rgba(8, 47, 73, 0.54);
  border-color: rgba(0, 153, 213, 0.36);
}

html.dark .store-buy-main.is-disabled {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

/* (reglas viejas de #productos eliminadas — el nuevo diseño usa .dw-syslist) */
#productos a {
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  #tab-inicio > section:first-child {
    min-height: 72vh;
    padding-top: 4.25rem;
  }

  #tab-inicio h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    line-height: 1.03;
  }

  #tab-inicio p {
    font-size: 1rem;
    line-height: 1.6;
  }

  #productos {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .todaps-choice-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .todaps-choice-card {
    min-height: 86px;
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .choice-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .choice-copy strong {
    font-size: 1rem;
  }

  .choice-copy small {
    font-size: 0.8rem;
  }

  .todaps-choice-footer {
    display: grid;
    gap: 0.8rem;
    padding-top: 0.75rem;
  }

  .choice-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .choice-steps span {
    justify-content: center;
    padding: 0.58rem 0.45rem;
    font-size: 0.78rem;
  }

  .choice-main-cta {
    width: 100%;
  }

  .license-teaser {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.9rem;
  }

  .license-teaser-stack {
    order: -1;
  }

  .license-teaser-stack img {
    width: 3.4rem;
    height: 4.4rem;
    border-radius: 0.85rem;
  }

  .license-teaser-cta {
    width: 100%;
  }

  .license-shop-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .license-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: stretch;
  }

  .license-card img {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
  }

  .license-info {
    align-content: center;
    padding: 0.95rem;
  }

  .license-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .license-buy {
    width: 100%;
  }

  .store-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 2rem;
  }

  .store-topbar {
    padding: 0.8rem 1rem;
  }

  .store-pay-link {
    padding: 0.7rem 0.85rem;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .store-hero {
    margin-bottom: 1rem;
  }

  .store-hero-actions {
    gap: 0.5rem;
  }

  .store-hero-actions span {
    min-height: 2.45rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
  }

  .store-steps {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .store-steps article {
    min-height: auto;
    padding: 0.75rem;
  }

  .store-steps span {
    font-size: 0.88rem;
  }

  .store-detail {
    order: 2;
  }

  .store-list {
    order: 1;
  }

  .store-list-heading {
    align-items: start;
  }

  .store-list-heading small {
    max-width: 12rem;
    line-height: 1.25;
  }

  .store-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .store-product-card {
    grid-template-columns: 1fr;
    padding: 0.6rem;
    gap: 0.55rem;
  }

  .store-product-card img {
    width: 100%;
    height: 132px;
  }

  .store-product-card strong {
    font-size: 0.96rem;
  }

  .store-product-card b {
    font-size: 0.9rem;
  }

  .store-detail {
    position: static;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  .store-detail-media img {
    min-height: 420px;
    height: min(72vh, 620px);
  }

}

html.dark body {
  background-color: #0f172a;
}

/* --- TURBO MODE MÓVIL --- */
.mobile-gradient-bg {
    background: radial-gradient(circle at 20% 30%, rgba(0, 153, 213, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(192, 132, 252, 0.15) 0%, transparent 40%);
}

html.dark .mobile-gradient-bg {
    background: radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
}

/* --- ANIMACIONES Y TRANSICIONES MEJORADAS --- */
:root {
  --transition-duration: 0.4s;
  --transition-timing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación de botones */
button, .btn, [class*="btn-"] {
  transition: all var(--transition-duration) var(--transition-timing);
  position: relative;
  overflow: hidden;
}

button:active, .btn:active {
  transform: scale(0.96);
}

/* Efecto hover suave para tarjetas */
[class*="card"], [class*="Card"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[class*="card"]:hover, [class*="Card"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Efecto de ondas al hacer clic */
@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.ripple:focus:not(:active)::after {
  animation: ripple 0.6s ease-out;
}

/* Animación de carga suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Efecto hover para enlaces de navegación */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

/* Animación de escalado suave para imágenes */
.img-scale {
  transition: transform 0.5s ease;
  overflow: hidden;
}

.img-scale:hover {
  transform: scale(1.03);
}

/* Efecto de hover para iconos */
i[class*="icon-"], i[class^="icon-"] {
  transition: transform 0.3s ease, color 0.3s ease;
}

i[class*="icon-"]:hover, i[class^="icon-"]:hover {
  transform: translateY(-3px);
}

/* Animación de parpadeo para elementos importantes */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Efecto de hover para botones con gradiente */
.btn-gradient {
  background-size: 200% auto;
  background-position: right center;
  transition: all 0.5s ease;
}

.btn-gradient:hover {
  background-position: left center;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Efecto de hover para tarjetas con borde */
.card-border-hover {
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.card-border-hover:hover {
  border-color: currentColor;
  box-shadow: 0 0 0 1px currentColor;
}

/* Animación de carga para elementos */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
}

/* Efecto de hover para elementos con elevación */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Clases de utilidad para transiciones */
.transition-all {
  transition: all var(--transition-duration) var(--transition-timing);
}

.transition-colors {
  transition: color var(--transition-duration) var(--transition-timing),
              background-color var(--transition-duration) var(--transition-timing),
              border-color var(--transition-duration) var(--transition-timing);
}

.transition-transform {
  transition: transform var(--transition-duration) var(--transition-timing);
}

/* Efecto de hover para enlaces con subrayado */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.link-underline:hover:after {
  width: 100%;
}

/* Animación de rotación para iconos de carga */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Efecto de hover para botones con icono */
.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-with-icon i {
  transition: transform 0.3s ease;
}

.btn-with-icon:hover i {
  transform: translateX(3px);
}

/* Efecto de hover para tarjetas con imagen */
.card-image-hover {
  overflow: hidden;
}

.card-image-hover img {
  transition: transform 0.5s ease;
}

.card-image-hover:hover img {
  transform: scale(1.05);
}

@keyframes fadeIn { 
  from { opacity: 0; } 
  to { opacity: 1; } 
}
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }

@keyframes gradientMove {
  0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; }
}
.animate-gradient {
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
}

@keyframes blobPulse {
  0%, 100% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.1) translateZ(0); }
}
.animate-blob-pulse {
  animation: blobPulse 8s infinite ease-in-out;
  will-change: transform;
}

@keyframes float { 
  0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } 
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* LightGallery */
.lg-backdrop {
  background-color: rgba(0, 0, 0, 0.85) !important; 
  backdrop-filter: blur(15px) !important; 
}
.lg-sub-html { display: none !important; }

/* Lists */
.service-list li {
  position: relative;
  padding-left: 30px; 
}
.service-list li::before {
  content: '✓'; 
  position: absolute;
  left: 0;
  top: 0px;
  color: rgb(16, 185, 129);
  font-weight: bold;
}

/* Glassmorphism Ultra Premium (iOS style) */
.glass-effect {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}
html.dark .glass-effect {
  background: rgba(15, 23, 42, 0.65) !important;
}

.tab-link-mobile i {
  stroke-width: 1.5px;
}

#liquid-indicator {
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, width;
}

.tab-link-mobile {
  transition: color 0.3s ease, transform 0.2s ease;
}
.tab-link-mobile:active {
  transform: scale(0.95);
}

#back-to-home {
  transition: all 0.3s ease;
}
#back-to-home:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-xl {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* --- HERO REDESIGN UTILITIES --- */

/* Grid pattern for the hero background */
.bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

html.dark .bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Glass badges for floating elements */
.glass-badge {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .glass-badge {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 400px) {
  .glass-badge {
    padding: 0.25rem 0.5rem;
  }
  .glass-badge span {
    font-size: 10px;
  }
  .glass-badge i {
    width: 0.75rem;
    height: 0.75rem;
  }
}

/* Cursor blink for typewriter */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.animate-blink-cursor {
  animation: blink-cursor 1s step-end infinite;
}

/* Floating delayed animations */
@keyframes floating-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}
.animate-floating-delayed-1 {
  animation: floating-1 6s ease-in-out infinite;
}

@keyframes floating-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
.animate-floating-delayed-2 {
  animation: floating-2 7s ease-in-out infinite 1s;
}

@keyframes floating-3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}
.animate-floating-delayed-3 {
  animation: floating-3 8s ease-in-out infinite 2s;
}

/* Spectacular desktop hero layer */
.todaps-hero-lab {
  --hero-x: 0px;
  --hero-y: 0px;
  isolation: isolate;
  overflow-x: clip;
}

.todaps-hero-lab > .max-w-7xl {
  box-sizing: border-box;
  max-width: 100%;
}

.todaps-hero-lab::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 153, 213, 0.18), transparent 32%),
    radial-gradient(circle at 58% 58%, rgba(0, 153, 213, 0.12), transparent 34%);
  filter: blur(18px);
  opacity: 0.85;
  transform: translate3d(calc(var(--hero-x) * -0.2), calc(var(--hero-y) * -0.2), 0);
}

.todaps-hero-lab::after {
  content: "";
  position: absolute;
  left: calc(50% + var(--hero-x) * 1.8);
  top: calc(46% + var(--hero-y) * 1.4);
  width: min(48vw, 42rem);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 135deg, transparent 0 42%, rgba(14, 165, 233, 0.18), rgba(16, 185, 129, 0.12), transparent 68% 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.38), transparent 56%);
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0.68;
  transform: translate(-50%, -50%) rotate(-8deg);
  animation: hero-lens-drift 10s ease-in-out infinite;
}

.hero-kinetic-field {
  position: absolute;
  inset: 4rem 5vw 3rem;
  z-index: 1;
  transform: translate3d(calc(var(--hero-x) * 0.45), calc(var(--hero-y) * 0.45), 0);
  transition: transform 0.25s ease-out;
}

.hero-kinetic-field::before,
.hero-kinetic-field::after {
  content: "";
  position: absolute;
  inset: 11% 20%;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  transform: rotate(-10deg);
  box-shadow: 0 0 80px rgba(14, 165, 233, 0.1);
}

.hero-kinetic-field::after {
  inset: 20% 27%;
  transform: rotate(18deg);
  border-color: rgba(16, 185, 129, 0.16);
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 999px;
  transform-style: preserve-3d;
}

.hero-orbit-a {
  width: min(62vw, 840px);
  height: min(28vw, 340px);
  margin-left: calc(min(62vw, 840px) / -2);
  margin-top: calc(min(28vw, 340px) / -2);
  animation: hero-orbit-spin 30s linear infinite;
}

.hero-orbit-b {
  width: min(46vw, 620px);
  height: min(22vw, 280px);
  margin-left: calc(min(46vw, 620px) / -2);
  margin-top: calc(min(22vw, 280px) / -2);
  animation: hero-orbit-spin 24s linear infinite reverse;
}

.hero-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  color: #006b94;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 22px rgba(0, 107, 148, 0.24));
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hero-node-counter 30s linear infinite, hero-node-breathe 4.2s ease-in-out infinite;
}

.hero-orbit-b span {
  color: #0099d5;
  animation: hero-node-counter-reverse 24s linear infinite, hero-node-breathe 4.8s ease-in-out infinite;
}

.hero-orbit span:nth-child(2n) {
  animation-delay: 0s, -1.4s;
}

.hero-orbit-a span:nth-child(1) { left: 98%; top: 50%; }
.hero-orbit-a span:nth-child(2) { left: 50%; top: 2%; }
.hero-orbit-a span:nth-child(3) { left: 2%; top: 50%; }
.hero-orbit-a span:nth-child(4) { left: 50%; top: 98%; }

.hero-orbit-b span:nth-child(1) { left: 86%; top: 20%; }
.hero-orbit-b span:nth-child(2) { left: 82%; top: 78%; }
.hero-orbit-b span:nth-child(3) { left: 18%; top: 80%; }
.hero-orbit-b span:nth-child(4) { left: 14%; top: 22%; }

.hero-orbit svg {
  width: 1.55rem;
  height: 1.55rem;
  stroke-width: 1.8;
}

.hero-code-pane {
  position: absolute;
  right: 2vw;
  top: 17%;
  width: 12.5rem;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.4rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate3d(calc(var(--hero-x) * -0.35), calc(var(--hero-y) * -0.35), 0) rotate(2deg);
  animation: hero-panel-float 7s ease-in-out infinite;
}

.hero-code-pane b {
  color: #006b94;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-code-pane code {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0.45rem 0.6rem;
  color: #334155;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 0.75rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-code-pane code::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 35%, rgba(14, 165, 233, 0.22) 48%, transparent 62% 100%);
  transform: translateX(-130%);
  animation: hero-code-sweep 4.6s ease-in-out infinite;
  animation-delay: calc(var(--line, 0) * 0.55s);
}

.hero-code-pane code:nth-of-type(1) { --line: 0; }
.hero-code-pane code:nth-of-type(2) { --line: 1; }
.hero-code-pane code:nth-of-type(3) { --line: 2; }

.hero-scanline {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.55), rgba(16, 185, 129, 0.45), transparent);
  box-shadow: 0 0 22px rgba(14, 165, 233, 0.35);
  animation: hero-scan 5.5s ease-in-out infinite;
}

.hero-eyebrow {
  position: relative;
  overflow: hidden;
  padding-inline: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.hero-eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255, 255, 255, 0.65) 45%, transparent 55% 100%);
  transform: translateX(-120%);
  animation: hero-shine 4.8s ease-in-out infinite;
}

.hero-title {
  text-wrap: balance;
  letter-spacing: 0;
}

.hero-title::selection,
.hero-typebar::selection {
  background: rgba(0, 153, 213, 0.2);
}

.hero-typebar {
  position: relative;
  width: fit-content;
  max-width: min(100%, 34rem);
  min-height: 2.25rem;
  margin: 0 auto 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0;
  color: #0f172a;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: clamp(0.9rem, 1.7vw, 1.1rem);
  font-weight: 900;
}

.hero-typebar::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  right: 0;
  bottom: -0.18rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 153, 213, 0.5), rgba(16, 185, 129, 0.42), transparent);
}

.hero-typebar svg {
  color: #006b94;
  flex: 0 0 auto;
}

.hero-signal-row {
  width: min(100%, 46rem);
  margin: 0 auto 1.8rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-signal-row span {
  min-height: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.35rem;
  color: #334155;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.hero-signal-row svg {
  width: 1rem;
  height: 1rem;
  color: #006b94;
}

.hero-signal-row b {
  font-size: 0.86rem;
}

html.dark .todaps-hero-lab::before {
  opacity: 0.38;
}

html.dark .todaps-hero-lab::after {
  opacity: 0.28;
  mix-blend-mode: normal;
}

html.dark .hero-title,
html.dark .todaps-hero-lab p,
html.dark .hero-typebar,
html.dark .hero-signal-row,
html.dark .todaps-hero-lab .max-w-md {
  filter: none;
  text-shadow: none;
}

html.dark .hero-orbit {
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .hero-orbit span,
html.dark .hero-code-pane,
html.dark .hero-typebar,
html.dark .hero-signal-row span {
  color: #e2e8f0;
  background: transparent;
  border-color: transparent;
}

html.dark .hero-code-pane {
  background: rgba(15, 23, 42, 0.66);
}

.todaps-hero-lab .glass-badge {
  background: transparent !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.todaps-hero-lab .glass-badge span {
  text-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

html.dark .hero-code-pane code {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
}

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

@keyframes hero-node-counter {
  to { rotate: -360deg; }
}

@keyframes hero-node-counter-reverse {
  to { rotate: 360deg; }
}

@keyframes hero-node-breathe {
  0%, 100% { scale: 1; filter: saturate(1); }
  50% { scale: 1.08; filter: saturate(1.25); }
}

@keyframes hero-panel-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes hero-scan {
  0%, 100% { opacity: 0.18; transform: translateY(-72px) scaleX(0.65); }
  50% { opacity: 0.9; transform: translateY(72px) scaleX(1); }
}

@keyframes hero-shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

@keyframes hero-code-sweep {
  0%, 60% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}

@keyframes hero-lens-drift {
  0%, 100% { scale: 0.96; rotate: -8deg; }
  50% { scale: 1.04; rotate: 8deg; }
}

@media (max-width: 767px) {
  .md\:hidden.fixed.bottom-0 {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .md\:hidden.fixed.bottom-0 .grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tab-link-mobile {
    min-width: 0;
    overflow: hidden;
  }

  .tab-link-mobile span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #tab-inicio {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  #tab-inicio > section {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .todaps-hero-lab {
    min-height: 82vh;
    padding-top: 4rem;
    padding-bottom: 3.5rem;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
  }

  .todaps-hero-lab::after {
    display: none;
  }

  .todaps-hero-lab > .max-w-7xl {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    max-width: min(22rem, calc(100vw - 1.5rem));
    font-size: clamp(2.35rem, 11vw, 3.1rem) !important;
    line-height: 1.06;
  }

  .hero-title,
  .todaps-hero-lab p {
    margin-left: auto;
    margin-right: auto;
  }

  .todaps-hero-lab p {
    max-width: min(22rem, calc(100vw - 2rem));
    font-size: 1.05rem !important;
    line-height: 1.55;
  }

  .hero-typebar {
    min-height: 2.45rem;
    margin-bottom: 1rem;
    padding: 0.46rem 0;
  }

  .hero-signal-row {
    max-width: min(20.5rem, calc(100vw - 2rem));
    margin-bottom: 1.35rem;
    gap: 0.45rem;
  }

  .hero-signal-row span {
    min-height: 2.2rem;
    padding: 0.54rem 0.68rem;
  }

  .hero-signal-row b {
    font-size: 0.78rem;
  }

  .todaps-hero-lab .max-w-md {
    width: min(18rem, calc(100vw - 4rem));
    max-width: min(18rem, calc(100vw - 4rem));
  }

  .todaps-hero-lab .max-w-md a {
    box-sizing: border-box;
    max-width: 100%;
  }

  #servicios {
    margin-left: auto;
    margin-right: auto;
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    overflow: hidden;
  }

  #servicios .max-w-7xl {
    width: 100%;
    max-width: 100%;
  }

  #servicios h2 {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.85rem, 8vw, 2.2rem);
    line-height: 1.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kinetic-field,
  .todaps-hero-lab::after,
  .hero-orbit-a,
  .hero-orbit-b,
  .hero-orbit span,
  .hero-code-pane,
  .hero-code-pane code::after,
  .hero-scanline,
  .hero-eyebrow::after {
    animation: none !important;
    transition: none !important;
  }
}

/* === Limpieza hero 2026-06-08: quitar adornos encimados === */
/* Badges flotantes en las esquinas (Sistemas / Apps web / Diseño UI / Código):
   duplicaban los chips de abajo y se montaban sobre el título. */
.todaps-hero-lab .pointer-events-none.z-20 {
  display: none !important;
}
/* Anillos orbitales + panel de código (ui.render/connect/ship.fast) que
   cruzaban el centro y encimaban el título. Se conservan los glows suaves. */
.hero-kinetic-field {
  display: none !important;
}

/* ============================================================
   DW — Dev Web y Sistemas (rediseño editorial Swiss)
   Superficie neutra · regla 1px · Helvetica · acento #FF4F00
   ============================================================ */

#tab-diseno-web { font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; }

.dw-wrap { text-align: left; --dw-ink: #111418; --dw-mut: #5b6472; --dw-line: rgba(17, 20, 24, 0.16); --dw-acc: #0099D5; --dw-bg: #f7f7f8;
  color: var(--dw-ink); padding: 4.5rem 0 5rem; }
html.dark .dw-wrap { --dw-ink: #f4f5f7; --dw-mut: #9aa3b2; --dw-line: rgba(244, 245, 247, 0.18); --dw-bg: #0e1116; --dw-acc: #0099D5; }

/* --- reveals --- */
.dw-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); }
.dw-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dw-reveal { opacity: 1; transform: none; transition: none; } }

/* --- cabecera --- */

.dw-head { margin-bottom: 4rem; }
.dw-title { font-size: clamp(2.6rem, 7.5vw, 5.5rem); line-height: .98; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 0 2rem; text-wrap: balance; }
.dw-head-row { display: grid; grid-template-columns: minmax(0, 38rem) auto; justify-content: space-between;
  align-items: end; gap: 1.5rem 3rem; border-top: 1px solid var(--dw-line); padding-top: 1.5rem; }
.dw-lede { font-size: 1.05rem; line-height: 1.65; color: var(--dw-mut); max-width: 38rem; }

.dw-cta { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
  font-weight: 700; font-size: 1rem; color: var(--dw-ink); text-decoration: none;
  padding: .9rem 1.4rem; border: 1px solid var(--dw-ink); border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s; }
.dw-cta:hover { background: var(--dw-acc); border-color: var(--dw-acc); color: #fff; }
.dw-ico { width: 1.05rem; height: 1.05rem; }

/* --- servicios: índice --- */
.dw-services { list-style: none; margin: 0 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; }
.dw-service { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem;
  padding: 1.6rem 0; border-top: 1px solid var(--dw-line); }
.dw-service h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 .45rem; }
.dw-service p { font-size: .95rem; line-height: 1.6; color: var(--dw-mut); margin: 0; }
.dw-service:hover h3 { color: var(--dw-acc); }
.dw-service h3 { transition: color .25s; }

/* --- stack --- */
.dw-stack { border-top: 1px solid var(--dw-line); border-bottom: 1px solid var(--dw-line);
  margin: 0 0 5rem; padding: 1.1rem 0; font-size: .85rem; font-weight: 600;
  letter-spacing: .04em; color: var(--dw-mut); }

/* --- proyectos --- */
.dw-sec-head { margin-bottom: 2.2rem; }
.dw-sec-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.dw-projects { position: relative; margin-bottom: 5rem; }
.dw-plist { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.6rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 3rem); }
.dw-plist li { position: relative; min-width: 0; display: flex; flex-direction: column; }
.dw-prow { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) 1.2rem;
  grid-template-areas: "name ico" "type ."; align-items: baseline; gap: .35rem 1rem;
  padding: 1.05rem .1rem 0; text-decoration: none; color: var(--dw-ink); }
.dw-prow::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.dw-pname { grid-area: name; font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05; transition: color .25s ease; }
.dw-ptype { grid-area: type; font-size: .85rem; font-weight: 600; color: var(--dw-mut); }
.dw-prow .dw-ico { grid-area: ico; align-self: center; color: var(--dw-mut);
  transition: color .25s ease, transform .25s ease; }
.dw-prow:focus-visible { outline: 2px solid var(--dw-acc); outline-offset: 7px; border-radius: 6px; }
.dw-plist li:hover .dw-pname { color: var(--dw-acc); }
.dw-plist li:hover .dw-ico { color: var(--dw-acc); transform: translate(2px, -2px); }
.dw-pshot { order: 1; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 16px; background: #eceef2; }
html.dark .dw-pshot { background: #171b22; }
.dw-pshot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  transform: scale(1.001); transition: transform .4s cubic-bezier(.2,.65,.25,1), filter .4s ease; }
.dw-plist li:hover .dw-pshot img { transform: scale(1.018); filter: saturate(1.03); }

/* --- sistemas propios --- */
.dw-sys-lede { color: var(--dw-mut); font-size: 1rem; margin: 0 0 2rem; max-width: 34rem; }
.dw-syslist { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
.dw-syslist a { display: block; text-decoration: none; color: var(--dw-ink);
  border-top: 1px solid var(--dw-line); border-radius: 0; box-shadow: none; background: transparent;
  padding: 1.4rem 0 1.6rem; height: 100%; }
.dw-syslist h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .5rem;
  transition: color .25s; }
.dw-syslist a:hover h4 { color: var(--dw-acc); }
.dw-syslist a.dw-product-soon { cursor: default; opacity: .72; }
.dw-syslist a.dw-product-soon:hover h4 { color: var(--dw-ink); }
.dw-product-soon .dw-badge { color: var(--dw-mut); }
.dw-syslist p { font-size: .9rem; line-height: 1.6; color: var(--dw-mut); margin: 0 0 .8rem; }
.dw-systech { font-size: .78rem; font-weight: 700; letter-spacing: .03em; color: var(--dw-mut); }

/* --- cierre --- */
.dw-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  border-top: 1px solid var(--dw-line); margin-top: 4.5rem; padding-top: 2.2rem; flex-wrap: wrap; }
.dw-foot p { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; margin: 0; }

/* --- responsive --- */
@media (max-width: 1023px) {
  .dw-wrap { padding: 3.2rem 0 4rem; }
  .dw-head-row { grid-template-columns: 1fr; align-items: start; }
  .dw-services { grid-template-columns: 1fr; column-gap: 0; }
  .dw-syslist { grid-template-columns: 1fr; }
  .dw-plist { grid-template-columns: 1fr; gap: 2.4rem; }
  .dw-prow { padding-top: .9rem; }
  .dw-pshot { border-radius: 14px; }
}
@media (max-width: 640px) {
  .dw-service { padding: 1.25rem 0; }
  .dw-stack { margin-bottom: 3.5rem; font-size: .78rem; }
  .dw-projects { margin-bottom: 3.5rem; }
  .dw-plist { gap: 2rem; }
  .dw-pname { font-size: 1.45rem; }
  .dw-cta { width: 100%; justify-content: center; }
  .dw-foot { padding-top: 1.8rem; margin-top: 3rem; }
}

/* ============================================================
   DW v2 — acentos por sección + componentes secciones nuevas
   ============================================================ */

/* Acentos: web=naranja (base), diseño=azul Klein, foto=rojo, fix=verde, tech=violeta */
.dw-acc-cyan { --dw-acc: #0099D5; }
html.dark .dw-acc-cyan { --dw-acc: #0099D5; }
.dw-acc-purple { --dw-acc: #9333EA; }
html.dark .dw-acc-purple { --dw-acc: #C084FC; }
.dw-acc-orange { --dw-acc: #EA580C; }
html.dark .dw-acc-orange { --dw-acc: #FB923C; }
.dw-acc-green { --dw-acc: #16A34A; }
html.dark .dw-acc-green { --dw-acc: #4ADE80; }
.dw-acc-teal { --dw-acc: #0D9488; }
html.dark .dw-acc-teal { --dw-acc: #2DD4BF; }

/* Marca de acento en el hero de cada sección */
.dw-mark { display: block; width: 3.5rem; height: 4px; background: var(--dw-acc); margin-bottom: 1.4rem; }

/* CTA toma el acento de la sección */
.dw-cta { border-color: var(--dw-acc); color: var(--dw-acc); background: transparent; cursor: pointer; }
.dw-cta:hover { background: var(--dw-acc); border-color: var(--dw-acc); color: #fff; }
html.dark .dw-cta:hover { color: #fff; }
.dw-cta-sm { padding: .6rem 1rem; font-size: .9rem; }
.dw-cta-group { display: flex; gap: .8rem; flex-wrap: wrap; }
.dw-links { display: flex; gap: .8rem; flex-wrap: wrap; margin: 0 0 2.2rem; }

/* Hover de proyectos/servicios usa el acento de su sección (ya heredan --dw-acc) */

/* Imagen editorial */
.dw-img { margin: 0 0 4rem; overflow: hidden; }
.dw-img img { width: 100%; height: clamp(200px, 32vw, 380px); object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.dw-img:hover img { transform: scale(1.03); }

/* Galería editorial (diseño e impresión) */
.dw-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--dw-line); border: 1px solid var(--dw-line); margin-bottom: 4rem; }
.dw-gal a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--dw-bg); }
.dw-gal img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.65,.25,1); }
.dw-gal a:hover img { transform: scale(1.06); }

/* Columnas de listas (taller) */
.dw-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; margin-bottom: 1rem; }
.dw-col { border-top: 1px solid var(--dw-line); padding: 1.3rem 0 1.5rem; }
.dw-col h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .8rem; }
.dw-col ul { list-style: none; margin: 0; padding: 0; }
.dw-col li { font-size: .95rem; line-height: 1.5; color: var(--dw-mut); padding: .3rem 0; }

/* Ubicaciones */
.dw-locs { list-style: none; margin: 0 0 4rem; padding: 0; }
.dw-locs li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; padding: 1.5rem 0; border-top: 1px solid var(--dw-line); }
.dw-locs li:last-child { border-bottom: 1px solid var(--dw-line); }
.dw-locs h4 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .25rem; }
.dw-locs p { font-size: .95rem; color: var(--dw-mut); margin: 0; }
.dw-loc-links { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Panel (consulta de estado) */
.dw-panel { border-top: 1px solid var(--dw-line); padding-top: 2.2rem; max-width: 38rem; }
.dw-input { padding: .95rem 1.1rem; font-size: 1rem; font-weight: 600; color: var(--dw-ink);
  background: rgba(127, 138, 150, 0.10); border: 0; border-radius: 999px; outline: none;
  transition: box-shadow .2s; }
.dw-input:focus { box-shadow: 0 0 0 2px var(--dw-acc); }
.dw-input::placeholder { color: var(--dw-mut); font-weight: 500; }

/* Responsive secciones nuevas */
@media (max-width: 1023px) {
  .dw-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw-cols3 { grid-template-columns: 1fr; column-gap: 0; }
}
@media (max-width: 640px) {
  .dw-img { margin-bottom: 2.5rem; }
  .dw-gal { margin-bottom: 2.5rem; }
  .dw-cta-group { width: 100%; flex-direction: column; }
  .dw-cta-group .dw-cta { width: 100%; justify-content: center; }
  .dw-locs li { flex-direction: column; align-items: flex-start; }
  .dw-loc-links { width: 100%; }
  .dw-loc-links .dw-cta { flex: 1; justify-content: center; }
}

/* ============================================================
   DW Home — servicios índice, productos, store, bio
   ============================================================ */
.dw-prow-btn { width: 100%; padding-right: .35rem; background: none; border-left: 0; border-right: 0; border-bottom: 0;
  font: inherit; text-align: left; cursor: pointer; color: var(--dw-ink); }
.dw-plist .dw-ptype { max-width: 26rem; text-align: left; }

.dw-syslist-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dw-badge { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dw-acc); margin-bottom: .6rem; }

.dw-store { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem;
  flex-wrap: wrap; border-top: 1px solid var(--dw-line); margin-top: 4.5rem; padding-top: 2.4rem; }
.dw-store > div { max-width: 44rem; }
.dw-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem;
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--dw-acc);
  margin-bottom: 1rem; }
.dw-store h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em;
  margin: 0 0 .8rem; color: var(--dw-ink); }
.dw-store-desc { font-size: 1rem; line-height: 1.65; color: var(--dw-mut); margin: 0 0 1.4rem; }
.dw-store .dw-stack { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.dw-bio { border-top: 1px solid var(--dw-line); margin-top: 4.5rem; padding-top: 2.4rem; max-width: 46rem; }
.dw-bio-name { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; color: var(--dw-acc); margin: 0 0 1.2rem; }
.dw-bio-text p { font-size: 1.02rem; line-height: 1.7; color: var(--dw-mut); margin: 0 0 1rem; }
.dw-bio-text strong { color: var(--dw-ink); }

@media (max-width: 1023px) {
  .dw-syslist-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .dw-plist .dw-ptype { max-width: none; text-align: left; }
}
@media (max-width: 640px) {
  .dw-syslist-4 { grid-template-columns: 1fr; }
  .dw-store { margin-top: 3rem; }
  .dw-store .dw-cta { width: 100%; justify-content: center; }
  .dw-bio { margin-top: 3rem; }
}


/* Hero sin cuadrícula decorativa (2026-06-10) */
.todaps-hero-lab.bg-grid-pattern,
html.dark .todaps-hero-lab.bg-grid-pattern {
  background-image: none !important;
}

/* Home responsive 2026-06-27 */
#tab-inicio {
  width: 100%;
  max-width: 100%;
}

#tab-inicio > .dw-wrap {
  width: min(100%, 80rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem) !important;
}

#tab-inicio > section:first-child {
  min-height: calc(100svh - 2rem);
  padding-block: clamp(4.5rem, 10vh, 7rem) clamp(3rem, 7vh, 5rem);
}

.todaps-hero-lab > .max-w-7xl {
  width: min(100%, 80rem);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.todaps-hero-lab .hero-title {
  max-width: 64rem;
  font-size: clamp(3rem, 7vw, 5.75rem) !important;
  line-height: 0.98;
  text-wrap: balance;
}

.todaps-hero-lab p,
.dw-store-desc,
.dw-bio-text p,
.dw-ptype {
  overflow-wrap: anywhere;
}

#desktop-nav-wrapper:focus-within > div:last-child {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

#mobile-nav-wrapper {
  padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
}

#mobile-nav-wrapper > div {
  border-top: 0 !important;
  box-shadow: 0 -10px 34px rgba(15, 23, 42, 0.08);
}

#mobile-nav-wrapper .tab-link-mobile {
  min-height: 3.5rem;
  touch-action: manipulation;
}

#lang-toggle,
#theme-toggle {
  top: max(1rem, env(safe-area-inset-top));
  touch-action: manipulation;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #tab-inicio > section:first-child {
    min-height: calc(100svh - 2rem);
    padding-block: clamp(6rem, 12vh, 8rem) clamp(4rem, 9vh, 6rem);
  }

  .todaps-hero-lab .hero-title {
    max-width: 46rem;
    font-size: clamp(3.35rem, 8vw, 4.75rem) !important;
  }

  .todaps-hero-lab p {
    max-width: 40rem;
  }

  #mobile-nav-wrapper > div {
    width: min(100%, 48rem);
    margin-inline: auto;
  }

  #tab-inicio .dw-syslist-4 {
    column-gap: clamp(2rem, 6vw, 4rem);
  }
}

@media (max-width: 767px) {
  main {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  #tab-inicio > section:first-child {
    min-height: calc(100svh - 1rem);
    padding-block: clamp(4.5rem, 11vh, 6rem) clamp(3rem, 8vh, 4.5rem);
  }

  .todaps-hero-lab {
    min-height: 0;
  }

  .todaps-hero-lab > .max-w-7xl {
    padding-inline: clamp(1rem, 5vw, 1.5rem);
  }

  .todaps-hero-lab .hero-title {
    max-width: 24rem;
    font-size: clamp(2.4rem, 11.5vw, 3.25rem) !important;
    line-height: 1.02;
  }

  .todaps-hero-lab .max-w-md {
    width: min(100%, 22rem);
    max-width: 22rem;
  }

  .todaps-hero-lab .max-w-md a {
    min-height: 3.25rem;
    padding: 0.8rem 1.25rem;
    font-size: 1rem;
  }

  .hero-signal-row {
    max-width: 22rem;
  }

  #servicios {
    width: 100%;
    max-width: 100%;
  }

  #productos {
    margin-top: 3.5rem !important;
  }

  .dw-prow {
    min-width: 0;
    gap: 0.65rem;
  }

  .dw-pname,
  .dw-ptype {
    min-width: 0;
  }

  .dw-store {
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 359px) {
  #mobile-nav-wrapper .grid {
    gap: 0;
    padding-inline: 0.25rem;
  }

  #mobile-nav-wrapper .tab-link-mobile {
    font-size: 0.65rem;
  }

  #mobile-nav-wrapper .tab-link-mobile svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .hero-signal-row {
    gap: 0.2rem;
  }

  .hero-signal-row span {
    padding-inline: 0.4rem;
  }
}

@media (max-height: 620px) and (min-width: 640px) {
  #tab-inicio > section:first-child {
    min-height: auto;
    padding-block: 5.5rem 3rem;
  }

  .todaps-hero-lab .hero-title {
    font-size: clamp(2.75rem, 7vw, 4rem) !important;
  }

  .hero-signal-row {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1536px) {
  #tab-inicio > section:first-child {
    min-height: min(54rem, calc(100svh - 2rem));
  }

  .todaps-hero-lab .hero-title {
    font-size: clamp(5rem, 5.4vw, 6.25rem) !important;
  }
}

@media (pointer: coarse) {
  #desktop-nav-wrapper {
    display: none !important;
  }

  #mobile-nav-wrapper {
    display: block !important;
  }

  #mobile-nav-wrapper > div {
    width: min(100%, 48rem);
    margin-inline: auto;
  }

  main {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom)) !important;
  }

  body > footer {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
  }
}

/* Tienda digital 2026-07-31: sistema Minimal, aislado al catálogo */
.store-page {
  background: #F4F4F1;
  color: #0C0C09;
  font-family: "Open Sans", sans-serif;
}

.store-topbar {
  padding-block: 0.75rem;
  background: rgba(244, 244, 241, 0.94);
  border: 0;
  box-shadow: none;
}

.store-brand,
.store-hero h1,
.store-product-card strong,
.store-detail-copy h2,
.store-detail-copy > strong {
  color: #0C0C09;
  font-family: "Inter", sans-serif;
}

.store-brand span {
  font-weight: 800;
}

.store-brand small,
.store-kicker,
.store-product-card small,
.store-detail-copy > span {
  font-family: "Inconsolata", monospace;
}

.store-shell {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.store-hero h1 {
  max-width: 46rem;
  margin-top: 1rem;
  font-size: clamp(2.25rem, 7vw, 3rem);
  line-height: 1;
  font-weight: 800;
}

.store-hero p,
.store-detail-copy p {
  color: #0C0C09;
  font-weight: 400;
}

.store-pay-link,
.store-kicker,
.store-steps b,
.store-buy-main {
  border-radius: 8px;
  background: #0C0C09;
  color: #F4F4F1;
  box-shadow: none;
}

.store-pay-link:hover,
.store-buy-main:hover {
  transform: none;
  background: #312C85;
  box-shadow: none;
}

.store-hero-actions span,
.store-steps article,
.store-product-card,
.store-detail {
  border: 0;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: none;
  backdrop-filter: none;
}

.store-hero-actions span,
.store-steps span,
.store-product-card b,
.store-product-card em,
.store-detail-copy ul {
  color: #0C0C09;
}

.store-product-card {
  grid-template-columns: 72px 1fr;
  padding: 8px;
}

.store-product-card:hover {
  transform: none;
  border: 0;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(12, 12, 9, 0.08);
}

.store-product-card.is-active,
.store-product-card.is-active:hover {
  border: 0;
  background: #FFFFFF;
  box-shadow: inset 4px 0 0 #312C85;
}

.store-product-card img {
  height: 104px;
  border-radius: 4px;
  background: #F4F4F1;
  object-fit: contain;
}

.store-product-card small,
.store-detail-copy > span {
  color: #312C85;
}

.store-product-card em {
  opacity: 0.65;
}

.store-detail {
  padding: 16px;
  box-shadow: 0 16px 48px rgba(12, 12, 9, 0.08);
}

.store-detail-media img {
  border-radius: 4px;
  background: #F4F4F1;
  box-shadow: none;
}

.store-detail-copy > span {
  border-radius: 4px;
  background: #F4F4F1;
}

.store-detail-copy li::before {
  border-radius: 4px;
  background: #312C85;
}

.store-whatsapp-main {
  border-radius: 8px;
  background: #16A34A;
  box-shadow: none;
}

.store-whatsapp-main:hover {
  transform: none;
  box-shadow: none;
}

html.dark .store-page {
  background: #F4F4F1;
  color: #0C0C09;
}

html.dark .store-topbar {
  background: rgba(244, 244, 241, 0.94);
}

html.dark .store-brand,
html.dark .store-hero h1,
html.dark .store-product-card strong,
html.dark .store-detail-copy h2,
html.dark .store-detail-copy strong,
html.dark .store-hero p,
html.dark .store-detail-copy p,
html.dark .store-detail-copy ul,
html.dark .store-product-card b,
html.dark .store-list-heading span,
html.dark .store-product-card em,
html.dark .store-hero-actions span,
html.dark .store-steps span {
  color: #0C0C09;
}

html.dark .store-pay-link,
html.dark .store-kicker,
html.dark .store-buy-main,
html.dark .store-steps b {
  background: #0C0C09;
  color: #F4F4F1;
}

html.dark .store-steps article,
html.dark .store-hero-actions span,
html.dark .store-product-card,
html.dark .store-detail,
html.dark .store-product-card:hover,
html.dark .store-product-card.is-active {
  border: 0;
  background: #FFFFFF;
}

@media (max-width: 640px) {
  .store-products {
    align-items: start;
  }

  .store-product-card {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .store-product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
  }

  .store-detail-media img {
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
  }
}
