/* Médica Oaxaca — sitio nuevo
   Paleta oficial: _staging/medica-oaxaca-brand/SKILL.md §4
   Dirección: hero full-screen + tarjetas bento + marquee, estilo fintech/Apple.
   Mobile-first: el CSS base es móvil y escala hacia arriba. */

:root {
  --mo-navy: #0d1b8e;
  --mo-cyan: #00e5ff;
  --mo-blue: #1565c0;
  --mo-deep: #060c3a;
  --mo-light: #e3f2fd;
  --mo-bg: #f3f6ff;
  --mo-sidebar: #0a1570;
  --mo-gray-text: #3a4550;
  --mo-gray-line: #dbe2ea;

  --hero-gradient: linear-gradient(160deg, var(--mo-deep) 0%, var(--mo-navy) 55%, var(--mo-blue) 120%);
  --badge-gradient: linear-gradient(135deg, var(--mo-navy), var(--mo-blue));
  --cyan-gradient: linear-gradient(120deg, var(--mo-cyan), #4fd6ff 55%, var(--mo-blue));

  --font-display: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-card: 0 14px 40px rgba(13, 27, 142, 0.12);
  --shadow-float: 0 10px 24px rgba(6, 12, 58, 0.35);
  --shadow-glow: 0 10px 28px rgba(0, 229, 255, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.reduced-motion { scroll-behavior: auto; }
html, body { overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--mo-gray-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }

/* Textura de puntos reutilizable — reemplaza el "azul plano" en tarjetas/bandas oscuras */
.tex-dots { position: relative; }
.tex-dots::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 229, 255, 0.22) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  animation: dots-drift 26s linear infinite;
  pointer-events: none;
  z-index: 0;
}
html.reduced-motion .tex-dots::before { animation: none; }

/* ---------- Motivo de marca: pulso/sonar (equipo de diagnóstico, no rombos) ---------- */
.pulse-rings { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.pulse-rings span { position: absolute; border: 1.5px solid rgba(0, 229, 255, 0.2); border-radius: 50%; animation: sonar-pulse 7s ease-in-out infinite; }
.pulse-rings span:nth-child(1) { width: 260px; height: 260px; left: -80px; top: -80px; }
.pulse-rings span:nth-child(2) { width: 210px; height: 210px; right: -60px; bottom: -70px; animation-delay: 1.6s; }
.pulse-rings span:nth-child(3) { width: 150px; height: 150px; right: 22%; top: -50px; animation-delay: 3s; }
html.reduced-motion .pulse-rings span { animation: none; }

/* Línea de pulso (ECG) — franja decorativa animada para secciones oscuras */
.ekg-strip { position: relative; z-index: 1; overflow: hidden; line-height: 0; }
.ekg-track { display: flex; width: max-content; animation: marquee 9s linear infinite; }
.ekg-track svg { width: 340px; height: 34px; flex-shrink: 0; }
.ekg-track path { fill: none; stroke: var(--mo-cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.45; }
html.reduced-motion .ekg-track { animation: none; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.16,.8,.3,1), transform 0.7s cubic-bezier(.16,.8,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-visible { transform: none; }
html.reduced-motion [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- Arrow-circle CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.25s cubic-bezier(.16,.8,.3,1), box-shadow 0.25s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(.16,.8,.3,1);
}
.btn__arrow svg { width: 15px; height: 15px; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--mo-deep); box-shadow: var(--shadow-glow); }
.btn--light .btn__arrow { background: var(--cyan-gradient); color: var(--mo-deep); }
.btn--light:hover { box-shadow: 0 14px 34px rgba(0, 229, 255, 0.4); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; background: rgba(255, 255, 255, 0.06); padding-left: 20px; }
.btn--ghost .btn__arrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--mo-cyan); }
.btn--dark { background: var(--badge-gradient); color: #fff; box-shadow: 0 10px 26px rgba(13, 27, 142, 0.3); }
.btn--dark .btn__arrow { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn--dark:hover { box-shadow: 0 14px 32px rgba(0, 229, 255, 0.3); }

/* ---------- Nav (flotante, estilo Apple) ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 14px 16px;
  transition: padding 0.35s cubic-bezier(.16,.8,.3,1);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-nav--scrolled { padding: 8px 16px; }
.site-nav--scrolled .site-nav__inner {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 8px 30px rgba(13, 27, 142, 0.14);
}

.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.brand__chip {
  background: #fff;
  border-radius: 10px;
  padding: 5px 8px;
  box-shadow: 0 3px 12px rgba(13, 27, 142, 0.22);
  display: flex;
  flex-shrink: 0;
}
.brand__chip img { height: 20px; width: auto; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.site-nav--scrolled .brand__word { color: var(--mo-navy); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.nav-links a {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 9px;
  border-radius: 8px;
  position: relative;
  transition: color 0.35s ease;
}
.site-nav--scrolled .nav-links a { color: var(--mo-navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px; bottom: 4px;
  height: 2px;
  background: var(--cyan-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links__full { display: none; }
.nav-links__short { display: inline; }
.nav-cta { display: none; }

/* ---------- Hero: full screen ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: var(--hero-gradient);
  background-size: 140% 140%;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 100px 0 40px;
  animation: gradient-drift 18s ease-in-out infinite;
}
@keyframes gradient-drift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 60% 40%; }
}
html.reduced-motion .hero { animation: none; }
.hero--compact { min-height: auto; padding: 130px 0 60px; text-align: center; }
.hero--compact .hero__grid { display: block; }

/* Textura de puntos (tech, no rombos) — llena el espacio plano con vida sutil */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 229, 255, 0.28) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 0%, transparent 75%);
  animation: dots-drift 30s linear infinite;
  pointer-events: none;
}
@keyframes dots-drift { from { background-position: 0 0; } to { background-position: 130px 90px; } }
html.reduced-motion .hero::after { animation: none; }

