/* =============================================================
   WIRED CONNECTION — styles.css
   Glassmorphism · azul rey + blanco
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  /* Azul rey */
  --blue:        #1e50e0;
  --blue-600:    #1741c4;
  --blue-700:    #123bbf;
  --blue-900:    #0d2a8f;
  --blue-ink:    #0a1f66;

  /* Superficies claras */
  --bg:          #eef2fb;
  --bg-2:        #e4eaf7;
  --paper:       #ffffff;
  --ink:         #0f1b3d;
  --ink-soft:    #33406a;
  --ink-mute:    #6b769b;
  --line:        rgba(15, 27, 61, 0.10);

  /* Cristal (sobre claro) */
  --glass:       rgba(255, 255, 255, 0.55);
  --glass-brd:   rgba(255, 255, 255, 0.75);

  /* Cristal sobre azul */
  --glass-d:     rgba(255, 255, 255, 0.12);
  --glass-d-brd: rgba(255, 255, 255, 0.28);

  --accent:      #4d7bff;
  --shadow:      0 24px 60px -24px rgba(13, 42, 143, 0.35);
  --shadow-soft: 0 10px 30px -12px rgba(13, 42, 143, 0.22);

  --radius:      22px;
  --radius-sm:   14px;
  --gutter:      clamp(1.15rem, 4vw, 2.5rem);
  --maxw:        1200px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: #fff; color: var(--blue-ink);
  border-radius: 8px; font-weight: 600; box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 1rem; }

