/* ==========================================================================
   BIOTRON — Hoja de estilos del sitio
   Basada en el Manual de Marca e Identidad Visual (agosto 2026)
   Paleta: BIOTRON Blue #16264E · BIOTRON Gray #A3A2A6
   Tipografía: Lato (Regular / SemiBold / Heavy / Black)
   ========================================================================== */

:root{
  /* ---- Paleta institucional (manual, sección 04) ---- */
  --blue:        #16264E;   /* BIOTRON Blue — color institucional principal */
  --blue-600:    #1E3566;   /* variante hover/activa, derivada del azul */
  --blue-50:     #EEF1F6;   /* tinte muy suave de azul para fondos de sección */
  --blue-100:    #E2E7EF;
  --gray:        #A3A2A6;   /* BIOTRON Gray — color secundario / acabado */
  --gray-200:    #E3E2E4;   /* tinte de gris para bordes y líneas finas */
  --gray-100:    #F3F2F3;   /* panel gris muy suave */
  --white:       #FFFFFF;

  /* ---- Texto (derivado del azul institucional, nunca un color ajeno) ---- */
  --text-head:   #16264E;
  --text-body:   #4C5670;
  --text-muted:  #7E879C;

  /* ---- Tipografía (manual, sección 05) ---- */
  --font: 'Lato', Arial, sans-serif;

  /* ---- Geometría: esquinas discretas, sin formas redondeadas (manual 07/09) ---- */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(22,38,78,.06);
  --shadow-md: 0 10px 30px rgba(22,38,78,.08);

  --line: var(--gray-200);
  --line-on-blue: rgba(255,255,255,.16);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font);
  background:var(--white);
  color:var(--text-body);
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.65;
}
::selection{ background:var(--blue); color:var(--white); }
a{ text-decoration:none; }
img{ max-width:100%; display:block; }

h1,h2,h3,h4,h5,h6{
  font-family:var(--font);
  color:var(--text-head);
  font-weight:900; /* Lato Black */
  letter-spacing:-.005em;
  line-height:1.18;
  margin:0;
}

.eyebrow{
  font-family:var(--font);
  font-weight:700; /* Lato SemiBold */
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blue);
  display:inline-flex;
  align-items:center;
  gap:.6rem;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--gray);
  display:inline-block;
}
.eyebrow.on-blue{ color:var(--white); }
.eyebrow.on-blue::before{ background:rgba(255,255,255,.55); }

.mono{ font-family:var(--font); letter-spacing:.04em; }

.heading-xl{ font-size:clamp(2.1rem, 4.4vw, 3.4rem); font-weight:900; }
.heading-lg{ font-size:clamp(1.7rem, 3vw, 2.35rem); font-weight:800; } /* Heavy */
.heading-md{ font-size:1.3rem; font-weight:800; }

.lede{ color:var(--text-body); font-size:1.03rem; line-height:1.75; }
.lede-sm{ color:var(--text-body); font-size:.95rem; line-height:1.7; }