.hero__arcs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__arc { position: absolute; border: 1.5px solid rgba(0, 229, 255, 0.28); border-radius: 50%; animation: sonar-pulse 7s ease-in-out infinite; }
.hero__arc--a { width: 320px; height: 320px; left: -120px; top: -100px; }
.hero__arc--b { width: 460px; height: 460px; right: -180px; bottom: -160px; animation-delay: 1.4s; }
.hero__arc--c { width: 220px; height: 220px; right: 10%; top: -60px; animation-delay: 2.6s; }
.hero__arc--d { width: 640px; height: 640px; right: -220px; top: 10%; border-color: rgba(0, 229, 255, 0.14); animation-delay: 0.8s; animation-duration: 9s; }
.hero__arc--e { width: 130px; height: 130px; right: 30%; bottom: 6%; animation-delay: 3.6s; }
@keyframes sonar-pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.06); opacity: 1; } }
html.reduced-motion .hero__arc { animation: none; }
.hero .glow-orb--cyan { width: 560px; height: 560px; background: radial-gradient(circle, rgba(0, 229, 255, 0.4), transparent 70%); top: -140px; right: -100px; animation: orb-drift 12s ease-in-out infinite; }
.hero .glow-orb--blue { width: 440px; height: 440px; background: radial-gradient(circle, rgba(21, 101, 192, 0.6), transparent 70%); bottom: -140px; left: -100px; animation: orb-drift 14s ease-in-out infinite reverse; }
@keyframes orb-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.12); } }
html.reduced-motion .hero .glow-orb { animation: none; }
.hero__spotlight {
  position: absolute;
  width: 60%; max-width: 480px; aspect-ratio: 1.6;
  right: 6%; top: 50%; transform: translateY(-46%);
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.32), rgba(21, 101, 192, 0.12) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mo-cyan);
  margin: 0 0 18px;
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mo-cyan); box-shadow: 0 0 12px 2px rgba(0, 229, 255, 0.7); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.hero h1 em { font-style: normal; color: var(--mo-cyan); }
.hero p.hero__sub {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin: 0 0 30px;
}
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero__visual-tilt { position: relative; z-index: 1; display: block; transition: transform 0.2s ease-out; will-change: transform; }
.hero__visual img {
  max-width: 78%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  animation: float-y 6s ease-in-out infinite;
}
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
html.reduced-motion .hero__visual img { animation: none; }

.hero__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 8px 22px rgba(6, 12, 58, 0.35);
  animation: float-y 5s ease-in-out infinite;
}
.hero__badge-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--cyan-gradient); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__badge-icon svg { width: 14px; height: 14px; color: var(--mo-deep); }
.hero__badge span { font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; color: #fff; white-space: nowrap; }
.hero__badge--1 { top: 8%; left: -4%; animation-delay: 0.3s; }
.hero__badge--2 { bottom: 16%; right: -6%; animation-delay: 1.6s; }
.hero__badge--3 { bottom: -2%; left: 8%; animation-delay: 2.8s; }
html.reduced-motion .hero__badge { animation: none; }
@media (max-width: 759px) { .hero__badge--1, .hero__badge--3 { display: none; } .hero__badge--2 { bottom: 4%; right: 2%; } }

.hero__marquee {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 229, 255, 0.22);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 40px; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.marquee__track span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mo-cyan); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html.reduced-motion .marquee__track { animation: none; }

