/* =====================================================
   ALTIMEA.COM · LANDING RECONOCIMIENTO BIOMÉTRICO
   Migración del WordPress/Elementor (page-biolock.php +
   landing-biolock.css), adaptada al Design System V2.

   REBRANDING: antes "Bio'lock" → ahora "Reconocimiento Biométrico".
   El scope CSS `.rb-landing` (antes `.bl-landing`) refleja el nombre.

   Scope: .rb-landing (wrapper en <main>) para evitar colisiones.
   Tokens: reusan los definidos en /assets/css/main.css (DS V2).
   Header + footer + .btn base vienen de /assets/css/main.css.

   CORRECCIONES APLICADAS vs. source (documentadas en PR):
     · Tokens ad-hoc → DS V2:
         --shadow / --shadow-lg → --shadow-sm / --shadow-lg (main.css)
         --radius    → --radius-md
         --radius-lg 20px → 16px (DS V2)
         --gray-700 #364151 → #3D4A5C
     · .section-label: 14px → 13px; .dark → .on-light
     · Flat design (gradient sólo en hero):
         - solution-visual:  gradient → flat navy
         - social-proof:     gradient → flat navy
         - cta-final:        gradient 3-stop + ::before radial → flat navy-deep
         - workflow line:    gradient blue→mint → flat mint
     · Hero gradient 3-stop simplificado a 2-stop navy-deep → navy
     · SVGs Material reemplazados por Feather auténticos (ver index.html)
     · Shield animation (hero visual): MANTENIDA — es exactamente la
       personalidad "Tech/Innovación" (pulse rings) que prescribe el
       DS V2 para esta landing (sección 10 del DS — "Personalidades").
     · Footer gap fix: body > .site-footer { margin-top: 0 }
   ===================================================== */


/* ===== WRAPPER + scoped reset ===== */
.rb-landing {
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  line-height: 1.7;
  width: 100%;
}
.rb-landing *,
.rb-landing *::before,
.rb-landing *::after { box-sizing: border-box; }
.rb-landing img { max-width: 100%; height: auto; }
.rb-landing a   { text-decoration: none; color: inherit; }

.rb-landing .rb-container {
  max-width: var(--container);   /* 1140px DS V2 */
  margin: 0 auto;
  padding: 0 24px;
}


/* ===== TIPOGRAFÍA (scoped override) ===== */
.rb-landing h1,
.rb-landing h2,
.rb-landing h3,
.rb-landing h4 { font-family: 'Montserrat', sans-serif; }

.rb-landing h1 {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  color: var(--white);
}
.rb-landing h2 {
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
}
.rb-landing h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}
.rb-landing h4 {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}
.rb-landing p    { margin-bottom: 16px; font-size: 17px; }
.rb-landing .lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--gray-500);
}


/* ===== SECTION LABEL / EYEBROW ===== */
/* Override del .section-label base de main.css (que es badge mint).
   Aquí es eyebrow texto uppercase. Renombrado .dark → .on-light. */
.rb-landing .section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);          /* default: sobre fondos navy */
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 12px;
}
.rb-landing .section-label.on-light { color: var(--blue-a11y); }


/* ===== GLOBAL SVG ICON DEFAULTS (scoped) ===== */
.rb-landing .icon svg {
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ===== BUTTONS (override mínimo; .btn base de main.css) ===== */
/* Reset de color:inherit que heredarían del wrapper → force white. */
.rb-landing .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rb-landing .btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.rb-landing .btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.rb-landing .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.rb-landing .btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.rb-landing .btn-sm { padding: 12px 28px; font-size: 14px; }


/* ======================================================
   1 · HERO
   Gradient permitido (DS V2). 2-stop navy-deep → navy.
   ====================================================== */
.rb-landing .rb-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.rb-landing .rb-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(114, 245, 196, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.rb-landing .rb-hero .rb-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.rb-landing .hero-content { max-width: 560px; }

.rb-landing .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(114, 245, 196, 0.12);
  border: 1px solid rgba(114, 245, 196, 0.3);
  color: var(--mint);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.rb-landing .rb-hero h1 { margin-bottom: 24px; }
.rb-landing .rb-hero h1 span { color: var(--mint); }

.rb-landing .hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}
.rb-landing .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: 48px;
}

/* Hero Visual — Animated shield (DS V2 Personality 4: Tech/Innovación).
   3 rings + center + 4 labels flotantes. Animación pulse mantenida. */