/* ===================== NAVBAR ===================== */
.navbar-biotron{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:1.15rem 0;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  border-bottom:1px solid transparent;
  transition:background .3s ease, border-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.navbar-biotron.is-scrolled{
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  padding:.75rem 0;
  box-shadow:var(--shadow-sm);
}

.brand-lockup{ display:flex; align-items:center; gap:.65rem; }
.brand-lockup svg{ height:30px; width:auto; flex-shrink:0; }
.brand-word{
  font-family:var(--font);
  font-weight:900;
  font-size:1.05rem;
  letter-spacing:.22em;
  color:var(--blue);
  display:block;
}
.brand-sub{
  font-family:var(--font);
  font-weight:700;
  font-size:.52rem;
  letter-spacing:.2em;
  color:var(--gray);
  display:block;
  margin-top:1px;
}
/* negative lockup, used on BIOTRON Blue backgrounds */
.brand-lockup.on-blue .brand-word{ color:var(--white); }
.brand-lockup.on-blue .brand-sub{ color:rgba(255,255,255,.6); }
.brand-lockup.on-blue svg .mol-line{ stroke:rgba(255,255,255,.55); }
.brand-lockup.on-blue svg .mol-node{ fill:rgba(255,255,255,.55); stroke:rgba(255,255,255,.55); }

.nav-link-biotron{
  font-family:var(--font);
  font-weight:700; /* SemiBold */
  font-size:.85rem;
  color:var(--text-body);
  margin:0 .85rem;
  padding:.4rem 0;
  border-bottom:2px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.nav-link-biotron:hover,
.nav-link-biotron.is-active{ color:var(--blue); border-color:var(--blue); }

/* ===================== BOTONES (manual 09: componentes de interfaz) ===================== */
.btn-biotron-primary{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  background:var(--blue);
  color:var(--white);
  font-family:var(--font); font-weight:700; font-size:.85rem;
  padding:.78rem 1.5rem;
  border-radius:var(--radius-sm);
  border:1px solid var(--blue);
  transition:background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-biotron-primary:hover{ background:var(--blue-600); color:var(--white); transform:translateY(-1px); box-shadow:var(--shadow-md); }

.btn-biotron-secondary{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  background:var(--white);
  color:var(--blue);
  font-family:var(--font); font-weight:700; font-size:.85rem;
  padding:.78rem 1.5rem;
  border-radius:var(--radius-sm);
  border:1px solid var(--blue);
  transition:background .2s ease, color .2s ease;
}
.btn-biotron-secondary:hover{ background:var(--blue-50); }

/* secondary button variant for use on navy backgrounds */
.btn-biotron-secondary.on-blue{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.45);
}
.btn-biotron-secondary.on-blue:hover{ background:rgba(255,255,255,.08); border-color:var(--white); }

/* ===================== HERO ===================== */
.hero{
  position:relative;
  padding:10.5rem 0 5rem;
  background:var(--white);
  overflow:hidden;
}
.hero-eyebrow{ color:var(--blue); }
.hero h1{ margin:1.1rem 0 1.4rem; max-width:17ch; }
.hero .lede{ max-width:46ch; }

.hero-figure{
  position:relative;
  display:flex; align-items:center; justify-content:center;
}
.hero-figure svg{ width:100%; max-width:380px; height:auto; }
.hero-figure .mol-line{ stroke:var(--gray); }
.hero-figure .mol-node{ fill:var(--white); stroke:var(--gray); }

.hero-stats{
  border-top:1px solid var(--line);
  margin-top:4rem;
  padding-top:1.9rem;
}
.hero-stat-num{ font-family:var(--font); font-weight:900; font-size:1.9rem; color:var(--blue); }
.hero-stat-label{
  font-family:var(--font); font-weight:700; font-size:.65rem;
  letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted);
  margin-top:.25rem;
}

/* ===================== SECTION SHELLS ===================== */
section{ position:relative; }
.section-white{ background:var(--white); padding:6rem 0; }
.section-tint{ background:var(--blue-50); padding:6rem 0; }
.section-gray{ background:var(--gray-100); padding:6rem 0; }

/* "bloque en BIOTRON Blue" — usado con moderación, nunca como tono por defecto */
.section-blue{
  background:var(--blue);
  color:var(--white);
  padding:6rem 0;
}
.section-blue .heading-lg,
.section-blue h2, .section-blue h3{ color:var(--white); }
.section-blue .lede, .section-blue .lede-sm{ color:rgba(255,255,255,.72); }
.section-blue .eyebrow{ color:var(--white); }

/* ===================== PILLAR CARDS ===================== */
.pillar-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:2.3rem 2rem;
  height:100%;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.pillar-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:var(--blue-100); }