/* ---------- Section heading ---------- */
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mo-blue);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--mo-navy);
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.04;
  margin: 12px 0 10px;
}
.section-head p { color: var(--mo-gray-text); font-size: 1rem; max-width: 480px; }
.section-head--center p { margin-inline: auto; }
.section-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head__row .section-head { margin-bottom: 0; }

/* ---------- Bento: lineup destacado ---------- */
.lineup { padding: 70px 0 20px; background: #fff; }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.bento__card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  isolation: isolate;
}
.bento__card--navy { background: var(--hero-gradient); color: #fff; }
.bento__eyebrow { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mo-cyan); margin: 0 0 8px; }
.bento__card h3 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.5rem; margin: 0 0 8px; line-height: 1.12; }
.bento__card p { position: relative; z-index: 1; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); margin: 0 0 14px; max-width: 30ch; }
.bento__card .btn { position: relative; z-index: 1; align-self: flex-start; }

/* Tarjeta ancha: equipo flotando (cutout) sobre navy, como el hero — no fotos con overlay */
.bento__card--spotlight { justify-content: space-between; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; padding: 30px; }
.bento__card--spotlight .bento__copy { position: relative; z-index: 1; max-width: 280px; }
.bento__card--spotlight .bento__visual { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 180px; }
.bento__card--spotlight .bento__visual img { max-width: 210px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4)); animation: float-y 6s ease-in-out infinite; }
html.reduced-motion .bento__card--spotlight .bento__visual img { animation: none; }

/* ---------- Marquee band (ticker de equipos) ---------- */
.ticker-band { background: var(--mo-bg); padding: 22px 0; overflow: hidden; border-top: 1px solid var(--mo-gray-line); border-bottom: 1px solid var(--mo-gray-line); }
.ticker-band .marquee__track { animation-duration: 32s; }
.ticker-band .marquee__track span { color: var(--mo-navy); opacity: 0.65; }
.ticker-band .marquee__track span::before { background: var(--mo-blue); }

/* ---------- Product grid (editorial) ---------- */
.catalog { position: relative; padding: 70px 0 80px; background: #fff; overflow: hidden; }
.product-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 22px; }

