/* ============================================================
   CARSALAB — Design System
   Hanken Grotesk · Azul #1A3C8B · Naranja #F07A00
   ============================================================ */

/* BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  background: #F7F8FB;
  color: #0D1626;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* CSS TOKENS */
:root {
  --blue:   #1A3C8B;
  --navy:   #0D1B4B;
  --orange: #F07A00;
  --black:  #0D1626;
  --gray:   #6B7280;
  --light:  #EEF3FF;
  --white:  #FFFFFF;
  --bg:     #F7F8FB;
  --border: #E5E9F2;
  --shadow-blue: rgba(26,60,139,0.18);
  --shadow-orange: rgba(240,122,0,0.28);
}

/* ============================================================
   OPENING ANIMATION — LENS DISTORTION + REVEAL
   ============================================================ */

@keyframes lens-resolve {
  0%   { transform: scale(1.07) perspective(700px) rotateX(3.5deg) rotateY(-0.4deg);
         filter: blur(14px) brightness(1.1); opacity: 0.72; }
  55%  { transform: scale(1.015) perspective(1000px) rotateX(0.8deg) rotateY(0);
         filter: blur(3px) brightness(1.02); opacity: 0.95; }
  100% { transform: scale(1) perspective(1400px) rotateX(0) rotateY(0);
         filter: blur(0) brightness(1); opacity: 1; }
}

#pw {
  animation: lens-resolve 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: 50% 30%;
}

/* Hero element reveals (staggered on load) */
@keyframes reveal-up {
  0%   { opacity: 0; filter: blur(10px);
         transform: translateY(20px) scaleX(0.95) scaleY(0.88);
         transform-origin: center bottom; }
  65%  { filter: blur(1.5px); }
  100% { opacity: 1; filter: blur(0);
         transform: translateY(0) scaleX(1) scaleY(1); }
}

.rev {
  opacity: 0;
  animation: reveal-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.22s + var(--d, 0s));
}

/* Scroll-triggered reveals */
.scroll-rev {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  filter: blur(8px);
  transition:
    opacity  0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter   0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--sd, 0s);
}
.scroll-rev.in-view { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ============================================================
   SITE HEADER
   ============================================================ */

#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 100px;
  margin-bottom: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  background: transparent;
  pointer-events: none;
}

/* ── Outer glass ring — thin dark glass layer around the pill */
.glass-outer {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  border-radius: 26px;
  padding: 5px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0  2px  8px rgba(0, 0, 0, 0.12),
    0 10px 32px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* ── Glass pill — logo + nav + ML ────────────────────── */
.glass-nav {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 5px 6px;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);

  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow:
    0  1px  2px rgba(0, 0, 0, 0.04),
    0  4px 12px rgba(0, 0, 0, 0.08);
}

.glass-nav::before { content: none; }
.glass-nav::after  { content: none; }

/* Logo — primer flex item dentro del pill */
.glass-nav-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  z-index: 1;
  margin-left: 6px;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
}

.glass-nav-logo::before,
.glass-nav-logo::after { content: none; }

.glass-nav-logo:hover { transform: scale(1.04); }
.glass-nav-logo:focus-visible { outline: 2px solid #1A3C8B; outline-offset: 4px; border-radius: 4px; }

.glass-nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-glass-bg { display: none; }

/* Vertical divider */
.glass-nav-divider {
  position: relative;
  z-index: 1;
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
  margin: 0 8px;
}

/* Nav links inside pill */
.glass-nav ul {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0 6px 0 0;
}

@keyframes chip-drop-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}