.pillar-icon{
  width:46px; height:46px;
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  background:var(--blue-50);
  color:var(--blue);
  font-size:1.25rem;
  margin-bottom:1.5rem;
}
.pillar-spec{
  font-family:var(--font); font-weight:700; font-size:.64rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--gray);
  display:block; margin-bottom:.6rem;
}
.pillar-card h3{ font-size:1.3rem; font-weight:800; margin-bottom:.8rem; }
.pillar-card p{ color:var(--text-body); font-size:.92rem; line-height:1.65; margin-bottom:1.3rem; }

.actives-list{ list-style:none; padding:0; margin:0 0 1.5rem; display:flex; flex-wrap:wrap; gap:.4rem; }
.actives-list li{
  font-family:var(--font); font-weight:700; font-size:.68rem; letter-spacing:.02em;
  color:var(--blue);
  background:var(--blue-50);
  border-radius:var(--radius-sm);
  padding:.3rem .65rem;
}
.pillar-link{
  font-family:var(--font); font-weight:700; font-size:.82rem;
  color:var(--blue);
  border-bottom:1px solid var(--blue);
  padding-bottom:2px;
  display:inline-flex; align-items:center; gap:.4rem;
  transition:gap .2s ease;
}
.pillar-link:hover{ gap:.65rem; }

/* ===================== MÉTODO ===================== */
.method-step{ display:flex; gap:1.3rem; padding:1.5rem 0; border-top:1px solid var(--line); }
.method-step:last-child{ border-bottom:1px solid var(--line); }
.method-num{ font-family:var(--font); font-weight:900; font-size:.85rem; color:var(--gray); min-width:2.1rem; }
.method-step h4{ font-family:var(--font); font-weight:800; font-size:1.02rem; margin-bottom:.4rem; color:var(--text-head); }
.method-step p{ color:var(--text-body); font-size:.9rem; line-height:1.6; margin:0; }

.lab-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:2.2rem;
  box-shadow:var(--shadow-sm);
}
.lab-card-header{
  display:flex; justify-content:space-between; align-items:baseline;
  border-bottom:1px solid var(--line);
  padding-bottom:1rem; margin-bottom:1rem;
}
.lab-card-header span{ font-family:var(--font); font-weight:700; font-size:.64rem; letter-spacing:.1em; color:var(--gray); text-transform:uppercase; }
.spec-row{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family:var(--font); font-size:.88rem;
  padding:.8rem 0; border-bottom:1px dashed var(--line);
  color:var(--text-body);
}
.spec-row:last-child{ border-bottom:none; }
.spec-row strong{ color:var(--blue); font-weight:800; }

