:root {
  --tw-bg: #f4f5f8;
  --tw-surface: #ffffff;
  --tw-surface-soft: #f9fafc;
  --tw-ink: #0b1021;
  --tw-muted: #555f73;
  --tw-line: #e2e6ef;
  --tw-blue: #1652f0;
  --tw-cyan: #0099ff;
  --tw-gold: #c8962e;
  --tw-ruby: #b91c3c;
  --tw-emerald: #0f5132;
  --tw-dark: #070c19;
  --tw-radius: 22px;
  --tw-radius-sm: 14px;
  --tw-shadow: 0 18px 42px -18px rgba(11, 16, 33, 0.18);
  --tw-shadow-lg: 0 28px 60px -22px rgba(11, 16, 33, 0.26);
  --tw-font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--tw-font);
  background: var(--tw-bg);
  color: var(--tw-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

.wrap {
  width: min(1220px, 92%);
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--tw-blue);
  outline-offset: 3px;
}

/* Barra superior */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  background: rgba(11, 16, 33, 0.05);
}

.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--tw-blue), var(--tw-gold), var(--tw-ruby));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Header refinado */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--tw-line), 0 10px 30px -20px rgba(11, 16, 33, 0.25);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(64px, 7.5vw, 76px);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-t {
  font-weight: 800;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  letter-spacing: -0.025em;
}

.brand-t b {
  font-weight: 600;
  color: var(--tw-blue);
  margin-left: 0.22em;
}

.nav ul {
  display: flex;
  gap: 0.35rem;
}

.nav a {
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--tw-muted);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover {
  color: var(--tw-ink);
  background: rgba(11, 16, 33, 0.05);
}

.nav a.is-active {
  color: var(--tw-ink);
  background: #fff;
  box-shadow: 0 6px 18px -8px rgba(11, 16, 33, 0.22);
  border: 1px solid var(--tw-line);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tw-line);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--tw-shadow);
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--tw-ink);
  transition: transform 0.3s ease;
}

.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: clamp(0.92rem, 1.05vw, 0.98rem);
  min-height: 46px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn .ico {
  width: 18px;
  height: 18px;
  color: inherit;
  transition: transform 0.24s ease;
}

.btn:hover .ico {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--tw-blue), var(--tw-cyan));
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(22, 82, 240, 0.52);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--tw-line);
  color: var(--tw-ink);
}

.btn-ghost:hover {
  border-color: #c6d0e3;
  box-shadow: var(--tw-shadow);
}

.btn-dark {
  background: var(--tw-dark);
  color: #fff;
}

.btn-dark:hover {
  background: var(--tw-blue);
}

.btn-light {
  background: #fff;
  color: var(--tw-dark);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.35);
}

.btn-ghost-d {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-d:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.14);
}

.btn-sm {
  padding: 0.68rem 1.05rem;
  min-height: 40px;
  font-size: 0.86rem;
}

/* Hero editorial */
.tw-hero {
  position: relative;
  padding: clamp(114px, 13vw, 152px) 0 clamp(68px, 8vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% 5%, rgba(22, 82, 240, 0.12), transparent 60%),
    radial-gradient(850px 440px at 12% 18%, rgba(200, 150, 46, 0.12), transparent 62%),
    var(--tw-bg);
}

.tw-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 16, 33, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 16, 33, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tw-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--tw-blue);
  margin-bottom: 0.5rem;
}

.tw-kicker-row .eyebrow {
  margin-bottom: 0;
}

.eyebrow.light {
  color: #f3d286;
}

.tw-tc-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--tw-ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(200, 150, 46, 0.45);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  font-weight: 700;
}

.grad {
  background: linear-gradient(90deg, var(--tw-blue), var(--tw-cyan), var(--tw-gold), var(--tw-blue));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: twFlow 8s linear infinite;
}

.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  color: var(--tw-muted);
  max-width: 56ch;
  margin-top: 1.1rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.tw-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--tw-line);
}

.tw-hero-metrics dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tw-muted);
  font-weight: 600;
}

.tw-hero-metrics dd {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--tw-ink);
  margin-top: 0.15rem;
}

/* Showcase del Hero */
.tw-showcase {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 251, 0.85));
  border: 1px solid rgba(200, 150, 46, 0.35);
  border-radius: calc(var(--tw-radius) + 4px);
  padding: 0.9rem;
  box-shadow: var(--tw-shadow-lg);
}

.tw-showcase > img {
  width: 100%;
  border-radius: var(--tw-radius);
  background: #fff;
}

.tw-showcase-badge {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  z-index: 2;
  background: rgba(11, 16, 33, 0.84);
  color: #f6dca0;
  border: 1px solid rgba(200, 150, 46, 0.45);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.tw-showcase-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.6rem 0.3rem;
}

.tw-showcase-caption strong {
  font-size: 0.95rem;
  color: var(--tw-ink);
}

.tw-showcase-caption span {
  font-size: 0.84rem;
  color: var(--tw-muted);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.g1 {
  width: 390px;
  height: 390px;
  background: rgba(22, 82, 240, 0.25);
  top: -90px;
  right: 8%;
}

.g2 {
  width: 320px;
  height: 320px;
  background: rgba(200, 150, 46, 0.28);
  bottom: -70px;
  left: 4%;
}

.scroll-ind {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(85, 95, 115, 0.55);
  border-radius: 14px;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-ind i {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--tw-blue);
  transform: translateX(-50%);
  animation: twDot 1.8s ease-in-out infinite;
}

/* Secciones y grillas */
.sec {
  padding: clamp(56px, 7.5vw, 98px) 0;
  position: relative;
}

.sec.alt {
  background: var(--tw-surface);
  border-block: 1px solid var(--tw-line);
}

.sec-h {
  margin-bottom: 2rem;
}

.tw-sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.tw-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--tw-blue);
}