/* ── Nav links ───────────────────────────────────────────── */
.nav-link {
  display: block;
  text-decoration: none;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: rgba(13, 22, 38, 0.60);
  padding: 9px 15px;
  border-radius: 14px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-link:hover  { color: #0D1626; background: rgba(0, 0, 0, 0.05); }
.nav-link:active { transform: scale(0.97); }
.nav-link.active { color: #1A3C8B; background: rgba(26, 60, 139, 0.08); pointer-events: none; cursor: default; }
.nav-link:focus-visible { outline: 2px solid #1A3C8B; outline-offset: 2px; border-radius: 10px; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  color: white; background: var(--blue);
  padding: 13px 26px; border-radius: 12px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow-blue), 0 1px 4px rgba(26,60,139,0.12);
  transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
}
.btn-primary:hover { background: #132F70; box-shadow: 0 6px 20px var(--shadow-blue); }
.btn-primary:active { transform: scale(0.97) translateY(1px); }
.btn-primary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--black); padding: 13px 26px; border-radius: 12px;
  text-decoration: none; border: 1px solid var(--border); background: white;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.1s;
}
.btn-secondary:hover { border-color: #BCC5E0; background: #F4F6FB; }
.btn-secondary:active { transform: scale(0.97) translateY(1px); }
.btn-secondary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px; font-weight: 700;
  color: white; background: var(--orange);
  padding: 13px 26px; border-radius: 12px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow-orange);
  transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
}
.btn-orange:hover { background: #D96C00; box-shadow: 0 6px 20px var(--shadow-orange); }
.btn-orange:active { transform: scale(0.97) translateY(1px); }
.btn-orange:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  color: white; padding: 13px 26px; border-radius: 12px;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-ghost:active { transform: scale(0.97) translateY(1px); }
.btn-ghost:focus-visible { outline: 2px solid white; outline-offset: 3px; }

/* Arrow SVG inside buttons */
.btn-arrow { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   PAGE HERO (compact — inner pages)
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, #1A3C8B 0%, #0D1B4B 100%);
  padding: 104px 32px 80px; /* top padding accounts for floating header */
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,122,0,0.06) 0%, transparent 70%);
  right: -120px; top: -200px; pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  left: -60px; bottom: -100px; pointer-events: none;
}
.page-hero-inner {
  max-width: 1320px; margin: 0 auto; position: relative; z-index: 1;
}
.page-hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.0; color: white;
}

/* Logo standing in for the page title — reversed (white) lockup so it
   reads directly on the hero gradient, no backing card needed. */
.page-hero-logo { margin: 0; line-height: 0; }
.page-hero-logo img {
  height: clamp(80px, 10vw, 140px); width: auto; display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}
.page-hero-sub {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.55);
  max-width: 50ch; margin-top: 16px;
}

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee-section { background: var(--navy); padding: 18px 0; overflow: hidden; }

.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.marquee-sep {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}

/* ============================================================
   PROVIDERS STRIP
   ============================================================ */

.providers-section { max-width: 1320px; margin: 0 auto; padding: 72px 32px; }

.section-eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9CA3AF;
  margin-bottom: 36px; text-align: center;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 36px 48px;
  align-items: center;
  justify-items: center;
}

.provider-logo {
  height: 28px; width: 100%; max-width: 110px; object-fit: contain;
  filter: grayscale(100%) opacity(0.38);
  transition: filter 0.28s, transform 0.22s;
}
.provider-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.06); }

/* Providers extra — colapsa con max-height para que no ocupe espacio */
.providers-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.providers-extra.is-open {
  max-height: 1200px;
}
.providers-extra-grid {
  padding-top: 32px;
}
.providers-extra-grid .provider-logo {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  transition-delay: var(--delay, 0s);
}
.providers-extra.is-open .providers-extra-grid .provider-logo {
  opacity: 1;
  transform: translateY(0);
}

/* Botón Ver más */
.providers-toggle-wrap {
  display: flex; justify-content: center; margin-top: 40px;
}
.providers-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: #374151; cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.18s;
}
.providers-toggle:hover {
  background: #F07A00; border-color: #F07A00; color: #fff;
}
.providers-toggle:active { transform: scale(0.96); }
.providers-toggle .toggle-icon {
  width: 16px; height: 16px; flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.providers-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 3.8vw, 52px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.06; color: var(--black);
}

.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  text-decoration: none;
  transition: gap 0.2s, color 0.18s;
}
.section-link:hover { gap: 10px; color: var(--navy); }
.section-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px;
}

/* ============================================================
   CATEGORIES BENTO GRID
   ============================================================ */

.categories-section { max-width: 1320px; margin: 0 auto; padding: 0 32px 96px; }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 280px 240px;
  gap: 14px;
}

.cat-card {
  position: relative; border-radius: 22px; overflow: hidden;
  display: block; text-decoration: none; cursor: pointer;
}
.cat-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.cat-card-minera    { grid-column: 1 / 2; grid-row: 1 / 3; }
.cat-card-diagnostico { grid-column: 2 / 4; grid-row: 1 / 2; }
.cat-card-educacion { grid-column: 2 / 3; grid-row: 2 / 3; }
.cat-card-hospitales { grid-column: 3 / 4; grid-row: 2 / 3; }