/* ===================== PRODUCT CARDS ===================== */
.product-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  height:100%;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .25s ease, transform .25s ease;
}
.product-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.product-vial{
  height:180px;
  display:flex; align-items:center; justify-content:center;
  background:var(--gray-100);
  border-bottom:1px solid var(--line);
}
.product-vial svg{ height:110px; width:auto; }
.product-body{ padding:1.5rem 1.4rem 1.7rem; }
.product-tag{
  font-family:var(--font); font-weight:700; font-size:.62rem; letter-spacing:.08em; text-transform:uppercase;
  padding:.25rem .6rem; border-radius:var(--radius-sm); display:inline-block; margin-bottom:.8rem;
}
.tag-care{ background:var(--blue-50); color:var(--blue); }
.tag-beauty{ background:var(--gray-100); color:#55505a; }
.tag-weight{ background:#EEF4F2; color:#1F6E52; }
.product-body h4{ font-family:var(--font); font-weight:800; font-size:1.1rem; margin-bottom:.5rem; color:var(--text-head); }
.product-body p{ color:var(--text-body); font-size:.85rem; line-height:1.55; margin-bottom:1.1rem; }
.product-body a{ font-family:var(--font); font-weight:700; font-size:.8rem; color:var(--blue); border-bottom:1px solid var(--blue-100); padding-bottom:1px; }

/* ===================== TRUST BAND ===================== */
.badge-row{ display:flex; flex-wrap:wrap; gap:.9rem 2rem; }
.trust-badge{ display:flex; align-items:center; gap:.6rem; color:var(--text-head); }
.trust-badge i{ font-size:1.1rem; color:var(--blue); }
.trust-badge span{ font-size:.85rem; font-weight:700; }
.quote-block{
  border-left:3px solid var(--blue);
  padding-left:1.4rem;
  font-family:var(--font); font-size:1.2rem; line-height:1.55; font-weight:800;
  color:var(--text-head);
}
.quote-attr{ font-family:var(--font); font-weight:700; font-size:.7rem; letter-spacing:.06em; color:var(--text-muted); margin-top:1rem; text-transform:uppercase; }

/* ===================== PAGE HEADER (páginas internas) ===================== */
.page-header{
  background:var(--blue-50);
  padding:9.5rem 0 4rem;
  border-bottom:1px solid var(--line);
}
.page-header h1{ margin:1rem 0 1.1rem; max-width:22ch; font-size:clamp(2rem, 3.6vw, 2.75rem); }
.page-header .lede{ max-width:56ch; }
.breadcrumb-biotron{
  font-family:var(--font); font-weight:700; font-size:.7rem; letter-spacing:.06em;
  color:var(--text-muted); text-transform:uppercase;
}
.breadcrumb-biotron a{ color:var(--text-muted); transition:color .2s ease; }
.breadcrumb-biotron a:hover{ color:var(--blue); }

/* ===================== FORMULARIOS (Contacto) ===================== */
.form-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:2.3rem;
  box-shadow:var(--shadow-sm);
}
.form-label-biotron{
  font-family:var(--font); font-weight:700; font-size:.68rem; letter-spacing:.07em;
  text-transform:uppercase; color:var(--text-muted);
  margin-bottom:.5rem; display:block;
}
.form-control-biotron, .form-select-biotron, textarea.form-control-biotron{
  background:var(--white);
  border:1px solid var(--line);
  color:var(--text-head);
  padding:.72rem 1rem;
  border-radius:var(--radius-sm);
  width:100%;
  font-family:var(--font); font-size:.92rem;
}
.form-control-biotron::placeholder{ color:#A9B0BE; }
.form-control-biotron:focus, .form-select-biotron:focus{
  outline:none; border-color:var(--blue);
  box-shadow:0 0 0 3px var(--blue-50);
}
.form-select-biotron{
  appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23A3A2A6' stroke-width='1.5' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat:no-repeat;
  background-position:right 1rem center;
  padding-right:2.4rem;
}

.info-row{ display:flex; gap:1rem; align-items:flex-start; padding:1.15rem 0; border-bottom:1px solid var(--line); }
.info-row:last-child{ border-bottom:none; }
.info-row i{ color:var(--blue); font-size:1.1rem; margin-top:.15rem; }
.info-row h5{ font-family:var(--font); font-weight:800; font-size:.95rem; margin-bottom:.25rem; color:var(--text-head); }
.info-row p{ color:var(--text-body); font-size:.85rem; margin:0; line-height:1.55; }

.form-success{
  display:none;
  background:var(--blue-50);
  border:1px solid var(--blue-100);
  color:var(--blue);
  border-radius:var(--radius-sm);
  padding:1rem 1.2rem;
  font-size:.88rem; font-weight:700;
  margin-bottom:1.5rem;
}
.form-success.is-shown{ display:flex; align-items:center; }

/* ===================== NOSOTROS: valores y principios ===================== */
.value-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:2rem 1.8rem;
  height:100%;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .25s ease, transform .25s ease;
}
.value-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.value-card .pillar-icon{ margin-bottom:1.3rem; }
.value-card h4{ font-family:var(--font); font-weight:800; font-size:1.08rem; margin-bottom:.6rem; color:var(--text-head); }
.value-card p{ color:var(--text-body); font-size:.86rem; line-height:1.6; margin:0; }

.principle-item{ display:flex; gap:1rem; padding:1.3rem 0; border-top:1px solid var(--line); }
.principle-item:last-child{ border-bottom:1px solid var(--line); }
.principle-item i{ color:var(--blue); font-size:1.1rem; margin-top:.2rem; }
.principle-item h5{ font-family:var(--font); font-weight:800; font-size:1rem; margin-bottom:.35rem; color:var(--text-head); }
.principle-item p{ color:var(--text-body); font-size:.88rem; line-height:1.6; margin:0; }

.about-figure{
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  background:var(--blue-50);
  min-height:320px;
  display:flex; align-items:center; justify-content:center;
  padding:2rem;
}
.about-figure svg{ width:72%; max-width:280px; }
.about-figure .mol-line{ stroke:var(--gray); }
.about-figure .mol-node{ fill:var(--blue-50); stroke:var(--gray); }

.mini-stat .num{ font-family:var(--font); font-weight:900; font-size:1.6rem; color:var(--blue); }
.mini-stat .label{ font-family:var(--font); font-weight:700; font-size:.64rem; letter-spacing:.06em; color:var(--text-muted); text-transform:uppercase; margin-top:.15rem; }

.timeline-item{ display:flex; gap:1.2rem; }
.timeline-year{ font-family:var(--font); font-weight:900; font-size:1rem; color:var(--blue); min-width:4.2rem; }
.timeline-item p{ color:var(--text-body); font-size:.88rem; margin:0; line-height:1.6; }

/* ===================== CTA BAND ===================== */
.cta-band{
  background:var(--blue);
  color:var(--white);
  padding:5rem 0;
}

/* ===================== FOOTER ===================== */
footer{ background:var(--blue); color:rgba(255,255,255,.85); padding:4.5rem 0 2rem; }
footer h6{
  font-family:var(--font); font-weight:700; font-size:.66rem; letter-spacing:.1em;
  text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:1.2rem;
}
footer ul{ list-style:none; padding:0; margin:0; }
footer ul li{ margin-bottom:.65rem; }
footer ul li a{ color:rgba(255,255,255,.85); font-size:.88rem; transition:color .2s ease; }
footer ul li a:hover{ color:var(--white); }
footer p{ color:rgba(255,255,255,.65); }
.footer-bottom{
  border-top:1px solid var(--line-on-blue);
  margin-top:3rem; padding-top:1.5rem;
  font-size:.78rem; color:rgba(255,255,255,.55);
}
.social-dot{
  width:34px; height:34px; border-radius:var(--radius-sm);
  border:1px solid var(--line-on-blue);
  display:inline-flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.75); margin-right:.5rem;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.social-dot:hover{ border-color:var(--white); color:var(--white); background:rgba(255,255,255,.06); }

/* ===================== REVEAL ===================== */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* molecule draw-in (signature moment, used once in the hero) */
.mol-draw .mol-line{
  stroke-dasharray:600;
  stroke-dashoffset:600;
  animation:draw 1.8s ease forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .mol-draw .mol-line{ animation:none; stroke-dashoffset:0; }
}

@media (max-width: 991.98px){
  .hero{ padding-top:7.5rem; }
  .page-header{ padding-top:7.5rem; }
}

/* ===================== FICHA DE PRODUCTO (single_product.html) ===================== */
.product-gallery-main{
  background:var(--gray-100);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.product-gallery-main img{ width:100%; height:auto; display:block; }
.gallery-thumbs{ display:flex; gap:.75rem; margin-top:.75rem; }
.gallery-thumb{
  flex:0 0 96px; padding:0; cursor:pointer;
  border:1px solid var(--line); border-radius:var(--radius-sm);
  overflow:hidden; background:var(--gray-100); opacity:.7;
  transition:opacity .2s ease, border-color .2s ease;
}
.gallery-thumb img{ width:100%; height:64px; object-fit:cover; display:block; }
.gallery-thumb:hover{ opacity:1; }
.gallery-thumb.is-active{ opacity:1; border-color:var(--blue); }
.gallery-thumb:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }

.product-title{ font-size:clamp(2rem, 3.6vw, 2.8rem); margin:.9rem 0 .4rem; }
.product-subtitle{ font-weight:700; color:var(--text-muted); font-size:1rem; margin-bottom:1.2rem; }
.product-meta{ display:flex; flex-wrap:wrap; gap:.5rem; margin:1.2rem 0 1.6rem; }
.meta-chip{
  font-weight:700; font-size:.72rem; letter-spacing:.04em;
  color:var(--blue); background:var(--blue-50);
  border-radius:var(--radius-sm); padding:.35rem .7rem;
  display:inline-flex; align-items:center; gap:.4rem;
}
.dose-box{
  border:1px solid var(--line); border-radius:var(--radius);
  padding:1.1rem 1.3rem; margin-bottom:1.6rem;
  display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap;
}
.dose-box .dose-num{ font-weight:900; font-size:2rem; color:var(--blue); line-height:1; }
.dose-box .dose-label{ font-weight:700; font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-top:.3rem; }
.format-switch{ display:flex; gap:.5rem; margin-bottom:1.6rem; flex-wrap:wrap; }
.format-btn{
  font-family:var(--font); font-weight:700; font-size:.8rem;
  background:var(--white); color:var(--blue);
  border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:.55rem 1rem; cursor:pointer;
  transition:border-color .2s ease, background .2s ease;
}
.format-btn:hover{ border-color:var(--blue); }
.format-btn.is-active{ background:var(--blue); color:var(--white); border-color:var(--blue); }

.ruo-note{
  display:flex; gap:.7rem; align-items:flex-start;
  background:var(--gray-100); border-left:3px solid var(--gray);
  border-radius:var(--radius-sm); padding:.9rem 1rem;
  font-size:.82rem; line-height:1.55; color:var(--text-body);
}
.ruo-note i{ color:var(--blue); margin-top:.15rem; }

/* pestañas (Bootstrap nav-tabs con estilo de marca) */
.tabs-biotron{ border-bottom:1px solid var(--line); gap:.25rem; }
.tabs-biotron .nav-link{
  font-family:var(--font); font-weight:700; font-size:.88rem;
  color:var(--text-muted); border:0; border-bottom:2px solid transparent;
  border-radius:0; padding:.8rem 1.1rem; background:none;
}
.tabs-biotron .nav-link:hover{ color:var(--blue); }
.tabs-biotron .nav-link.active{ color:var(--blue); border-bottom-color:var(--blue); background:none; }
.tab-pane-biotron{ padding-top:2rem; }

.comp-table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.comp-table th{
  font-weight:700; font-size:.64rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--text-muted); text-align:left; padding:.7rem 0; border-bottom:1px solid var(--line);
}
.comp-table td{ padding:.85rem 0; border-bottom:1px dashed var(--line); color:var(--text-body); }
.comp-table td:last-child, .comp-table th:last-child{ text-align:right; }
.comp-table td strong{ color:var(--blue); font-weight:800; }
.comp-table tfoot td{ border-bottom:0; border-top:1px solid var(--blue); font-weight:800; color:var(--blue); }