.card {
  position: relative;
  background: var(--mo-bg);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(.16,.8,.3,1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(13, 27, 142, 0.2); }

.card__media { position: relative; border: none; background: linear-gradient(160deg, #eef3ff, #dce7fb); padding: 0; cursor: zoom-in; display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 22px 22px 6px; transition: transform 0.5s cubic-bezier(.16,.8,.3,1); }
.card:hover .card__media img { transform: scale(1.08); }
.card__eyebrow { position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--badge-gradient); padding: 5px 11px; border-radius: 999px; z-index: 2; }

.card__body { padding: 4px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; color: var(--mo-navy); font-size: 1.3rem; margin: 0; }
.card__text { font-size: 0.9rem; color: var(--mo-gray-text); margin: 0; flex: 1; }

.card__stat { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--mo-gray-text); }
.card__stat b { color: var(--mo-navy); font-family: var(--font-display); }
.card__stat-badge { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--badge-gradient); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(13, 27, 142, 0.25); }
.card__stat-icon { width: 17px; height: 17px; color: #fff; }

.card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.card__btn { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: -0.01em; padding: 10px 14px; transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.card__btn:active { transform: scale(0.97); }
.card__btn--ghost { border: 1.5px solid var(--mo-navy); color: var(--mo-navy); background: #fff; }
.card__btn--ghost:hover { background: var(--mo-light); }
.card__btn--primary { background: var(--badge-gradient); color: #fff; box-shadow: 0 6px 16px rgba(13, 27, 142, 0.3); }
.card__btn--primary:hover { box-shadow: 0 8px 20px rgba(0, 229, 255, 0.35); filter: brightness(1.08); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(6, 12, 58, 0.92); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 24px; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__frame { max-width: 90vw; max-height: 85vh; margin: 0; text-align: center; }
.lightbox__img { max-width: 90vw; max-height: 75vh; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.4), 0 30px 60px rgba(0, 0, 0, 0.4); }
.lightbox__caption { color: #fff; font-family: var(--font-display); font-weight: 600; margin-top: 14px; font-size: 0.9rem; }
.lightbox__close { position: absolute; top: 18px; right: 20px; background: rgba(255, 255, 255, 0.12); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background 0.2s ease; }
.lightbox__close:hover { background: rgba(0, 229, 255, 0.3); }

/* ---------- Use case: 2 columnas, panel de confianza con íconos ---------- */
.usecase { padding: 70px 0 80px; background: var(--mo-bg); }
.usecase__grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.usecase__panel { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 340px; background: var(--hero-gradient); padding: 34px 28px; display: flex; flex-direction: column; justify-content: center; gap: 18px; color: #fff; }
.usecase__item { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: var(--r-md); padding: 16px 18px; }
.usecase__item-badge { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--cyan-gradient); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 229, 255, 0.3); }
.usecase__item-badge svg { width: 22px; height: 22px; color: var(--mo-deep); }
.usecase__item h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; font-size: 1.02rem; margin: 0 0 3px; }
.usecase__item p { font-size: 0.84rem; color: rgba(255, 255, 255, 0.8); margin: 0; }

/* ---------- Philosophy bands ---------- */
.band { position: relative; padding: 70px 0; overflow: hidden; }
.band--light { background: #fff; }
.band--alt { background: var(--mo-bg); }
.band--dark { background: var(--hero-gradient); color: #fff; }
.band--dark .glow-orb { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0, 229, 255, 0.3), transparent 70%); top: -100px; right: -60px; }
.band__icon { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--badge-gradient); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(13, 27, 142, 0.3); }
.band--dark .band__icon { background: var(--cyan-gradient); box-shadow: 0 8px 20px rgba(0, 229, 255, 0.35); }
.band__icon svg { width: 26px; height: 26px; color: #fff; }
.band--dark .band__icon svg { color: var(--mo-deep); }
.band__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 20px; text-align: center; }
.band__eyebrow { display: inline-flex; font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mo-deep); background: var(--cyan-gradient); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.band--light .band__eyebrow, .band--alt .band__eyebrow { color: #fff; background: var(--badge-gradient); }
.band h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.5rem, 6vw, 2.2rem); color: var(--mo-navy); margin: 0 0 16px; }
.band--dark h2 { color: #fff; }
.band blockquote { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(1.2rem, 4vw, 1.6rem); line-height: 1.35; margin: 0 0 18px; color: var(--mo-navy); }
.band--dark blockquote { color: #fff; text-shadow: 0 2px 20px rgba(0, 229, 255, 0.2); }
.band p { font-size: 1rem; }
.band--dark p { color: rgba(255, 255, 255, 0.88); }
.band .ekg-strip { max-width: 340px; margin: 22px auto 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--mo-sidebar); color: rgba(255, 255, 255, 0.85); padding: 50px 0 34px; text-align: center; overflow: hidden; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer .ekg-strip { max-width: 340px; margin: 0 auto 22px; }
.site-footer__logo { background: #fff; display: inline-flex; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; box-shadow: var(--shadow-glow); }
.site-footer__logo img { height: 28px; }
.site-footer p { margin: 4px 0; font-size: 0.85rem; }
.site-footer a { color: var(--mo-cyan); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 10px; }
.wa-float__btn { width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-float); animation: wa-pulse 2.6s ease-in-out infinite; }
.wa-float__icon { width: 30px; height: 30px; }
.wa-float--calm .wa-float__btn { animation: none; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5), var(--shadow-float); } 50% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0), var(--shadow-float); } }
html.reduced-motion .wa-float__btn { animation: none; }
.wa-float__tip { background: #fff; color: var(--mo-navy); font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow-card); opacity: 0; transform: translateX(6px); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; white-space: nowrap; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ================= Responsive ================= */
@media (min-width: 420px) {
  .card__actions { flex-direction: row; }
  .card__btn { width: auto; flex: 1; }
}
@media (min-width: 480px) {
  .brand { gap: 10px; }
  .brand__chip { padding: 6px 9px; }
  .brand__chip img { height: 24px; }
  .brand__word { font-size: 0.92rem; }
  .nav-links { gap: 4px; }
  .nav-links a { font-size: 0.8rem; padding: 8px 12px; }
  .nav-links__full { display: inline; }
  .nav-links__short { display: none; }
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; min-height: 380px; }
}
@media (min-width: 760px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 20px; text-align: left; }
  .hero__eyebrow { justify-content: flex-start; }
  .hero p.hero__sub { margin-left: 0; }
  .hero__cta-row { justify-content: flex-start; }
  .usecase__grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: inline-flex; }
}
@media (min-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .hero { padding: 120px 0 50px; }
  .lineup, .catalog, .usecase, .band { padding-top: 100px; padding-bottom: 100px; }
  .card:hover { transform: translateY(-8px) scale(1.01); }
}