/* Rótulo de sección: pastilla azul sólida (mismo estilo que "COBERTURA NACIONAL" del mapa) */
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .66rem 1.35rem; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: .92rem; font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 10px 22px -12px rgba(30, 80, 224, .75);
  margin-bottom: 1.15rem; align-self: flex-start; width: fit-content;
}
.on-blue .eyebrow, .b2b-left .eyebrow { background: #fff; color: var(--blue-700); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }

.section { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
/* Títulos: extra negrita, letras juntas y la parte clave en azul (como "todo el país") */
.section-head h2, .b2b-inner h2 {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink);
}
.section-head h2 { font-size: clamp(2.3rem, 3.4vw, 2.85rem); line-height: 1.02; letter-spacing: -0.042em; }
.section-head h2 em, .b2b-inner h2 em { font-style: normal; color: var(--blue); }
@media (min-width: 640px) { .section-head h2 em, .b2b-inner h2 em { white-space: nowrap; } }
.b2b-inner h2 { color: #fff; }
.b2b-inner h2 em { color: #bcd0ff; }
.on-blue .section-head h2 { color: #fff; }
.on-blue .section-head h2 em { color: #bcd0ff; }
.section-head p:not(.eyebrow) { margin-top: 1.1rem; color: #56628c; font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 500; line-height: 1.5; max-width: 44ch; }
.on-blue .section-head p:not(.eyebrow) { color: rgba(255,255,255,.85); }

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -12px rgba(30,80,224,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(30,80,224,.85); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid rgba(30,80,224,.35); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); background: rgba(30,80,224,.06); }

.on-blue .btn-primary { background: #fff; color: var(--blue-700); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.on-blue .btn-primary:hover { background: #fff; box-shadow: 0 22px 44px -16px rgba(0,0,0,.6); }
.on-blue .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.on-blue .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* -------------------------------------------------------------
   5. Glass cards
   ------------------------------------------------------------- */
.glass {
  background: rgba(255,255,255,0.78);            /* solid fallback */
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
  }
}
.glass-d {
  background: rgba(255,255,255,0.14);
  border: 1px solid var(--glass-d-brd);
  border-radius: var(--radius);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass-d {
    background: var(--glass-d);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }
}

/* -------------------------------------------------------------
   6. Navigation
   ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(18,59,191,.96), rgba(18,59,191,.82));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0,0,0,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: none; align-items: center; gap: 1.7rem; }
.nav-links a {
  position: relative; color: rgba(255,255,255,.9); font-size: .93rem; font-weight: 500;
  padding: .3rem 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: #fff; border-radius: 2px; transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-cta {
  display: none;
  padding: .6rem 1.15rem; border-radius: 999px; background: #fff; color: var(--blue-700);
  font-weight: 600; font-size: .9rem; transition: transform .3s var(--ease-out), box-shadow .3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }
.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 10px;
}
.nav-burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.nav-mobile {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
  background: var(--blue-700);
}
.nav.is-open .nav-mobile { grid-template-rows: 1fr; }
.nav-mobile-inner { overflow: hidden; }
.nav-mobile a {
  display: block; padding: .95rem var(--gutter); color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.1); font-weight: 500;
}
.nav-mobile a:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none; }
}

/* -------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 15% 10%, #3966f0 0%, transparent 55%),
    radial-gradient(120% 120% at 90% 20%, #1b4fe0 0%, transparent 60%),
    linear-gradient(160deg, var(--blue-600) 0%, var(--blue-900) 60%, var(--blue-ink) 100%);
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(35% 35% at 20% 30%, rgba(120,160,255,.55), transparent 70%),
    radial-gradient(30% 30% at 80% 25%, rgba(90,220,255,.35), transparent 70%),
    radial-gradient(40% 40% at 65% 85%, rgba(60,90,220,.5), transparent 70%);
  filter: blur(50px) saturate(140%);
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(2%, -2%, 0) scale(1.12); }
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 8vw, 5rem);
}
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; max-width: 13ch; }
.hero-title em { display: block; font-style: normal; color: #9ec0ff; }
.hero-sub { margin-top: 1.2rem; max-width: 36ch; font-size: clamp(1.02rem, 2.4vw, 1.2rem); line-height: 1.5; color: rgba(255,255,255,.88); }
.hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .9rem; }
/* botones del inicio: grandes, en mayúsculas */
.hero-btn { min-height: 56px; padding: .95rem 1.9rem; font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero-btn svg { width: 20px; height: 20px; }
.hero .btn-ghost.hero-btn { border-width: 1.5px; border-color: rgba(255,255,255,.65); }
.hero-ship {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.3rem;
  padding: .6rem 1.15rem; border-radius: 999px; color: #fff; font-weight: 600; font-size: .92rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-ship svg { width: 18px; height: 18px; color: #bcd0ff; flex-shrink: 0; }
/* indicadores con ícono, separados por líneas finas */
.hero-trust { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; }
.hero-trust div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: .2rem .7rem; }
.hero-trust div + div { border-left: 1px solid rgba(255,255,255,.28); }
.hero-trust svg { width: 30px; height: 30px; color: #bcd0ff; margin-bottom: .35rem; }
.hero-trust b { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-trust span { font-size: .8rem; line-height: 1.3; color: rgba(255,255,255,.75); }

/* cintas giratorias bajo el inicio: azul (despachos) delante, gris (Calidad Garantizada) detrás, en sentidos contrarios */
.ribbons { position: relative; display: block; height: 140px; margin-top: clamp(1.7rem, 3vw, 2.6rem); overflow: hidden; }
.rb { position: absolute; left: -6%; width: 112%; overflow: hidden; display: flex; align-items: center; }
.rb-front { top: 12%; height: 54px; transform: rotate(-1.4deg); z-index: 2; color: #fff;
  background: linear-gradient(90deg, var(--blue-700), var(--blue) 50%, var(--blue-700));
  box-shadow: 0 18px 40px -18px rgba(13, 42, 143, .55); }
.rb-back { top: 54%; height: 48px; transform: rotate(1.1deg); z-index: 1; color: #7d879b;
  background: linear-gradient(90deg, #c3cad8, #d2d8e3 50%, #c3cad8); }
.rb-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.rb-rev { animation-direction: reverse; animation-duration: 46s; }
.rb-group { display: flex; flex-shrink: 0; align-items: center; }
.rb span { display: inline-flex; align-items: center; white-space: nowrap; font-family: "Inter", var(--font); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.rb-big { gap: .6rem; padding: 0 1.3rem; font-size: 1.3rem; }
.rb-big svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.rb-sm { padding: 0 1.3rem; font-size: .78rem; letter-spacing: .04em; opacity: .8; }
.rb-logo { padding: 0 1.3rem; }
.rb-logo img { display: block; height: 30px; width: auto; }
.rb-back .rb-logo img { height: 27px; filter: drop-shadow(0 2px 5px rgba(70, 80, 105, .22)); }
.rb-back .rb-big { color: #fff; font-size: 1.15rem; text-shadow: 0 2px 6px rgba(70, 80, 105, .18); }
.rb-back .rb-sm { color: #717b90; opacity: 1; }
.ribbons:hover .rb-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rb-track { animation: none; } }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-plate {
  position: relative; width: min(66%, 300px); aspect-ratio: 3/4;
  display: grid; place-items: center;
}
.hero-plate::before {
  content: ""; position: absolute; inset: 8% 12%;
  background: radial-gradient(60% 55% at 50% 45%, rgba(140,180,255,.55), transparent 72%);
  filter: blur(40px);
}
.hero-product {
  position: relative; z-index: 2; width: 100%; height: auto;
  filter: drop-shadow(0 40px 55px rgba(0,0,0,.45));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-badge {
  position: absolute; z-index: 3; padding: .7rem 1rem; border-radius: 16px;
  font-size: .8rem; font-weight: 600; color: #fff;
}
.hero-badge small { display: block; font-weight: 500; color: rgba(255,255,255,.72); font-size: .72rem; }
.hero-badge-1 { top: 2%; right: -46%; }
.hero-badge-2 { bottom: 8%; left: -48%; }
.hero-badge { display: none; }                                  /* flotantes solo en desktop amplio */
@media (min-width: 1280px) { .hero-badge { display: block; } }  /* ahí caben fuera del producto */

.hero-wave { position: relative; z-index: 2; display: block; width: 100%; margin-bottom: -1px; color: var(--bg); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .hero-product { animation: none; }
}

/* -------------------------------------------------------------
   8. Category cards
   ------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(180deg, #ffffff 55%, #e9effd 100%);
  border: 1.5px solid rgba(30,80,224,.22);
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.cat-card::before {   /* barra azul de marca arriba — SIEMPRE visible */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 4;
  background: linear-gradient(90deg, var(--blue), #4d7bff);
  transform: scaleX(1); transform-origin: left; transition: transform .45s var(--ease-out);
}
.cat-card:hover, .cat-card:focus-visible {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(30,80,224,.6);
  border-color: var(--blue); outline: none;
}
.cat-media {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: #fff;
  display: grid; place-items: center; padding: .5rem;
  border-bottom: 3px solid rgba(30,80,224,.35);
}
.cat-media img { position: absolute; inset: .5rem; width: calc(100% - 1rem); height: calc(100% - 1rem); object-fit: contain; transition: transform .55s var(--ease-out); }
.cat-card:hover .cat-media img { transform: scale(1.09); }
.cat-media::after {   /* barrido de luz en hover */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.6) 48%, transparent 64%);
  transform: translateX(-130%); transition: transform .8s var(--ease-out);
}
.cat-card:hover .cat-media::after { transform: translateX(130%); }
.cat-body { padding: 1.2rem 1.3rem 1.5rem; }
.cat-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, var(--blue), var(--blue-700));
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: .7rem;
  box-shadow: 0 6px 14px -6px rgba(30,80,224,.6);
}
.cat-body h3 { font-size: 1.2rem; }
.cat-body p { margin-top: .5rem; color: var(--ink-mute); font-size: .93rem; }
.cat-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 600; font-size: .9rem; }
.cat-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* -------------------------------------------------------------
   9. Featured products
   ------------------------------------------------------------- */
.prod-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 720px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
.prod-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  border-radius: var(--radius); background: linear-gradient(180deg, #ffffff 55%, #e9effd 100%);
  border: 1.5px solid rgba(30,80,224,.22);
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.prod-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 4;
  background: linear-gradient(90deg, var(--blue), #4d7bff);
}
.prod-card:hover, .prod-card:focus-visible {
  transform: translateY(-10px); box-shadow: 0 30px 60px -20px rgba(30,80,224,.6);
  border-color: var(--blue); outline: none;
}
.prod-media { position: relative; overflow: hidden; aspect-ratio: 1/1; background: #fff; display: grid; place-items: center; padding: .8rem; border-bottom: 3px solid rgba(30,80,224,.35); }
.prod-media img { position: absolute; inset: .8rem; width: calc(100% - 1.6rem); height: calc(100% - 1.6rem); object-fit: contain; transition: transform .55s var(--ease-out); }
.prod-card:hover .prod-media img { transform: scale(1.08); }
.prod-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.6) 48%, transparent 64%);
  transform: translateX(-130%); transition: transform .8s var(--ease-out);
}
.prod-card:hover .prod-media::after { transform: translateX(130%); }
.prod-body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
/* etiqueta de la serie como botón azul (mismo estilo que las de "Nuevos Productos"; aprobado 2026-10-08) */
.prod-line { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, var(--blue), var(--blue-700)); padding: .42rem .85rem; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(30,80,224,.7); }
.prod-body h3 { font-size: 1.15rem; margin-top: .75rem; }
.prod-body p { margin-top: .6rem; color: var(--ink-mute); font-size: .92rem; }
.prod-specs { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.prod-specs li { font-size: .76rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-2); padding: .3rem .6rem; border-radius: 999px; }

/* -------------------------------------------------------------
   10. Values / Why us
   ------------------------------------------------------------- */
.why { background: linear-gradient(180deg, var(--bg), #e9eef9); }
/* Sección "Por qué Wired": textura de puntos para diferenciarla del bloque de arriba */
#nosotros {
  background:
    radial-gradient(circle at 1px 1px, rgba(30,80,224,.11) 1px, transparent 1.7px) 0 0 / 24px 24px,
    linear-gradient(180deg, #e9effb, #dde6f7);
  border-top: 1px solid rgba(30,80,224,.12);
  border-bottom: 1px solid rgba(30,80,224,.12);
}
.val-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .val-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .val-grid { grid-template-columns: repeat(4, 1fr); } }
.val-card {
  position: relative; overflow: hidden;
  padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.val-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
/* línea azul que se mueve de lado a lado en el borde inferior */
.val-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--blue), #6f97ff, var(--blue), transparent);
  background-size: 55% 100%; background-repeat: no-repeat;
  animation: valLine 3.2s linear infinite;
}
.val-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(150deg, var(--blue), var(--blue-900)); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(30,80,224,.7);
  animation: valIco 3.6s ease-in-out infinite;
}
.val-ico svg { width: 24px; height: 24px; }
.val-card h3 { font-size: 1.08rem; }
.val-card p { margin-top: .55rem; color: var(--ink-mute); font-size: .92rem; }
/* escalonado para que no se muevan todos igual */
.val-card:nth-child(2) .val-ico { animation-delay: .5s; }
.val-card:nth-child(3) .val-ico { animation-delay: 1s; }
.val-card:nth-child(4) .val-ico { animation-delay: 1.5s; }
.val-card:nth-child(2)::after { animation-delay: .5s; }
.val-card:nth-child(3)::after { animation-delay: 1s; }
.val-card:nth-child(4)::after { animation-delay: 1.5s; }
@keyframes valLine { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
@keyframes valIco { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) {
  .val-card::after, .val-ico { animation: none; }
}
/* Iconos de contacto: sin movimiento; WhatsApp en verde */
.contact-card .val-ico { animation: none; }
.val-ico.is-wa { background: linear-gradient(150deg, #25D366, #128C7E); box-shadow: 0 10px 22px -10px rgba(37, 211, 102, .65); }
.val-ico.is-wa svg { width: 26px; height: 26px; }

/* -------------------------------------------------------------
   11. Club mayorista (captura de correo)
   ------------------------------------------------------------- */
.news {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 10%, #3966f0 0%, transparent 55%),
    linear-gradient(160deg, var(--blue-600) 0%, var(--blue-900) 65%, var(--blue-ink) 100%);
}
.news-dots {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .6;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 1.7px) 0 0 / 26px 26px;
}
.news .container { position: relative; z-index: 2; }
.news-card {
  position: relative; max-width: 620px; margin-inline: auto; text-align: center;
  padding: clamp(3.4rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3rem) clamp(2rem, 5vw, 2.8rem);
  border-radius: calc(var(--radius) + 10px);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.news-mark {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue), var(--blue-900));
  border: 4px solid #fff; box-shadow: 0 18px 34px -12px rgba(30,80,224,.6);
  animation: markFloat 3.2s ease-in-out infinite;
}
.news-mark img { width: 58%; height: auto; }
@keyframes markFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 7px)); } }
.news-badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: rgba(30,80,224,.1);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}
.news-card h2 { color: var(--ink); font-size: clamp(1.9rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.news-card h2 em { font-style: normal; color: var(--blue); }
.news-card > p { color: var(--ink-mute); margin-top: .9rem; font-size: 1.02rem; }
.news-form { margin-top: 1.6rem; display: flex; gap: .7rem; }
.news-form input {
  flex: 1; min-width: 0; padding: .95rem 1.15rem; border-radius: 999px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1.5px solid rgba(30,80,224,.25); transition: border .25s, background .25s;
}
.news-form input::placeholder { color: var(--ink-mute); }
.news-form input:focus { outline: none; border-color: var(--blue); background: #fff; }
.news-form .btn { white-space: nowrap; }
.news-note { margin-top: .85rem; font-size: .8rem; color: var(--ink-mute); }
.news-card .news-success { margin-top: 1.1rem; justify-content: center; display: none; align-items: center; gap: .6rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.5); color: #0f7a34; font-weight: 700; }
.news-card .news-success svg { color: #0f7a34; }
.news-card .news-success.is-visible { display: flex; }
@media (prefers-reduced-motion: reduce) { .news-mark { animation: none; } }
@media (max-width: 560px) {
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; }
  .news-mark { width: 76px; height: 76px; }
}

/* -------------------------------------------------------------
   12. B2B CTA
   ------------------------------------------------------------- */
.b2b-card {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(150deg, var(--blue-600), var(--blue-ink)); color: #fff;
  padding: clamp(2rem, 6vw, 4rem); box-shadow: var(--shadow);
}
.b2b-card .hero-mesh { opacity: .8; }
.b2b-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .b2b-inner { grid-template-columns: 1.1fr .9fr; } }
.b2b-left { display: flex; flex-direction: column; }
.b2b-left .b2b-list { margin-bottom: 1.6rem; }
/* Imagen de proporción fija: no se estira aunque el formulario cambie de alto */
.b2b-media {
  margin-top: 1.6rem; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 22px 50px -22px rgba(0,0,0,.55);
}
.b2b-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center; }
.b2b-media figcaption { padding: .75rem 1rem; font-size: .82rem; font-weight: 500; color: var(--ink-soft); background: #fff; }
.b2b-inner h2 { font-size: clamp(2.2rem, 3.2vw, 2.6rem); line-height: 1.02; letter-spacing: -0.042em; }
.b2b-inner p:not(.eyebrow) { margin-top: 1rem; color: rgba(255,255,255,.85); max-width: 46ch; }
.b2b-list { margin-top: 1.4rem; display: grid; gap: .7rem; }
.b2b-list li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.9); font-size: .95rem; }
.b2b-list svg { width: 20px; height: 20px; flex-shrink: 0; color: #bcd0ff; margin-top: 1px; }

/* Panel de acceso al portal B2B */
.b2b-portal {
  display: grid; gap: .9rem; padding: clamp(1.4rem, 3.5vw, 2rem); border-radius: 22px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.55);
}
.b2b-portal-tag {
  justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .5rem 1rem; border-radius: 999px; background: #fff; color: var(--blue-700, #123bbf); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45);
}
.b2b-portal h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.15; }
.b2b-inner .b2b-portal p { margin-top: 0; }
.b2b-portal p b { color: #fff; }
.b2b-steps { list-style: none; padding: 0; margin: .3rem 0 .4rem; display: grid; gap: .75rem; }
.b2b-steps li { display: flex; gap: .8rem; align-items: flex-start; }
.b2b-steps span {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue-700, #123bbf); font-weight: 800; font-size: .95rem;
}
.b2b-steps b { display: block; font-size: .98rem; }
.b2b-steps small { display: block; font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .1rem; }
.b2b-portal .btn { width: 100%; justify-content: center; }
.b2b-btn-main { background: #fff; color: var(--blue-700, #123bbf); font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.b2b-btn-main:hover { background: #eef3ff; }
.b2b-btn-alt { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.b2b-btn-alt:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.b2b-portal .form-note { text-align: center; }

/* form */
.b2b-form { display: grid; gap: .85rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; font: inherit; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  transition: border .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.18); }
.field select option { color: #0f1b3d; }
.b2b-form .btn { margin-top: .4rem; }
.form-note { font-size: .8rem; color: rgba(255,255,255,.65); }
.form-success {
  display: none; align-items: center; gap: .6rem; padding: 1rem 1.1rem; border-radius: 12px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 500;
}
.form-success.is-visible { display: flex; }

/* B2B form — filas, obligatorios y errores */
.field-row { display: grid; grid-template-columns: 1fr; gap: .85rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field .req { color: #ffd66b; font-weight: 700; }
.field .opt { color: rgba(255,255,255,.55); font-weight: 500; font-size: .8em; }
.field-hint { font-size: .76rem; color: rgba(255,255,255,.6); }
.field-error { font-size: .78rem; color: #ffd0c9; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #ff9e90; background: rgba(255,120,100,.14);
}

/* Chips de productos (selección con toque) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .15rem; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 999px; cursor: pointer;
  font-size: .82rem; font-weight: 600; color: #fff; line-height: 1.1;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.3);
  transition: background .2s, border-color .2s, transform .15s, color .2s;
  user-select: none;
}
.chip:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.65); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip.is-checked, .chip:has(input:checked) { background: #fff; color: var(--blue-700); border-color: #fff; }
.chip-all { background: rgba(255,255,255,.16); border-style: dashed; }
.chip-all.is-active { background: #fff; color: var(--blue-700); border-style: solid; }
.field.has-error .chips { outline: 1.5px solid #ff9e90; outline-offset: 4px; border-radius: 12px; }

/* -------------------------------------------------------------
   13. Blog
   ------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.7rem;
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-meta { display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: var(--ink-mute); }
.blog-meta .cat { color: var(--blue); font-weight: 700; }
.blog-card h3 { font-size: 1.12rem; margin-top: .8rem; }
.blog-card p { margin-top: .6rem; color: var(--ink-mute); font-size: .92rem; flex: 1; }
.blog-card .read { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

/* -------------------------------------------------------------
   14. Contact + Footer
   ------------------------------------------------------------- */
/* Bloque superior de contacto: texto + robot */
.contact-top { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
@media (min-width: 720px) { .contact-top { grid-template-columns: auto 1fr; gap: .5rem; } }
.contact-robot {
  width: 100%; max-width: 320px; height: auto; justify-self: center;   /* centrado en móvil */
  filter: drop-shadow(0 24px 34px rgba(30,80,224,.28));
  animation: floaty 6s ease-in-out infinite;
}
@media (min-width: 720px) { .contact-robot { justify-self: start; } }   /* pegado al texto en escritorio */
@media (prefers-reduced-motion: reduce) { .contact-robot { animation: none; } }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-card .val-ico { margin-bottom: .9rem; }
.contact-card h3 { font-size: 1rem; }
.contact-card a, .contact-card p { margin-top: .4rem; color: var(--ink-soft); font-size: .95rem; word-break: break-word; }
.contact-card a:hover { color: var(--blue); }

.footer { background: linear-gradient(180deg, var(--blue-700), var(--blue-ink)); color: rgba(255,255,255,.82); padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo img { height: 34px; margin-bottom: 1rem; }
.footer-brand p { max-width: 38ch; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .02em; }
.footer ul { display: grid; gap: .6rem; }
/* "Catálogo" en el pie: un solo enlace a crear la cuenta mayorista (pedido de la dueña) */
.footer-cat-link { color: #fff; display: inline-flex; align-items: center; gap: .45rem; transition: gap .25s; }
.footer-cat-link:hover { gap: .7rem; }
.footer-cat-note { max-width: 26ch; font-size: .9rem; line-height: 1.55; }
.footer-cat-note a { color: rgba(255,255,255,.78); transition: color .25s; }
.footer-cat-note a:hover { color: #fff; }
.footer ul a { color: rgba(255,255,255,.78); font-size: .92rem; transition: color .25s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.6);
}

/* -------------------------------------------------------------
   15. Reveal on scroll (defensive)
   ------------------------------------------------------------- */
/* El contenido SOLO empieza oculto si el JS está activo (clase .js en <html>).
   Sin JavaScript, todo se ve — nunca se pierde contenido. */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-split] { opacity: 1; transform: none; }   /* gotcha A.4.5 */
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------
   16. Splash
   ------------------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--blue-600), var(--blue-ink));
  transition: opacity .6s var(--ease-out), visibility .6s;
  animation: splashSafety .01s 2.2s forwards;
}
.splash img { width: 190px; opacity: 0; animation: splashLogo 1.2s var(--ease-out) forwards; }
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashLogo { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 100% { opacity: 1; transform: none; } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .splash img { animation: none; opacity: 1; } }

/* -------------------------------------------------------------
   17. Product modal (galería + zoom + compra)
   ------------------------------------------------------------- */
body.no-scroll { overflow: hidden; }
.pmodal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: clamp(.8rem, 3vw, 2rem);
  opacity: 0; transition: opacity .25s var(--ease-out);
}
.pmodal[hidden] { display: none !important; }   /* cerrado: no intercepta el mouse */
.pmodal.is-open { opacity: 1; }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(8,18,48,.6); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pmodal-panel {
  position: relative; width: min(980px, 100%); max-height: 92vh; overflow: auto;
  background: #fff; border-radius: 26px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6);
  transform: translateY(14px) scale(.985); transition: transform .3s var(--ease-out);
}
.pmodal.is-open .pmodal-panel { transform: none; }
.pmodal-x {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(15,27,61,.07); color: var(--ink); transition: background .25s;
}
.pmodal-x:hover { background: rgba(15,27,61,.14); }
.pmodal-x svg { width: 20px; height: 20px; }
.pmodal-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pmodal-grid { grid-template-columns: 1.02fr .98fr; } }

.pmodal-gallery { padding: clamp(1rem, 3vw, 1.6rem); background: linear-gradient(160deg, var(--blue-600), var(--blue-900)); }
.pmodal-stage {
  position: relative; aspect-ratio: 1/1; background: #fff; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; cursor: zoom-in; box-shadow: var(--shadow-soft);
}
.pmodal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease-out); will-change: transform; transform-origin: center; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.pmodal-stage { touch-action: pan-y; user-select: none; }
.pmodal-stage.is-zoomed { cursor: grab; touch-action: none; }
.pmodal-stage.is-dragging { cursor: grabbing; }
.pmodal-stage.is-zoomed .pmodal-zoomhint { opacity: 0; }
.pmodal-zoomhint { transition: opacity .25s; }
.pmodal-zoomhint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; color: var(--ink-soft); background: rgba(255,255,255,.85);
  padding: .25rem .7rem; border-radius: 999px; pointer-events: none; white-space: nowrap;
}
.pmodal-thumbs { display: flex; gap: .55rem; margin-top: .85rem; flex-wrap: wrap; }
.pmodal-thumbs button {
  width: 62px; height: 62px; border-radius: 12px; overflow: hidden; background: #fff;
  border: 2px solid rgba(255,255,255,.4); transition: border-color .25s, transform .25s;
}
.pmodal-thumbs button:hover { transform: translateY(-2px); }
.pmodal-thumbs button.is-active { border-color: #fff; }
.pmodal-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.pmodal-info { padding: clamp(1.3rem, 3.2vw, 2.1rem); display: flex; flex-direction: column; }
.pmodal-info .cat-tag { align-self: flex-start; }
.pmodal-info h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: .6rem; }
.news-error { margin-top: .7rem; color: #c0362c; font-size: .9rem; font-weight: 600; }
.pmodal-blurb { margin-top: .8rem; color: var(--ink-mute); font-size: .98rem; white-space: pre-line; }   /* respeta los saltos de línea y párrafos que escribe la dueña */
.pmodal-info .prod-specs { margin-top: 1.1rem; }
.pmodal-price { margin-top: 1.1rem; font-weight: 700; color: var(--blue); font-size: 1.02rem; }
.pmodal-actions { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.pmodal-note { margin-top: 1.1rem; font-size: .78rem; color: var(--ink-mute); }
.pmodal-note code { background: var(--bg-2); padding: .1rem .35rem; border-radius: 5px; font-size: .92em; }
@media (prefers-reduced-motion: reduce) {
  .pmodal, .pmodal-panel, .pmodal-stage img { transition: none; }
}

/* -------------------------------------------------------------
   18. Ajustes de armonía para móvil (iPhone / Android)
   ------------------------------------------------------------- */
@media (max-width: 560px) {
  .section { padding-block: clamp(2.8rem, 11vw, 4rem); }
  .section-head { margin-bottom: 1.8rem; }
  .section-head h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .section-head p:not(.eyebrow) { font-size: 1rem; }

  /* Héroe: producto un poco más contenido y más aire entre bloques */
  .hero-grid { gap: 2.2rem; padding-block: 2.4rem 2.6rem; }
  .hero-plate { width: min(64%, 250px); }
  .hero-actions .btn { width: 100%; }           /* botones a lo ancho: más fáciles de tocar */
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.1rem); }
  .hero-grid { padding-block: 2.2rem 3.4rem; }  /* celular: el power bank grande sigue apareciendo debajo de las cifras */
  /* Las 3 cifras en UNA sola fila en el móvil, con ícono y líneas separadoras */
  .hero-trust { margin-top: 2.1rem; max-width: none; }
  .hero-trust div { min-width: 0; padding: .1rem .35rem; }
  .hero-trust svg { width: 26px; height: 26px; margin-bottom: .25rem; }
  .hero-trust b { font-size: 1.3rem; }
  .hero-trust span { font-size: .72rem; line-height: 1.25; }
  .ribbons { height: 150px; margin-top: 1.7rem; }
  .rb-front { top: 9%; height: 54px; transform: rotate(-4deg); }
  .rb-back { top: 54%; height: 48px; transform: rotate(3deg); }
  .rb-big { font-size: 1.3rem; padding: 0 1.3rem; }
  .rb-back .rb-big { font-size: 1.15rem; }
  .rb-sm { font-size: .78rem; padding: 0 1.3rem; }
  .rb-track { animation-duration: 26s; } .rb-rev { animation-duration: 30s; }
  /* el botón flotante de WhatsApp aparece al empezar a bajar (no tapa el inicio) */
  .wa-float { transition: opacity .3s, transform .3s; }
  .wa-float.is-away { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
  /* Rótulos en una sola línea en celular */
  .eyebrow { font-size: .7rem; letter-spacing: .06em; padding: .6rem 1rem; white-space: nowrap; max-width: 100%; }

  /* Tarjetas: más separación y respiro interno */
  .cat-grid, .prod-grid, .blog-grid, .val-grid, .contact-grid { gap: 1.1rem; }
  .cat-body, .prod-body { padding: 1.2rem 1.2rem 1.4rem; }

  /* Cifras grandes en una sola columna se ven mejor centradas */
  .stats-grid { gap: 1.6rem; }

  /* Formulario B2B: campos más cómodos al tocar */
  .b2b-card { padding: 1.5rem 1.15rem; }
  .field input, .field select, .field textarea { padding: .85rem 1rem; font-size: 16px; } /* 16px evita zoom automático en iOS */
  .chip { padding: .6rem .95rem; font-size: .85rem; }

  /* Modal de producto: ocupa casi toda la pantalla y hace scroll interno */
  .pmodal { padding: 0; }
  .pmodal-panel { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .pmodal-grid { grid-template-columns: 1fr; }
  .pmodal-actions .btn { width: 100%; }
}

/* -------------------------------------------------------------
   19. Botón flotante de WhatsApp
   ------------------------------------------------------------- */
.wa-float {
  position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  height: 60px; padding: 0 22px 0 16px; border-radius: 999px;
  background: linear-gradient(150deg, #25D366, #128C7E); color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 16px 32px -8px rgba(18,140,80,.6);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.wa-float svg { width: 30px; height: 30px; flex-shrink: 0; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 42px -10px rgba(18,140,80,.72); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  background: #25D366; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.4); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 560px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; gap: 0; }
  .wa-float-txt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { display: none; } }

/* ---------- Blog editable desde el panel: portada en tarjetas, botón "ver todos" y página del artículo ---------- */
.blog-card { overflow: hidden; } a.blog-card { color: inherit; text-decoration: none; }
.blog-cover { margin: -1.5rem -1.5rem 1.1rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-all { margin-top: 2rem; text-align: center; }
.page-blog { background: var(--bg); }
.blog-article { max-width: 780px; padding-block: clamp(2rem, 6vw, 4rem) 1rem; }
.blog-back { display: inline-block; margin-bottom: 1.6rem; color: var(--blue); font-weight: 600; font-size: .92rem; }
.blog-article .blog-meta { font-size: .85rem; }
.blog-article h1 { margin-top: .8rem; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
.blog-lead { margin-top: 1rem; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--ink-soft); line-height: 1.55; }
.blog-hero { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.blog-hero img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.blog-body { margin-top: 2rem; font-size: 1.06rem; line-height: 1.75; color: var(--ink-soft); }
.blog-body p + p, .blog-body ul + p, .blog-body p + ul { margin-top: 1.1rem; }
.blog-body h2 { margin: 2.2rem 0 .8rem; font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.blog-body ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .45rem; }
.blog-body li::marker { color: var(--blue); }
.blog-body strong { color: var(--ink); }
.blog-gallery { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.blog-gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); }
.blog-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.blog-cta { margin-top: 3rem; padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-700), var(--blue)); color: #fff; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; box-shadow: var(--shadow); }
.blog-cta h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.blog-cta p { margin-top: .3rem; color: rgba(255,255,255,.82); font-size: .95rem; }
.blog-cta .btn { background: #fff; color: var(--blue-700); }
.blog-more { padding-top: 2rem; }

.eyebrow[hidden] { display: none; }   /* sección sin etiqueta (ej. Nuevos Productos) */
/* "Nuevos Productos" ya no lleva etiqueta: el título sube para no dejar un hueco bajo las cintas */
#productos { padding-top: clamp(2.25rem, 4.5vw, 3.75rem); }

/* -------------------------------------------------------------
   "Por qué Wired" (aprobado 2026-10-11: recuadros opción C + etiqueta opción 1)
   ------------------------------------------------------------- */
/* etiqueta: logo Wired en burbuja azul + texto con subrayado inclinado (como el corte de las tarjetas) */
.eyebrow.eyebrow-mark { background: none; box-shadow: none; padding: 0; gap: 1.1rem; color: var(--blue-ink); font-weight: 800; letter-spacing: .16em; font-size: 1.25rem; }   /* tamaño aprobado 2026-10-11 (opción 2, +55%) */
.eyebrow-mark i { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, #3d6cf3, var(--blue-700)); box-shadow: 0 10px 20px -8px rgba(30,80,224,.8); }
.eyebrow-mark i img { width: 38px; height: 38px; }
.eyebrow-mark span { position: relative; padding-bottom: .4rem; }
.eyebrow-mark span::after { content: ""; position: absolute; left: 0; bottom: -.35rem; width: 100%; height: 10px; background: var(--blue);
  clip-path: polygon(0 60%, 100% 0, 100% 40%, 0 100%); }
/* tarjetas (aprobado 2026-10-12, propuesta 1 "franja sólida"): franja azul lisa con corte inclinado, número grande de fondo,
   ícono "sellado" y cierre con ✓. Efecto libro: la tarjeta es la tapa y se abre desde el borde izquierdo dejando ver las hojas. */
.why-grid { gap: 1.5rem; }
.why-bk { position: relative; perspective: 1100px; }
.why-pages { position: absolute; inset: 6px 4px 6px 10px; border-radius: 16px; background: #fff;
  background-image: repeating-linear-gradient(180deg, transparent 0 21px, #eef2fb 21px 22px); background-position: 0 70px;
  box-shadow: inset 0 0 0 1px #e3e9f7, 3px 0 0 -1px #f4f6fc, 6px 0 0 -2px #e9eef9, 6px 0 0 -1px #dfe5f3; }
.why-card { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #dbe3f5; box-shadow: 0 18px 36px -26px rgba(10,31,102,.55);
  transform-origin: left center; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); will-change: transform; }
@media (hover: hover) {
  .why-bk:hover .why-card { transform: rotateY(-8deg); box-shadow: 12px 22px 36px -24px rgba(10,31,102,.5); }   /* 8° aprobado (opción B, muy sutil; antes 24°) */
  .why-bk:hover .why-ico { transform: rotate(-6deg); }
}
/* celular: al aparecer en pantalla (o al tocarla) la tarjeta se abre y se cierra sola */
.why-bk.is-peek .why-card { animation: whyPeek 1.5s var(--ease-out); }
@keyframes whyPeek { 0% { transform: none; } 45% { transform: rotateY(-8deg); box-shadow: 12px 22px 36px -24px rgba(10,31,102,.5); } 100% { transform: none; } }
.why-top { position: relative; height: 92px; flex-shrink: 0; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 55%, var(--blue-900) 100%); }
.why-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: #fff; clip-path: polygon(0 100%, 100% 25%, 100% 100%); }
.why-num { position: absolute; right: 18px; top: 12px; font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: rgba(255,255,255,.22); }
.why-ico { position: absolute; left: 22px; bottom: -10px; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: 0 0 0 4px #fff, 0 10px 22px -10px rgba(10,31,102,.6); transition: transform .5s var(--ease-out); }
.why-ico svg { width: 24px; height: 24px; }
.why-body { padding: 1.65rem 1.4rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.why-body h3 { font-size: 1.08rem; }
.why-body p { margin: .55rem 0 1.1rem; color: var(--ink-mute); font-size: .92rem; }
.why-proof { margin-top: auto; padding-top: 1rem; border-top: 1px solid #e6ebf7; display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; color: var(--blue-700); }
.why-proof svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .why-card, .why-ico { transition: none; } .why-bk.is-peek .why-card { animation: none; } .why-bk:hover .why-card { transform: none; } }

/* -------------------------------------------------------------
   Contacto (aprobado 2026-10-11, opción A): tarjetas con franja como "Por qué Wired"; WhatsApp en verde
   ------------------------------------------------------------- */
.cc-grid { gap: 1.5rem; }
/* la tarjeta usa .why-card (borde fino, sombra, efecto libro 8°); aquí solo lo propio de Contacto (2026-10-12: mismo estilo serio) */
.cc-card { color: inherit; }
.cc-top { position: relative; height: 92px; flex-shrink: 0; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 55%, var(--blue-900) 100%); }
.cc-wa .cc-top { background: linear-gradient(135deg, #22b85f 0%, #179150 55%, #0e6e3b 100%); }
.cc-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: #fff; clip-path: polygon(0 100%, 100% 25%, 100% 100%); }
.cc-ico { position: absolute; left: 22px; bottom: -10px; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: 0 0 0 4px #fff, 0 10px 22px -10px rgba(10,31,102,.6); transition: transform .5s var(--ease-out); }
.cc-wa .cc-ico { color: #179150; }
.cc-ico svg { width: 26px; height: 26px; }

.cc-body { padding: 1.65rem 1.4rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.cc-lbl { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.cc-wa .cc-lbl { color: #179150; }
.cc-val { margin-top: .35rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); word-break: break-word; }
.cc-sub { margin: .25rem 0 1.1rem; font-size: .9rem; color: var(--ink-mute); }
.cc-go { margin-top: auto; padding-top: 1rem; border-top: 1px solid #e6ebf7; font-size: .88rem; font-weight: 700; color: var(--blue-700);
  display: flex; align-items: center; gap: .4rem; transition: gap .25s; }
.cc-wa .cc-go { color: #179150; }
.cc-card.is-tilt .cc-go { gap: .7rem; }
/* efecto 2 aprobado 2026-10-12: la tarjeta se inclina hacia el cursor, el ícono crece y aparece un brillo (en celular: al aparecer y al tocar) */
.cc-tilt { perspective: 900px; }
.cc-tilt .cc-card { transform-origin: center; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.cc-card.is-tilt { box-shadow: 0 30px 50px -28px rgba(10,31,102,.6); }
.cc-card.is-tilt .cc-ico { transform: scale(1.08); }
.cc-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: linear-gradient(var(--ang, 120deg), rgba(255,255,255,.35), transparent 55%); }
.cc-card.is-tilt .cc-glare { opacity: 1; }
.cc-card.is-wiggle { animation: ccWiggle 1.1s var(--ease-out); }
.cc-card.is-wiggle .cc-glare { animation: ccGlare 1.1s var(--ease-out); }
@keyframes ccWiggle { 0% { transform: none; } 30% { transform: rotateX(4deg) rotateY(-9deg) translateY(-4px); } 65% { transform: rotateX(-2deg) rotateY(6deg) translateY(-2px); } 100% { transform: none; } }
@keyframes ccGlare { 0%, 100% { opacity: 0; } 35% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cc-ico, .cc-go, .cc-tilt .cc-card { transition: none; } .cc-card.is-wiggle, .cc-card.is-wiggle .cc-glare { animation: none; } }

/* -------------------------------------------------------------
   Blog (aprobado 2026-10-12, propuesta 2 "destacado editorial"; reducido el mismo día a pedido de la dueña):
   el más reciente en grande, los demás compactos al lado
   ------------------------------------------------------------- */
.blog-grid.blog-ed { grid-template-columns: 1fr; gap: 1.1rem; max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .blog-grid.blog-ed { grid-template-columns: 1.3fr 1fr; } .blog-ed .blog-feat { grid-row: span 2; } }
.blog-feat { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; color: #fff;
  background: radial-gradient(420px circle at 32% 12%, rgba(122,162,255,.38), transparent 62%), linear-gradient(150deg, #163db8 0%, var(--blue-ink) 70%, #071a55 100%);
  box-shadow: 0 24px 48px -30px rgba(10,31,102,.8); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.blog-feat:hover { transform: translateY(-5px); box-shadow: 0 32px 60px -32px rgba(10,31,102,.85); }
.bf-art { position: relative; height: 140px; display: grid; place-items: center; overflow: hidden; }
.bf-art.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-art.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,85,.15), rgba(7,26,85,.85)); }
.bf-tags { position: absolute; left: 18px; top: 16px; z-index: 2; display: flex; gap: .45rem; }
.bf-tags span { font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .62rem; border-radius: 999px; background: #fff; color: var(--blue-700); }
.bf-tags .is-new { background: #ffcc00; color: var(--ink); }
.bf-ico { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: transform .6s var(--ease-out); }
.bf-ico svg { width: 36px; height: 36px; }
.blog-feat:hover .bf-ico { transform: scale(1.06) rotate(-4deg); }
.bf-txt { position: relative; z-index: 1; padding: .2rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.bf-meta { font-size: .76rem; color: rgba(255,255,255,.72); font-weight: 600; }
.bf-txt h3 { margin-top: .4rem; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.22; letter-spacing: -.02em; color: #fff; }
.bf-txt p { margin: .5rem 0 1rem; color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.55; max-width: 48ch; }
.bf-go { align-self: flex-start; margin-top: auto; display: inline-flex; gap: .45rem; align-items: center; background: #fff; color: var(--blue-700); font-weight: 800; font-size: .84rem; padding: .55rem 1rem; border-radius: 999px; transition: gap .3s; }
.blog-feat:hover .bf-go { gap: .75rem; }
.blog-mini { display: grid; grid-template-columns: 58px 1fr; gap: .9rem; align-items: start; background: #fff; border-radius: 16px; padding: 1rem 1.1rem;
  border: 1px solid #dbe3f5; border-left: 4px solid var(--blue); box-shadow: 0 14px 30px -24px rgba(10,31,102,.5); color: inherit;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.blog-mini:hover { transform: translateX(5px); box-shadow: 0 20px 38px -24px rgba(10,31,102,.6); }
.bm-ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #3d6cf3, var(--blue-900)); }
.bm-ico svg { width: 28px; height: 28px; }
.bm-ico.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.bm-cat { font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.bm-meta { font-size: .74rem; color: var(--ink-mute); font-weight: 600; }
.blog-mini h3 { margin-top: .25rem; font-size: .95rem; line-height: 1.3; letter-spacing: -.01em; }
.blog-mini p { margin-top: .3rem; font-size: .84rem; line-height: 1.5; color: var(--ink-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-go { margin-top: .4rem; display: inline-block; font-size: .8rem; font-weight: 700; color: var(--blue-700); }
@media (max-width: 560px) {
  .bf-art { height: 128px; padding-top: 30px; } .bf-ico { width: 58px; height: 58px; border-radius: 16px; } .bf-ico svg { width: 30px; height: 30px; }
  .bf-tags { left: 14px; top: 14px; } .bf-txt { padding: .2rem 1.1rem 1.15rem; } .bf-txt h3 { font-size: 1.08rem; } .bf-txt p { font-size: .86rem; }
  .blog-mini { grid-template-columns: 48px 1fr; padding: .85rem .95rem; gap: .75rem; } .bm-ico { width: 48px; height: 48px; border-radius: 12px; } .bm-ico svg { width: 24px; height: 24px; }
  .blog-mini h3 { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .blog-feat, .blog-mini, .bf-ico, .bf-go { transition: none; } }

/* Contacto más compacto (2026-10-12, a pedido de la dueña: "están muy grandes") */
.cc-grid { gap: 1.1rem; max-width: 1040px; margin-inline: auto; }
.cc-card.why-card { border-radius: 14px; }
.cc-top { height: 66px; }
.cc-top::after { height: 20px; }
.cc-ico { left: 18px; bottom: -8px; width: 46px; height: 46px; box-shadow: 0 0 0 3px #fff, 0 8px 18px -10px rgba(10,31,102,.6); }
.cc-ico svg { width: 21px; height: 21px; }
.cc-body { padding: 1.2rem 1.15rem 1rem; }
.cc-lbl { font-size: .64rem; }
.cc-val { margin-top: .25rem; font-size: 1rem; }
.cc-sub { margin: .2rem 0 .8rem; font-size: .82rem; }
.cc-go { padding-top: .75rem; font-size: .8rem; }
@media (max-width: 560px) { .cc-top { height: 58px; } .cc-ico { width: 42px; height: 42px; } .cc-body { padding: 1.05rem 1rem .9rem; } }

/* -------------------------------------------------------------
   Cursor animado (aprobado 2026-10-12, "cursor 1": punto + anillo). Solo computadora con mouse;
   en celular, campos de texto y la lupa de las fotos se usa el cursor normal.
   ------------------------------------------------------------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor [contenteditable] { cursor: auto !important; }
html.has-cursor .pmodal-stage { cursor: zoom-in !important; }
html.has-cursor .pmodal-stage.is-zoomed { cursor: grab !important; }
html.has-cursor .pmodal-stage.is-dragging { cursor: grabbing !important; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; border-radius: 50%; opacity: 0;
  transition: opacity .25s, width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background-color .3s, border-color .3s; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--blue); box-shadow: 0 0 0 2px #fff, 0 0 10px rgba(122,162,255,.8); }
.cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 2px solid rgba(30,80,224,.85);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.75), 0 0 16px rgba(122,162,255,.5); }
html.cur-on .cur-dot, html.cur-on .cur-ring { opacity: 1; }
html.cur-hover .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(30,80,224,.12); border-color: var(--blue); }
html.cur-hover .cur-dot { opacity: 0; }
html.cur-down .cur-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
html.cur-native .cur-dot, html.cur-native .cur-ring { opacity: 0 !important; }
/* sobre azul u oscuro el cursor se vuelve blanco para no perderse */
html.cur-dark .cur-ring { border-color: #fff; box-shadow: 0 0 0 1.5px rgba(10,31,102,.35), 0 0 18px rgba(255,255,255,.45); }
html.cur-dark .cur-dot { background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 0 10px rgba(255,255,255,.8); }
html.cur-dark.cur-hover .cur-ring { background: rgba(255,255,255,.2); border-color: #fff; }