.spec-list{ list-style:none; padding:0; margin:0; }
.spec-list li{ display:flex; justify-content:space-between; gap:1rem; padding:.8rem 0; border-bottom:1px dashed var(--line); font-size:.92rem; }
.spec-list li span:first-child{ color:var(--text-muted); font-weight:700; }
.spec-list li span:last-child{ color:var(--text-head); font-weight:700; text-align:right; }

.related-card{ display:block; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; height:100%; transition:box-shadow .25s ease, transform .25s ease; box-shadow:var(--shadow-sm); }
.related-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.related-card img{ width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--gray-100); border-bottom:1px solid var(--line); }
.related-card .body{ padding:1.1rem 1.2rem 1.3rem; }
.related-card h4{ font-size:1.02rem; font-weight:800; margin:.5rem 0 .25rem; }
.related-card p{ font-size:.82rem; color:var(--text-muted); margin:0; }

/* ===================== SELECTOR DE IDIOMA ===================== */
.lang-toggle{ background:none; border-top:0; border-left:0; border-right:0; display:inline-flex; align-items:center; gap:.4rem; cursor:pointer; }
.lang-toggle::after{ margin-left:.15rem; vertical-align:0; }
.lang-toggle i{ font-size:1rem; }
.dropdown-menu-biotron{
  min-width:10rem; padding:.4rem;
  border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-md); margin-top:.6rem;
}
.dropdown-menu-biotron .dropdown-item{
  display:flex; align-items:center; gap:.6rem;
  font-family:var(--font); font-weight:700; font-size:.85rem;
  color:var(--text-body); border-radius:var(--radius-sm); padding:.55rem .7rem;
}
.dropdown-menu-biotron .dropdown-item i{ visibility:hidden; color:var(--blue); }
.dropdown-menu-biotron .dropdown-item:hover,
.dropdown-menu-biotron .dropdown-item:focus{ background:var(--blue-50); color:var(--blue); }
.dropdown-menu-biotron .dropdown-item.is-active{ color:var(--blue); }
.dropdown-menu-biotron .dropdown-item.is-active i{ visibility:visible; }
@media (max-width: 991.98px){
  .lang-switch{ margin-top:.25rem; }
  .dropdown-menu-biotron{ box-shadow:none; }
}