.tw-link-inline .ico {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.band {
  background: var(--tw-surface);
  border-block: 1px solid var(--tw-line);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
}

.benefits,
.grid4 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  grid-template-columns: repeat(4, 1fr);
}

.grid3 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem;
  background: var(--tw-surface-soft);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--tw-shadow);
  border-color: #cbd5e8;
}

.benefit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.benefit .ico {
  width: 26px;
  height: 26px;
  color: var(--tw-blue);
}

.benefit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tw-gold), var(--tw-ruby));
}

.benefit p {
  color: var(--tw-muted);
  font-size: 0.92rem;
}

/* Tarjetas */
.card {
  position: relative;
  background: var(--tw-surface);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  padding: 1.2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tw-shadow-lg);
  border-color: #c2d0ea;
}

.card p {
  color: var(--tw-muted);
  font-size: 0.92rem;
}

.imgbox {
  overflow: hidden;
  border-radius: var(--tw-radius-sm);
  background: linear-gradient(160deg, #eef2f9, #fafbfd);
  aspect-ratio: 4 / 3;
  position: relative;
}

.imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card:hover .imgbox img {
  transform: scale(1.05);
}

.more {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--tw-blue);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.more .ico {
  width: 16px;
  height: 16px;
  color: currentColor;
}

/* Tarjetas de producto del catálogo */
.tw-prod-card {
  justify-content: space-between;
}

.tw-prod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.tw-brand-chip {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tw-blue);
  background: rgba(22, 82, 240, 0.08);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.tw-offer-chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--tw-ruby), var(--tw-gold));
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
}

.tw-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: linear-gradient(145deg, #0d1428, #1a284d);
  color: #fff;
}

.tw-img-fallback span {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1rem;
}

.tw-img-fallback small {
  color: #b7c4e0;
  font-size: 0.75rem;
}

.tw-sku {
  font-size: 0.78rem;
  color: var(--tw-muted);
  font-weight: 500;
}

.tw-desc-clamp {
  font-size: 0.88rem;
  color: var(--tw-muted);
  line-height: 1.45;
}

.tw-price-box {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--tw-line);
}

.tw-price-old {
  font-size: 0.84rem;
  color: #8b95a9;
  text-decoration: line-through;
  display: block;
}

.price {
  font-size: clamp(1.25rem, 1.75vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--tw-ink);
  line-height: 1.2;
}

.tw-igv {
  font-size: 0.76rem;
  color: var(--tw-muted);
  font-weight: 500;
}

.tw-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.note {
  color: var(--tw-muted);
  font-size: 0.84rem;
  margin-top: 1.35rem;
}

/* Banner de campaña/cotización */
.tw-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 28px;
  color: #fff;
  border: 1px solid rgba(200, 150, 46, 0.38);
  background: linear-gradient(125deg, var(--tw-dark) 0%, #142854 52%, #2c1320 100%);
  box-shadow: var(--tw-shadow-lg);
}

.tw-promo p {
  color: #cdd6eb;
  max-width: 52ch;
}

.tw-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Split y contacto */
.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split p {
  color: var(--tw-muted);
  margin-bottom: 1.1rem;
}

.tw-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--tw-surface);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  align-items: flex-start;
  box-shadow: var(--tw-shadow);
}

.tw-contact-card a:not(.btn),
.tw-contact-card span {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--tw-dark);
  color: #d4dbec;
  padding: clamp(46px, 6vw, 68px) 0 26px;
  border-top: 1px solid rgba(200, 150, 46, 0.28);
}

.fgrid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.site-footer a {
  text-decoration: none;
  color: #aab6d3;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #f3d286;
}

.site-footer li {
  margin: 0.35rem 0;
}

.brand-t.big {
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  color: #fff;
}

.muted {
  color: #8f9bb8;
  max-width: 38ch;
  margin-top: 0.5rem;
  margin-bottom: 0.9rem;
}

.copy {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #1a2540;
  font-size: 0.85rem;
  color: #8f9bb8;
}

@keyframes twFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes twDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 14px); opacity: 0.2; }
}

/* Responsive Pro */
@media (max-width: 1024px) {
  .benefits,
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .burger {
    display: block;
    z-index: 105;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(244, 245, 248, 0.98);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 102;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  .nav a {
    font-size: 1.4rem;
    padding: 0.7rem 1.4rem;
  }
}

@media (max-width: 560px) {
  .benefits,
  .grid4,
  .grid3,
  .fgrid,
  .tw-hero-metrics {
    grid-template-columns: 1fr;
  }
  .scroll-ind {
    display: none;
  }
  .btn,
  .tw-card-actions .btn,
  .tw-promo-actions .btn {
    width: 100%;
  }
  .cta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}






.tw-hero-search {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--tw-line);
  border-radius: 999px;
  box-shadow: var(--tw-shadow);
  max-width: 560px;
}

.tw-hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--tw-ink);
  outline: none;
}

.tw-hero-search .btn {
  padding-inline: 1.35rem;
  min-height: 44px;
}

.center.cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 560px) {
  .tw-hero-search {
    flex-direction: column;
    border-radius: 20px;
    padding: 0.6rem;
  }
  .tw-hero-search .btn {
    width: 100%;
  }
}