.cat-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card:hover .cat-img { transform: scale(1.06); }

.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,75,0.9) 0%, rgba(13,27,75,0.35) 55%, rgba(13,27,75,0.08) 100%);
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(13,27,75,0.95) 0%, rgba(13,27,75,0.5) 55%, rgba(13,27,75,0.15) 100%); }

.cat-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 26px 28px;
  display: flex; flex-direction: column;
}
.cat-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.48);
  display: block; margin-bottom: 9px;
}
.cat-title {
  font-size: 21px; font-weight: 800; letter-spacing: -0.03em;
  color: white; line-height: 1.12; margin-bottom: 10px;
}
.cat-card-minera .cat-title { font-size: 28px; }
.cat-desc {
  font-size: 12.5px; color: rgba(255,255,255,0.52); line-height: 1.52;
  max-width: 30ch; margin-bottom: 14px;
}
.cat-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(240,122,0,0.85); border: 1px solid rgba(240,122,0,0.5);
  flex-shrink: 0; align-self: flex-start;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.cat-arrow svg { width: 14px; height: 14px; color: white; flex-shrink: 0; }
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   ABOUT / TEASER
   ============================================================ */

.about-section { background: white; padding: 96px 32px; }
.about-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-text {
  font-size: 16.5px; line-height: 1.78; color: var(--gray);
  margin-bottom: 36px;
}

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.stat-card {
  background: white; border-radius: 20px;
  padding: 28px 24px; border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,60,139,0.04);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--orange);
}
.stat-num {
  font-size: 52px; font-weight: 800; letter-spacing: -0.06em;
  color: var(--blue); line-height: 0.9; margin-bottom: 10px;
}
.stat-label { font-size: 13px; color: var(--gray); line-height: 1.45; font-weight: 500; }

/* ============================================================
   IMMUTEST SPOTLIGHT
   ============================================================ */

.immutest-section {
  background: #F07A00; padding: 56px 40px;
  position: relative; overflow: hidden;
}
.immutest-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%,
    rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.immutest-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}

.immutest-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(240,122,0,0.3); padding: 6px 14px;
  border-radius: 9999px; margin-bottom: 20px;
}

.immutest-h2 {
  font-size: clamp(48px, 6vw, 80px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 0.95; color: white;
  margin-bottom: 20px;
}

.immutest-text {
  font-size: 16.5px; line-height: 1.75;
  color: rgba(255,255,255,0.55); max-width: 42ch; margin-bottom: 36px;
}

.immutest-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 40px; width: 100%;
  backdrop-filter: blur(16px);
}
.immutest-logo {
  font-size: 40px; font-weight: 800; letter-spacing: -0.04em;
  color: white; line-height: 1; margin-bottom: 14px;
}
.immutest-logo span { color: var(--orange); }

.immutest-params {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.param-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 12px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
}
.immutest-card-text {
  font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 0;
}
.immutest-card-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.immutest-stat {
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.immutest-stat:first-child { padding-left: 0; }
.immutest-stat:last-child { border-right: none; }
.immutest-stat-num {
  font-size: 28px; font-weight: 800; letter-spacing: -0.04em;
  color: white; line-height: 1; margin-bottom: 5px;
}
.immutest-stat-unit {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45);
  letter-spacing: 0; margin-left: 1px;
}
.immutest-stat-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(255,255,255,0.32); line-height: 1.4;
}

/* ============================================================
   CERTUM CARD
   ============================================================ */

/* ── CERTUM: fondo naranja, texto blanco ── */

/* badge override: blanco sobre naranja */
.immutest-section .immutest-badge {
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.certum-left {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}

.certum-headline { display: flex; flex-direction: column; gap: 8px; }

.certum-name {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900; letter-spacing: -0.03em;
  line-height: 0.9; color: white; margin: 0;
}

/* pill invertido: blanco con texto naranja */
.certum-type-pill {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.45);
  color: white; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 9999px;
  width: fit-content;
}

/* stat sin tarjeta, directo sobre naranja */
.certum-hero-stat {
  display: flex; align-items: center; gap: 14px;
  background: none; border: none; border-radius: 0; padding: 0;
  width: fit-content;
}
.certum-hero-num {
  font-size: 48px; font-weight: 900;
  letter-spacing: -0.05em; color: white; line-height: 1;
}
.certum-hero-unit {
  font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.9); line-height: 1;
}
.certum-hero-desc {
  font-size: 11.5px; color: rgba(255,255,255,0.65);
  margin-top: 3px; line-height: 1.3;
}