/* ===================== VERIFICACIÓN DE AUTENTICIDAD (verify.html) ===================== */
.auth-strip{
  background:var(--blue); color:rgba(255,255,255,.55);
  padding:6.2rem 0 .9rem; overflow:hidden; white-space:nowrap;
  font-weight:700; font-size:.68rem; letter-spacing:.32em; text-transform:uppercase;
  border-bottom:1px solid var(--line-on-blue);
}
.auth-strip span{ display:inline-block; margin-right:2.2rem; }
.auth-strip span.hl{ color:var(--white); }
.verify-wrap{ max-width:640px; margin:0 auto; }
.verify-status{ text-align:center; padding:1rem 0 2rem; }
.status-icon{
  width:84px; height:84px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:2.6rem; margin-bottom:1.4rem;
  background:var(--blue-50); color:var(--blue); border:1px solid var(--blue-100);
}
.verify-status.is-invalid .status-icon{ background:var(--gray-100); color:var(--text-muted); border-color:var(--gray-200); }
.verify-status h1{ font-size:clamp(1.9rem, 4vw, 2.6rem); margin-bottom:.8rem; }
.verify-status p{ max-width:46ch; margin:0 auto; color:var(--text-body); }
.verify-id{ display:flex; justify-content:center; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem; }
.verify-id .meta-chip{ font-size:.78rem; }
.code-chip{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.06em; }
.verify-divider{ border:0; border-top:1px solid var(--line); margin:2.2rem 0; }
.check-row{ display:flex; gap:.7rem; align-items:flex-start; font-size:.85rem; color:var(--text-body); line-height:1.5; }
.check-row input{ margin-top:.25rem; accent-color:var(--blue); width:1rem; height:1rem; flex-shrink:0; }
.field-error{ display:none; font-size:.78rem; font-weight:700; color:var(--blue); margin-top:.4rem; }
.field-error.is-shown{ display:block; }
.form-control-biotron.is-invalid{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-100); }
.lookup-form{ display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center; margin-top:1.6rem; }
.lookup-form .form-control-biotron{ max-width:280px; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.06em; }
.demo-note{ font-size:.75rem; color:var(--text-muted); text-align:center; margin-top:2rem; }
.demo-note code{ background:var(--gray-100); border-radius:4px; padding:.1rem .35rem; color:var(--blue); }
.is-hidden{ display:none !important; }