.rb-landing .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.rb-landing .shield-container {
  position: relative;
  width: 380px;
  height: 380px;
}
.rb-landing .shield-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(114, 245, 196, 0.15);
}
.rb-landing .shield-ring.r1 {
  width: 380px; height: 380px;
  animation: rb-pulse 4s ease-in-out infinite;
}
.rb-landing .shield-ring.r2 {
  width: 300px; height: 300px;
  border-color: rgba(114, 245, 196, 0.25);
  animation: rb-pulse 4s ease-in-out 1s infinite;
}
.rb-landing .shield-ring.r3 {
  width: 220px; height: 220px;
  border-color: rgba(114, 245, 196, 0.35);
  animation: rb-pulse 4s ease-in-out 2s infinite;
}
@keyframes rb-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}
.rb-landing .shield-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  background: rgba(114, 245, 196, 0.1);
  border: 2px solid var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rb-landing .shield-center svg {
  width: 60px; height: 60px;
  stroke: var(--mint);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rb-landing .shield-label {
  position: absolute;
  background: rgba(14, 43, 103, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(114, 245, 196, 0.2);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}
.rb-landing .shield-label .check { color: var(--mint); margin-right: 6px; }
.rb-landing .shield-label.l1 { top: 30px;    right: 10px; }
.rb-landing .shield-label.l2 { bottom: 80px; right: 0; }
.rb-landing .shield-label.l3 { bottom: 30px; left: 10px; }
.rb-landing .shield-label.l4 { top: 80px;    left: 0; }


/* ======================================================
   2 · TRUST BAR (5 métricas flex)
   ====================================================== */
.rb-landing .rb-trust-bar {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.rb-landing .rb-trust-bar .rb-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.rb-landing .trust-item { text-align: center; }
.rb-landing .trust-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--navy);
  line-height: 1;
}
.rb-landing .trust-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ======================================================
   3 · PAIN POINTS
   ====================================================== */
.rb-landing .rb-pain {
  padding: var(--section-padding);
  background: var(--gray-50);
}
.rb-landing .rb-pain .rb-container { max-width: 900px; }
.rb-landing .rb-pain > .rb-container > .section-label { display: block; text-align: center; }
.rb-landing .rb-pain h2   { text-align: center; margin-bottom: 12px; }
.rb-landing .rb-pain .lead { text-align: center; margin-bottom: 20px; }

.rb-landing .pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.rb-landing .pain-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 4px solid var(--mint);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rb-landing .pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.rb-landing .pain-card .icon { margin-bottom: 12px; }
.rb-landing .pain-card .icon svg {
  width: 28px; height: 28px;
  stroke: var(--navy);
}
.rb-landing .pain-card h3 { font-size: 16px; color: var(--gray-900); margin-bottom: 8px; }
.rb-landing .pain-card p {
  font-size: 15px; color: var(--gray-500);
  margin-bottom: 0; line-height: 1.6;
}


/* ======================================================
   4 · SOLUTION
   ====================================================== */
.rb-landing .rb-solution {
  padding: var(--section-padding);
  background: var(--white);
}
.rb-landing .rb-solution .rb-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.rb-landing .solution-content h2 { margin-bottom: 24px; }
.rb-landing .solution-content p  { margin-bottom: 24px; }

/* Flat navy (antes: gradient navy → #1a3a7a). DS V2 flat-only. */
.rb-landing .solution-visual {
  background-color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
}
.rb-landing .solution-feature {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rb-landing .solution-feature:last-child { border-bottom: none; }
.rb-landing .solution-feature .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(114, 245, 196, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rb-landing .solution-feature .icon svg {
  width: 22px; height: 22px;
  stroke: var(--mint);
}
.rb-landing .solution-feature h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--mint);
  margin-bottom: 4px;
}
.rb-landing .solution-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  line-height: 1.5;
}


/* ======================================================
   5 · DIFFERENTIATORS
   ====================================================== */
.rb-landing .rb-differentiators {
  padding: var(--section-padding);
  background: var(--light-bg);
}
.rb-landing .diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.rb-landing .diff-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
  text-align: center;
}
.rb-landing .diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--blue);
}
.rb-landing .diff-card .icon { margin-bottom: 16px; }
.rb-landing .diff-card .icon svg {
  width: 36px; height: 36px;
  stroke: var(--blue);
}
.rb-landing .diff-card h3 { font-size: 16px; margin-bottom: 10px; }
.rb-landing .diff-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 0;
  line-height: 1.6;
}


/* ======================================================
   6 · WORKFLOW (timeline 4 pasos)
   ====================================================== */
.rb-landing .rb-workflow {
  padding: var(--section-padding);
  background: var(--white);
}
.rb-landing .workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
/* Línea decorativa: antes gradient blue→mint, flat mint por DS V2. */
.rb-landing .workflow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background-color: var(--mint);
  border-radius: 2px;
}
.rb-landing .step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.rb-landing .step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: 'Poppins', sans-serif;   /* DS V2: Poppins sólo en números */
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.rb-landing .step h3 { font-size: 16px; margin-bottom: 8px; }
.rb-landing .step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}