/* texto descripción */
.immutest-section .immutest-text {
  color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 38ch;
}

/* chips */
.certum-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.certum-chip {
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.38);
  padding: 5px 13px; border-radius: 9999px;
  white-space: nowrap;
}

/* botón CTA invertido: blanco bg, naranja texto */
.immutest-section .btn-orange {
  background: white; color: #E06800;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.immutest-section .btn-orange:hover {
  background: #fff8f0; transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* columna imagen */
.certum-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.certum-visual::before { display: none; }
/* soft depth glow behind the card so the visual column doesn't read as flat empty orange */
.certum-visual::after {
  content: '';
  position: absolute; z-index: 0;
  width: 84%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0.06) 55%, transparent 78%);
  filter: blur(4px);
}

.certum-visual-img {
  position: relative; z-index: 1;
  width: 92%; height: auto; max-height: 460px;
  object-fit: contain; display: block;
  animation: certum-float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 32px 48px rgba(180,62,0,0.28));
}

@keyframes certum-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-section { max-width: 1320px; margin: 0 auto; padding: 80px 32px 96px; }

/* When the CTA follows the providers marquee directly (no section in between),
   the two sections' paddings stack into an oversized gap — tighten it. */
.providers-section ~ .cta-section { padding-top: 24px; }

.cta-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 28px; padding: 72px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  right: -100px; top: -150px; pointer-events: none;
}
.cta-title {
  font-size: clamp(26px, 3vw, 44px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.1; color: white;
  position: relative; z-index: 1;
}
.cta-title span { color: var(--orange); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer { background: white; border-top: 1px solid var(--border); padding: 56px 32px 32px; }
.footer-inner { max-width: 1320px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border); margin-bottom: 32px;
}

.footer-logo { height: 34px; width: auto; display: block; margin-bottom: 14px; }
.footer-tagline { font-size: 13.5px; color: #9CA3AF; line-height: 1.65; max-width: 30ch; }

.footer-col-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--black); margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-link {
  text-decoration: none; font-size: 13.5px; color: var(--gray);
  transition: color 0.18s;
}
.footer-link:hover { color: var(--black); }
.footer-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.footer-contact-item { font-size: 13.5px; color: var(--gray); margin-bottom: 12px; line-height: 1.5; }
.footer-contact-item strong { color: var(--black); font-weight: 600; display: block; margin-bottom: 2px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-copy { font-size: 12.5px; color: #9CA3AF; }

/* ============================================================
   PRODUCTS PAGE — FILTER + GRID
   ============================================================ */

.prod-section { max-width: 1320px; margin: 0 auto; padding: 64px 32px 96px; }

.filter-tabs {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 48px;
  border-bottom: 1px solid var(--border); padding-bottom: 0;
}

.filter-tab {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--gray); background: none; border: none;
  padding: 12px 20px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  position: relative; bottom: -1px;
}
.filter-tab:hover { color: var(--black); }
.filter-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.filter-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.prod-card {
  background: white; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(13,22,38,0.04), 0 8px 24px -8px rgba(13,22,38,0.06);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(13,22,38,0.06), 0 20px 48px -12px rgba(13,22,38,0.1);
}

.prod-card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
}

.prod-card-body { padding: 24px; }

.prod-card-cat {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}

.prod-card-title {
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--black); line-height: 1.3; margin-bottom: 16px;
}

.prod-card-brands {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.brand-chip {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gray); background: #F7F8FB; border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 9999px;
}

/* Hide animation for filtered items */
.prod-item { transition: opacity 0.25s, transform 0.25s; }
.prod-item.hidden { display: none; }

/* ============================================================
   EMPRESA PAGE
   ============================================================ */

.empresa-section { max-width: 1320px; margin: 0 auto; padding: 80px 32px; }

.empresa-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

.empresa-image-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/3;
}
.empresa-image-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.empresa-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,60,139,0.15) 0%, transparent 60%);
}

.empresa-body h2 {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.08; color: var(--black);
  margin-bottom: 20px;
}
.empresa-body p {
  font-size: 16px; line-height: 1.78; color: var(--gray); margin-bottom: 24px;
}