/* ===================== LISTADO DE PRODUCTOS (products.html) ===================== */
.catalog-layout{ padding:3rem 0 5rem; }
.cat-sidebar{ position:sticky; top:5.5rem; }
.cat-sidebar h2{ font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); margin-bottom:1rem; }
.cat-list{ list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.cat-list li{ border-bottom:1px solid var(--line); }
.cat-link{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:.8rem;
  background:none; border:0; text-align:left; cursor:pointer;
  font-family:var(--font); font-weight:700; font-size:.9rem; color:var(--text-body);
  padding:.85rem .2rem; border-left:3px solid transparent; transition:color .2s ease, background .2s ease, padding .2s ease;
}
.cat-link:hover{ color:var(--blue); background:var(--blue-50); padding-left:.6rem; }
.cat-link.is-active{ color:var(--blue); border-left-color:var(--blue); padding-left:.7rem; background:var(--blue-50); }
.cat-link:focus-visible{ outline:2px solid var(--blue); outline-offset:-2px; }
.cat-count{ font-size:.7rem; font-weight:700; color:var(--text-muted); background:var(--gray-100); border-radius:999px; padding:.1rem .55rem; }
.cat-link.is-active .cat-count{ background:var(--white); color:var(--blue); }
.cat-toggle{ width:100%; justify-content:space-between; }

.catalog-search{ max-width:520px; margin:0 auto 2rem; position:relative; }
.catalog-search i.bi-search{ position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:var(--gray); pointer-events:none; }
.catalog-search .form-control-biotron{ padding-left:2.6rem; padding-right:2.6rem; height:3rem; border-radius:999px; }
.search-clear{
  position:absolute; right:.6rem; top:50%; transform:translateY(-50%);
  background:none; border:0; color:var(--text-muted); width:2rem; height:2rem; border-radius:50%; cursor:pointer;
}
.search-clear:hover{ color:var(--blue); background:var(--blue-50); }
.catalog-bar{ display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; margin-bottom:1.4rem; font-size:.85rem; color:var(--text-muted); font-weight:700; }
.catalog-bar select{ width:auto; padding:.45rem 2.2rem .45rem .8rem; font-size:.82rem; }

.catalog-card{ display:flex; flex-direction:column; height:100%; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:box-shadow .25s ease, transform .25s ease; color:inherit; }
.catalog-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.catalog-card:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
.catalog-card .thumb{ background:var(--gray-100); border-bottom:1px solid var(--line); aspect-ratio:16/10; overflow:hidden; }
.catalog-card .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.catalog-card .body{ padding:1.1rem 1.2rem 1.3rem; display:flex; flex-direction:column; gap:.35rem; flex:1; }
.catalog-card h3{ font-size:1.05rem; font-weight:800; margin:.3rem 0 0; }
.catalog-card .desc{ font-size:.82rem; color:var(--text-muted); margin:0; }
.catalog-card .foot{ margin-top:auto; padding-top:.8rem; display:flex; justify-content:space-between; align-items:center; font-size:.78rem; font-weight:700; color:var(--text-body); }
.catalog-card .foot .more{ color:var(--blue); display:inline-flex; gap:.3rem; align-items:center; }

.catalog-empty{ text-align:center; padding:4rem 1rem; color:var(--text-body); }
.catalog-empty i{ font-size:2.4rem; color:var(--gray); }

.pagination-biotron{ gap:.35rem; justify-content:center; margin:3rem 0 0; flex-wrap:wrap; }
.pagination-biotron .page-link{
  font-family:var(--font); font-weight:700; font-size:.85rem; color:var(--blue);
  border:1px solid var(--line); border-radius:var(--radius-sm) !important; min-width:2.5rem; text-align:center; padding:.5rem .8rem; background:var(--white);
}
.pagination-biotron .page-link:hover{ background:var(--blue-50); border-color:var(--blue-100); color:var(--blue); }
.pagination-biotron .page-link:focus{ box-shadow:0 0 0 3px var(--blue-100); }
.pagination-biotron .page-item.active .page-link{ background:var(--blue); border-color:var(--blue); color:var(--white); }
.pagination-biotron .page-item.disabled .page-link{ color:var(--gray); background:var(--gray-100); }
@media (max-width: 991.98px){ .cat-sidebar{ position:static; } }