/* ======================================================
   7 · USE CASES (8 sectores)
   ====================================================== */
.rb-landing .rb-use-cases {
  padding: var(--section-padding);
  background: var(--gray-50);
}
.rb-landing .cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.rb-landing .case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}
.rb-landing .case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.rb-landing .case-card .icon { margin-bottom: 14px; }
.rb-landing .case-card .icon svg {
  width: 32px; height: 32px;
  stroke: var(--navy);
}
.rb-landing .case-card h3 { font-size: 15px; margin-bottom: 8px; }
.rb-landing .case-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
  line-height: 1.5;
}
.rb-landing .case-card .product-tag {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}


/* ======================================================
   8 · SOCIAL PROOF
   Flat navy (antes gradient). DS V2 flat-only.
   ====================================================== */
.rb-landing .rb-social-proof {
  padding: var(--section-padding);
  background-color: var(--navy);
  color: var(--white);
}
.rb-landing .rb-social-proof h2 { color: var(--white); }

.rb-landing .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px auto;
  max-width: 700px;
  text-align: center;
}
.rb-landing .testimonial-quote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.rb-landing .testimonial-author {
  color: var(--mint);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}
.rb-landing .testimonial-role {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 4px;
}

.rb-landing .client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}
.rb-landing .client-logo-img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: 36px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rb-landing .client-logo-img[src$="/cementos-pacasmayo.png"] { height: 20px; }
.rb-landing .client-logo-img[src$="/interbank.png"],
.rb-landing .client-logo-img[src$="/sodimac.png"],
.rb-landing .client-logo-img[src$="/entel.png"],
.rb-landing .client-logo-img[src$="/afp-integra.png"] { height: 72px; }
@media (hover: hover) {
  .rb-landing .client-logo-img:hover { opacity: 1; transform: scale(1.04); }
}


/* ======================================================
   9 · FAQ (accordion sin caja, divisores suaves)
   ====================================================== */
.rb-landing .rb-faq {
  padding: var(--section-padding);
  background: var(--white);
}
.rb-landing .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}
.rb-landing .faq-item { border-bottom: 1px solid var(--gray-200); }
.rb-landing .faq-item > summary {
  list-style: none;
  padding: 24px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
  user-select: none;
}
.rb-landing .faq-item > summary::-webkit-details-marker { display: none; }
.rb-landing .faq-item > summary:hover { color: var(--blue); }
.rb-landing .faq-item > summary h3 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  flex: 1;
}
.rb-landing .faq-item .faq-icon {
  width: 24px; height: 24px;
  color: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
  stroke: currentColor;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.rb-landing .faq-item[open] .faq-icon { transform: rotate(45deg); }

.rb-landing .faq-answer { padding-bottom: 24px; }
.rb-landing .faq-answer p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}


/* ======================================================
   10 · CTA FINAL
   Flat navy-deep (antes gradient 3-stop + radial glow).
   ====================================================== */
.rb-landing .rb-cta-final {
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  background-color: var(--navy-deep);
}
.rb-landing .rb-cta-final .rb-container { max-width: 700px; }
.rb-landing .rb-cta-final h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.rb-landing .rb-cta-final p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 36px;
}
.rb-landing .rb-cta-final .hero-buttons { justify-content: center; }


/* ===== Footer gap fix (landing termina en navy-deep) ===== */
body > .site-footer { margin-top: 0; }


/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .rb-landing .rb-hero .rb-container     { grid-template-columns: 1fr; }
  .rb-landing .hero-visual               { display: none; }
  .rb-landing .diff-grid                 { grid-template-columns: 1fr 1fr; }
  .rb-landing .cases-grid                { grid-template-columns: 1fr 1fr; }
  .rb-landing .workflow-steps            { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rb-landing .workflow-steps::before    { display: none; }
  .rb-landing .rb-solution .rb-container { grid-template-columns: 1fr; }
  .rb-landing .client-logos              { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .rb-landing .diff-grid,
  .rb-landing .cases-grid        { grid-template-columns: 1fr; }
  .rb-landing .pain-grid         { grid-template-columns: 1fr; }
  .rb-landing .workflow-steps    { grid-template-columns: 1fr; }
  .rb-landing .rb-trust-bar .rb-container { gap: 32px; }
  .rb-landing .rb-hero           { padding: 120px 0 60px; }
  .rb-landing .hero-buttons      { flex-direction: column; }
  .rb-landing .btn               { width: 100%; justify-content: center; }
  .rb-landing .client-logos      { grid-template-columns: repeat(2, 1fr); }
}


/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .rb-landing .shield-ring { animation: none !important; opacity: 0.6 !important; }
  .rb-landing .pain-card,
  .rb-landing .diff-card,
  .rb-landing .case-card,
  .rb-landing .faq-item .faq-icon { transition: none; }
}