.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 88px;
}

.mv-card {
  position: relative; overflow: hidden;
  background: white; border-radius: 20px;
  border: 1px solid var(--border); padding: 36px;
  box-shadow: 0 2px 8px rgba(13,22,38,0.04);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.mv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(13,22,38,0.08);
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
}
.mv-card-mission::before { background: var(--blue); }
.mv-card-vision::before { background: var(--orange); }

.mv-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.mv-card-mission .mv-card-icon { background: var(--light); }
.mv-card-mission .mv-card-icon svg { color: var(--blue); }
.mv-card-vision .mv-card-icon { background: #FFF1E2; }
.mv-card-vision .mv-card-icon svg { color: var(--orange); }
.mv-card-icon svg { width: 22px; height: 22px; }

.mv-card h3 {
  font-size: 18px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--black); margin-bottom: 12px;
}
.mv-card p {
  font-size: 14px; line-height: 1.7; color: var(--gray);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section { max-width: 1320px; margin: 0 auto; padding: 80px 32px 56px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start;
}

.contact-info-block { margin-bottom: 36px; }
.contact-info-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.contact-info-value {
  font-size: 15.5px; color: var(--black); line-height: 1.6; font-weight: 500;
}
.contact-info-value a { color: var(--blue); text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 0; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-size: 12.5px; font-weight: 600; color: var(--black); letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14.5px; color: var(--black);
  background: white; border: 1px solid #DDE3F0;
  border-radius: 10px; padding: 12px 16px;
  width: 100%; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #B0B8C8; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,60,139,0.1);
}

.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.form-submit { margin-top: 24px; }

/* Wrapper aligns map to the same max-width as the page content */
.contact-map-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px 0;
}

.contact-map {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(13,22,38,0.06);
}
.contact-map iframe { width: 100%; height: 400px; display: block; border: none; }

@media (max-width: 768px) {
  .contact-map-wrap { padding: 0 20px 0; }
}

/* ============================================================
   ISO 9001:2015 CERTIFICATION
   ============================================================ */

/* ISO cert seal — inside the hero glass card (index.html slide 1) */
.g-cert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.g-cert-seal {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: white;
  padding: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.g-cert-seal img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.g-cert-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 3px;
}
.g-cert-name {
  font-size: 14.5px; font-weight: 800;
  letter-spacing: -0.02em; color: white;
}

/* ISO Certification card — empresa.html */
.iso-cert-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.iso-cert-card {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, #EEF3FF 0%, #F8FAFF 100%);
  border: 1px solid rgba(26,60,139,0.11);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(26,60,139,0.05);
}
.iso-cert-logo {
  width: 88px; height: 88px;
  object-fit: contain; flex-shrink: 0;
  border-radius: 12px;
  background: white;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(26,60,139,0.1);
}
.iso-cert-body { flex: 1; }
.iso-cert-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(26,60,139,0.08);
  padding: 4px 12px; border-radius: 9999px;
  margin-bottom: 12px;
}
.iso-cert-chip svg { width: 11px; height: 11px; }
.iso-cert-title {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--black);
  margin-bottom: 8px;
}
.iso-cert-text {
  font-size: 14px; line-height: 1.7; color: var(--gray);
}

/* ============================================================
   MERCADO LIBRE NAV BUTTON
   ============================================================ */

.ml-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 34px;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  background: #FFE600;
  padding: 0;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.08),
    0 0 14px rgba(255,230,0,0.48);
  transition: transform 0.18s cubic-bezier(0.16,1,0.3,1), box-shadow 0.18s;
  position: relative;
}
.ml-nav-btn img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.ml-nav-btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.16),
    0 4px 14px rgba(0,0,0,0.12),
    0 0 22px rgba(255,230,0,0.7);
}
.ml-nav-btn:active { transform: scale(0.95); }
.ml-nav-btn:focus-visible {
  outline: 2px solid #FFE600;
  outline-offset: 2px;
}

/* Tooltip */
.ml-nav-btn::after {
  content: 'Ver en Mercado Libre';
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0D1626;
  color: white;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px; border-radius: 7px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  font-family: 'Hanken Grotesk', sans-serif;
}
.ml-nav-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .ml-nav-btn { width: 46px; height: 28px; border-radius: 9999px; padding: 0; }
  .ml-nav-btn::after { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr; grid-template-rows: auto;
  }
  .cat-card-minera    { grid-column: 1 / 3; grid-row: 1; height: 260px; }
  .cat-card-diagnostico { grid-column: 1 / 2; grid-row: 2; }
  .cat-card-educacion { grid-column: 2 / 3; grid-row: 2; }
  .cat-card-hospitales { grid-column: 1 / 3; grid-row: 3; height: 220px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mv-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .providers-grid { grid-template-columns: repeat(6, 1fr); gap: 32px 36px; }
}

@media (max-width: 768px) {
  /* Glass pill compact — left-aligned, same glass look as desktop */
  #site-header { height: 80px; margin-bottom: -80px; padding: 0 12px; justify-content: flex-start; }
  .glass-outer { width: max-content; }
  .glass-nav {
    padding: 5px 8px;
    justify-content: flex-start;
    gap: 4px;
  }
  .glass-nav-logo { margin-left: 0; }
  .glass-nav ul { display: none; }
  .glass-nav .glass-nav-divider { display: none; }
  .glass-nav > nav { display: none; }
  .glass-nav .ml-nav-btn { margin-left: 4px; }

  .page-hero { padding: 92px 20px 64px; }
  .providers-section { padding: 40px 20px; }
  .providers-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 28px; }
  .categories-section { padding: 0 20px 72px; }
  .cta-section { padding: 80px 20px 72px; }

  .iso-cert-wrap { padding: 0 20px 64px; }
  .iso-cert-card { flex-direction: column; text-align: center; padding: 28px 24px; gap: 20px; }
  .iso-cert-logo { width: 72px; height: 72px; }
  .iso-cert-text { max-width: 100%; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .immutest-inner { grid-template-columns: 1fr; gap: 48px; }

  .cta-card { flex-direction: column; padding: 40px 24px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline { width: 100%; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer { padding: 48px 20px 24px; }

  .cat-grid {
    grid-template-columns: 1fr; grid-template-rows: auto;
  }
  .cat-card-minera, .cat-card-diagnostico,
  .cat-card-educacion, .cat-card-hospitales {
    grid-column: 1; grid-row: auto; height: 220px;
  }

  .empresa-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }

  .about-section { padding: 56px 20px; }
  .immutest-section { padding: 56px 20px; }
  .empresa-section { padding: 48px 20px; }
  .contact-section { padding: 48px 20px 56px; }
  .prod-section { padding: 40px 20px 56px; }

  .section-header { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   LARGE SCREEN BREAKPOINT (≥1600px)
   ============================================================ */
@media (min-width: 1600px) {
  .providers-section,
  .categories-section,
  .cta-section,
  .footer-inner,
  .prod-section,
  .empresa-section,
  .contact-section,
  .productos-section,
  .productos-inner {
    max-width: 1560px;
  }
  .glass-outer {
    max-width: 900px;
  }
}

/* ============================================================
   PRODUCTOS PAGE — EXTENDED CARD SYSTEM
   ============================================================ */

.productos-section { max-width: 1320px; margin: 0 auto; padding: 64px 32px 96px; }
.productos-inner { max-width: 1320px; }

/* Card image area — supports real images or color backgrounds */
.prod-card-img {
  width: 100%; height: 200px; overflow: hidden; position: relative;
  background: var(--light);
}
.prod-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.prod-card:hover .prod-card-img img { transform: scale(1.05); }

.prod-card-img--orange { background: linear-gradient(135deg, #F07A00 0%, #C75C00 100%); }
.prod-card-img--navy   { background: linear-gradient(135deg, #0D1B4B 0%, #1A3C8B 100%); }
.prod-card-img--teal   { background: linear-gradient(135deg, #0B6E6E 0%, #0D4B4B 100%); }
.prod-card-img--slate  { background: linear-gradient(135deg, #374151 0%, #1F2937 100%); }

.prod-card-icon-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.prod-card-icon-wrap svg { width: 56px; height: 56px; opacity: 0.7; }

.prod-card-sector-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: white;
  background: rgba(0,0,0,0.32); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.15);
}

.prod-card-body { padding: 22px 24px 24px; }
.prod-card-body h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--black); line-height: 1.3; margin-bottom: 8px;
}
.prod-card-body p {
  font-size: 13.5px; line-height: 1.65; color: var(--gray); margin-bottom: 16px;
}

.prod-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-brand-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gray); background: #F0F3FA;
  border: 1px solid var(--border); padding: 3px 9px; border-radius: 9999px;
}
.prod-brand-tag--orange {
  color: var(--orange); background: rgba(240,122,0,0.08); border-color: rgba(240,122,0,0.22);
}

/* ============================================================
   CONTACT PAGE — INFO SIDE
   ============================================================ */

.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.08; color: var(--black);
  margin-bottom: 16px; margin-top: 10px;
}

.contact-info-items { display: flex; flex-direction: column; gap: 28px; }

.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
}

.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }

.contact-form-wrap {
  background: white; border-radius: 24px;
  border: 1px solid var(--border); padding: 40px;
  box-shadow: 0 4px 24px rgba(13,22,38,0.06);
}

.btn-submit {
  width: 100%; justify-content: center;
  font-size: 15px; padding: 15px 28px; border-radius: 12px;
  margin-top: 8px;
  transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-note {
  font-size: 12.5px; color: #9CA3AF; text-align: center;
  margin-top: 14px; line-height: 1.5;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */

.wa-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 300;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow:
    0 4px 14px rgba(37,211,102,0.42),
    0 2px 6px rgba(0,0,0,0.14);
  transition:
    transform 0.2s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.2s;
}
.wa-fab svg { width: 30px; height: 30px; }

.wa-fab:hover {
  transform: scale(1.09);
  box-shadow:
    0 6px 22px rgba(37,211,102,0.52),
    0 4px 10px rgba(0,0,0,0.18);
}
.wa-fab:active { transform: scale(0.95); }
.wa-fab:focus-visible { outline: 3px solid #25D366; outline-offset: 3px; }

/* Pulse ring */
.wa-fab::before {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.38);
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Tooltip */
.wa-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: #0D1626;
  color: white;
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.18s, transform 0.18s;
}
.wa-fab-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0D1626;
}
.wa-fab:hover .wa-fab-tooltip,
.wa-fab:focus-visible .wa-fab-tooltip { opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {
  .wa-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab-tooltip { display: none; }
}

/* ============================================================
   MOBILE NAV — HAMBURGER BUTTON + OVERLAY SHEET
   ============================================================ */

.hamburger-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: none; background: none;
  cursor: pointer; border-radius: 12px;
  color: #0D1626;
  margin-left: 6px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.hamburger-btn:hover  { background: rgba(0,0,0,0.06); }
.hamburger-btn:active { transform: scale(0.93); }
.hamburger-btn:focus-visible { outline: 2px solid #1A3C8B; outline-offset: 2px; border-radius: 10px; }

.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 400;
  background: rgba(7,14,32,0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: flex-start; justify-content: center;
  padding-top: 88px;
  padding-left: 16px; padding-right: 16px;
}
.mobile-nav-overlay.open { display: flex; }

.mobile-nav-sheet {
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 22px;
  padding: 10px;
  box-shadow:
    0 4px 16px rgba(7,14,32,0.1),
    0 24px 64px rgba(7,14,32,0.2);
}

.mobile-nav-link {
  display: flex; align-items: center;
  padding: 13px 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(13,22,38,0.6); text-decoration: none;
  border-radius: 14px;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav-link:hover  { color: #0D1626; background: rgba(0,0,0,0.04); }
.mobile-nav-link.active { color: #1A3C8B; background: rgba(26,60,139,0.08); }

.mobile-nav-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 8px 6px;
}

.mobile-nav-ml-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
  color: #1B3A8B; text-decoration: none;
  border-radius: 14px;
  background: #FFE600;
  transition: background 0.15s;
}
.mobile-nav-ml-btn:hover  { background: #f5d800; }
.mobile-nav-ml-btn:active { transform: scale(0.98); }
.mobile-nav-ml-btn img {
  width: 22px; height: 22px;
  object-fit: contain; display: block;
}

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
}

@media (max-width: 768px) {
  .productos-section { padding-left: 20px; padding-right: 20px; }
  .filter-tabs {
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
    margin-bottom: 32px;
    padding-bottom: 0;
  }
  .filter-tab {
    width: 100%;
    text-align: center;
    padding: 13px 16px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    border-bottom: 1.5px solid var(--border);
    position: static;
    bottom: auto;
    box-sizing: border-box;
  }
  .filter-tab.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
  }
}
