/* ================================================================
   ARBLU.CSS — Design System v2
   Stack: Bootstrap 5.3.8 · Plus Jakarta Sans · Vanilla JS
   ================================================================ */

/* ── 1. TOKENS ────────────────────────────────────────────────── */
:root {
  /* Brand colors */
  --arb-blue:    #1a2bbd;
  --arb-blue-dk: #0f1a7a;
  --arb-blue-lt: #3d52e0;
  --arb-cyan:    #00b4e6;
  --arb-green:   #12b76a;
  --arb-amber:   #f79009;
  --arb-red:     #f04438;

  /* Neutral scale */
  --arb-ink:       #0d0f1a;
  --arb-ink-2:     #1e2135;
  --arb-ink-3:     #5a5e76;
  --arb-ink-4:     #9297b0;
  --arb-white:     #ffffff;
  --arb-surface:   #f7f8fc;
  --arb-surface-2: #eef0f7;
  --arb-border:    #e4e6f0;

  /* Chrome */
  --arb-nav-h: 72px;

  /* Gradients */
  --arb-grad-btn:    linear-gradient(135deg, #1a2bbd 0%, #1e7fd4 60%, #00b4e6 100%);
  --arb-grad-hero:   linear-gradient(150deg, #07091a 0%, #0b1260 55%, #1235b8 100%);
  --arb-grad-cta:    linear-gradient(140deg, #0f1a7a 0%, #1a2bbd 55%, #1e7fd4 100%);
  --arb-grad-text:   linear-gradient(125deg, #00d4ff 0%, #7b9fff 100%);
  --arb-grad-accent: linear-gradient(90deg, var(--arb-blue) 0%, var(--arb-cyan) 100%);

  /* Shadows */
  --arb-shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --arb-shadow-md: 0 8px 32px rgba(0,0,0,.09);
  --arb-shadow-lg: 0 24px 64px rgba(0,0,0,.14);
  --arb-glow-btn:  0 0 0 1px rgba(26,43,189,.2), 0 10px 40px rgba(26,43,189,.4);
  --arb-glow-card: 0 8px 40px rgba(26,43,189,.09), 0 2px 12px rgba(0,0,0,.05);

  /* Bootstrap overrides */
  --bs-primary:          var(--arb-blue);
  --bs-primary-rgb:      26, 43, 189;
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  --bs-body-color:       var(--arb-ink-2);
  --bs-border-color:     var(--arb-border);
  --bs-border-radius:    10px;
  --bs-link-color:       var(--arb-blue);
}

/* ── 2. RESET & GLOBALS ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--arb-nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--arb-ink-2);
  background: var(--arb-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

@media (min-width: 1200px) { .container { max-width: 1180px; } }
@media (min-width: 1400px) { .container { max-width: 1180px; } }

/* ── 3. TIPOGRAFÍA ────────────────────────────────────────────── */
.arb-h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: var(--arb-white);
}
.arb-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.75px;
  color: var(--arb-ink);
}
.arb-h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--arb-ink);
}
.arb-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--arb-blue);
  margin-bottom: .75rem;
}
.arb-label-sm { font-size: 12.5px; color: var(--arb-ink-4); font-weight: 500; }
.arb-body-lg  { font-size: 1.125rem;  color: var(--arb-ink-2); line-height: 1.75; }
.arb-body     { font-size: 1rem;      color: var(--arb-ink-3); line-height: 1.75; }
.arb-body-sm  { font-size: 15px;      color: var(--arb-ink-3); line-height: 1.7; }

/* Gradient text */
.arb-text-grad {
  background: var(--arb-grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Compatibility aliases */
.text-arb-cyan  { color: var(--arb-cyan)  !important; }
.text-arb-blue  { color: var(--arb-blue)  !important; }
.text-arb-green { color: var(--arb-green) !important; }
.text-arb-amber { color: var(--arb-amber) !important; }
.text-arb-red   { color: var(--arb-red)   !important; }

/* ── 4. BOTONES ───────────────────────────────────────────────── */
.arb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all .22s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.arb-btn-sm { padding: 9px 18px; font-size: .875rem; }

.arb-btn-primary {
  background: var(--arb-grad-btn);
  color: #fff;
  box-shadow: 0 2px 6px rgba(26,43,189,.3);
}
.arb-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--arb-glow-btn);
}

.arb-btn-outline {
  background: transparent;
  color: var(--arb-ink-2);
  border: 1.5px solid var(--arb-border);
}
.arb-btn-outline:hover {
  border-color: var(--arb-blue);
  color: var(--arb-blue);
  background: rgba(26,43,189,.04);
}

.arb-btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.arb-btn-ghost-light:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  transform: translateY(-1px);
}

.arb-btn-white { background: #fff; color: var(--arb-ink); }
.arb-btn-white:hover {
  background: #f0f0f4;
  color: var(--arb-ink);
  transform: translateY(-1px);
  box-shadow: var(--arb-shadow-md);
}

.arb-btn-outline-w {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.2);
}
.arb-btn-outline-w:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ── 5. NAVEGACIÓN ────────────────────────────────────────────── */
.arb-nav {
  height: var(--arb-nav-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(228,230,240,.7);
  transition: box-shadow .3s, background .3s;
  --bs-navbar-padding-y: 0;
}
.arb-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
  background: rgba(255,255,255,.96);
}
.arb-nav .container { height: 100%; }
.arb-nav-brand img { width: 150px;transition: opacity .2s; }
.arb-nav-brand:hover img { opacity: .8; }
.arb-nav .navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--arb-ink-3);
  padding: .4rem .75rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.arb-nav .navbar-nav .nav-link:hover,
.arb-nav .navbar-nav .nav-link.active {
  color: var(--arb-blue);
  background: rgba(26,43,189,.06);
}
.arb-lang-sw {
  display: flex;
  background: var(--arb-surface-2);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.arb-lang-btn {
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--arb-ink-4);
  text-decoration: none;
  transition: all .2s;
  line-height: 1;
}
.arb-lang-btn.active {
  background: #fff;
  color: var(--arb-ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.arb-toggler {
  border: none !important;
  padding: .4rem;
  border-radius: 6px;
  background: none;
}
.arb-toggler:focus { box-shadow: 0 0 0 2px rgba(26,43,189,.15) !important; }
.arb-ham { display: flex; flex-direction: column; gap: 5px; padding: 2px; }
.arb-ham span {
  display: block; width: 22px; height: 2px;
  background: var(--arb-ink);
  border-radius: 2px;
  transition: all .3s;
}

/* ── 6. SECCIONES ─────────────────────────────────────────────── */
.arb-sec    { padding: 6rem 0; }
.arb-sec-sm { padding: 3.5rem 0; }
.arb-sec-surface { background: var(--arb-surface); }
.arb-sec-dark    {
  background: var(--arb-ink);
  position: relative;
  overflow: hidden;
}
.arb-sec-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.arb-sec-dark > .container { position: relative; z-index: 1; }
.arb-sec-dark .arb-label { color: var(--arb-cyan); }
.arb-sec-dark .arb-h2    { color: #fff; }
.arb-sec-dark .arb-body  { color: rgba(255,255,255,.5); }
.arb-sec-hdr { max-width: 660px; margin: 0 auto 3.5rem; text-align: center; }
.arb-sec-hdr .arb-h2 { margin: .625rem 0 1rem; }

/* ── 7. HERO (DARK GRADIENT) ──────────────────────────────────── */
.arb-hero {
  padding: 140px 0 100px;
  background: var(--arb-grad-hero);
  position: relative;
  overflow: hidden;
}
/* Dot mesh */
.arb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.048) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Cyan glow orb */
.arb-hero::after {
  content: '';
  position: absolute;
  top: -15%; right: -8%;
  width: 55vw; height: 55vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle, rgba(0,180,230,.13) 0%, transparent 62%);
  pointer-events: none;
}
.arb-hero > .container { position: relative; z-index: 1; }

/* Second orb bottom-left */
.arb-hero-orb {
  position: absolute;
  bottom: -20%; left: -8%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(26,43,189,.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.arb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  margin-bottom: 1.875rem;
  backdrop-filter: blur(8px);
}
.arb-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--arb-green);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--arb-green);
  animation: arb-pulse 2.2s ease-in-out infinite;
}
@keyframes arb-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--arb-green); }
  50%      { opacity: .5; box-shadow: 0 0 3px var(--arb-green); }
}
.arb-hero .arb-label-sm { color: rgba(255,255,255,.6); }
.arb-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.62);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 2.25rem;
}
.arb-hero-ctas { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 3rem; }

/* Hero stats pill bar */
.arb-hero-stats {
  display: flex;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  max-width: 520px;
}
.arb-hstat {
  flex: 1;
  padding: 1.25rem 1.375rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.arb-hstat:last-child { border-right: none; }
.arb-hstat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--arb-white);
  line-height: 1;
  margin-bottom: .25rem;
}
.arb-hstat-label {
  font-size: 11px;
  color: rgba(255,255,255,.42);
  line-height: 1.4;
  font-weight: 500;
}

/* ── 8. HERO MOCKUP (DARK DASHBOARD) ─────────────────────────── */
.arb-mockup-wrap { animation: arb-float 5s ease-in-out infinite; }
@keyframes arb-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.arb-mockup {
  background: #fff;
  border: 1px solid rgba(26,43,189,.1);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(26,43,189,.06),
    0 32px 80px rgba(0,0,0,.35),
    0 8px 24px rgba(26,43,189,.12);
  overflow: hidden;
}
.arb-mockup-hdr {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.125rem;
  background: #f4f5fb;
  border-bottom: 1px solid #e8eaf2;
}
.arb-mockup-dots { display: flex; gap: 5px; }
.arb-mockup-dots span { display: block; width: 10px; height: 10px; border-radius: 50%; }
.arb-mockup-dots span:nth-child(1) { background: #ff5f57; }
.arb-mockup-dots span:nth-child(2) { background: #ffbd2e; }
.arb-mockup-dots span:nth-child(3) { background: #28ca41; }
.arb-mockup-htitle {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  color: var(--arb-ink-3);
  letter-spacing: .3px;
}
.arb-mockup-live {
  font-size: 10px;
  font-weight: 700;
  color: var(--arb-green);
  background: rgba(18,183,106,.1);
  border: 1px solid rgba(18,183,106,.2);
  border-radius: 20px;
  padding: 2px 9px;
}
.arb-mockup-body { padding: 1rem 1.125rem; }
.arb-risk-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .5rem;
  margin-bottom: .875rem;
}
.arb-risk-box {
  text-align: center;
  border-radius: 10px;
  padding: .875rem .5rem;
  border: 1px solid;
}
.arb-risk-box.green { background: rgba(18,183,106,.1);  border-color: rgba(18,183,106,.25); }
.arb-risk-box.amber { background: rgba(247,144,9,.1);   border-color: rgba(247,144,9,.25); }
.arb-risk-box.red   { background: rgba(240,68,56,.1);   border-color: rgba(240,68,56,.25); }
.arb-risk-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .2rem;
}
.arb-risk-box.green .arb-risk-num { color: var(--arb-green); }
.arb-risk-box.amber .arb-risk-num { color: var(--arb-amber); }
.arb-risk-box.red   .arb-risk-num { color: var(--arb-red); }
.arb-risk-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.arb-risk-box.green .arb-risk-label { color: var(--arb-green); }
.arb-risk-box.amber .arb-risk-label { color: var(--arb-amber); }
.arb-risk-box.red   .arb-risk-label { color: var(--arb-red); }
.arb-patient-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: .55rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--arb-border);
  background: var(--arb-surface);
  margin-bottom: .375rem;
  font-size: 11.5px;
  color: var(--arb-ink-2);
}
.arb-pdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.arb-patient-row.red   .arb-pdot { background: var(--arb-red); }
.arb-patient-row.amber .arb-pdot { background: var(--arb-amber); }
.arb-patient-row.green .arb-pdot { background: var(--arb-green); }
.arb-ptext { flex: 1; }
.arb-ptag {
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.arb-ptag.red   { background: rgba(240,68,56,.1);  color: #c0392b; }
.arb-ptag.amber { background: rgba(247,144,9,.1);  color: #92400e; }
.arb-ptag.green { background: rgba(18,183,106,.1); color: #0b7a47; }
.arb-auto-plan {
  margin-top: .75rem;
  background: rgba(26,43,189,.05);
  border: 1px solid rgba(26,43,189,.14);
  border-radius: 8px;
  padding: .75rem;
}
.arb-ap-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--arb-blue);
  margin-bottom: .3rem;
}
.arb-ap-text { font-size: 11.5px; color: var(--arb-ink-2); line-height: 1.6; }

/* ── 9. PHOTO PROOF STRIP ────────────────────────────────────── */
.arb-proof-strip {
  position: relative;
  overflow: hidden;
  height: 420px;
}
@media (max-width: 767.98px) { .arb-proof-strip { height: 300px; } }

.arb-proof-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.arb-proof-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7,9,26,.90) 0%,
    rgba(7,9,26,.70) 45%,
    rgba(7,9,26,.15) 100%
  );
}
.arb-proof-strip-inner {
  max-width: 540px;
}
.arb-proof-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.arb-proof-quote::before { content: '\201C'; }
.arb-proof-quote::after  { content: '\201D'; }
.arb-proof-attr {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.arb-proof-attr strong {
  display: block;
  color: rgba(255,255,255,.85);
  font-weight: 700;
  margin-bottom: .2rem;
  font-size: 14.5px;
}

/* ── 10. TRUST BAR ────────────────────────────────────────────── */
.arb-trust {
  background: #f2f3f9;
  border-bottom: 1px solid var(--arb-border);
  padding: 1.125rem 0;
}
.arb-trust-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.arb-trust-label { font-size: 11.5px; color: var(--arb-ink-4); font-weight: 500; letter-spacing: .5px; }
.arb-trust-name  { font-size: 13px; font-weight: 700; color: var(--arb-ink-3); }
.arb-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(26,43,189,.08);
  color: var(--arb-blue);
  border: 1px solid rgba(26,43,189,.15);
}
.arb-trust-sep { color: var(--arb-border); font-size: 18px; line-height: 1; }

/* ── 10. DARK STAT CARDS ──────────────────────────────────────── */
.arb-dark-card {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 2rem;
  background: rgba(255,255,255,.03);
  height: 100%;
  transition: border-color .25s, background .25s;
}
.arb-dark-card:hover {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
}
.arb-stat-big {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -1.5px;
}
.arb-stat-big.cyan  { color: var(--arb-cyan); }
.arb-stat-big.amber { color: var(--arb-amber); }
.arb-stat-big.red   { color: var(--arb-red); }
.arb-stat-desc { font-size: 15px; color: rgba(255,255,255,.52); line-height: 1.65; }
.arb-stat-src  { font-size: 11.5px; color: rgba(255,255,255,.25); margin-top: .5rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* ── 11. CÓMO FUNCIONA ────────────────────────────────────────── */
/* Connector line (desktop only) */
.arb-steps-row {
  position: relative;
}
.arb-steps-row::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(26,43,189,.12) 0%,
    rgba(0,180,230,.5) 50%,
    rgba(26,43,189,.12) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.arb-step {
  border: 1px solid var(--arb-border);
  border-radius: 18px;
  padding: 2rem;
  background: #fff;
  height: 100%;
  position: relative;
  z-index: 1;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.arb-step::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem; right: 2rem; height: 3px;
  background: var(--arb-grad-accent);
  border-radius: 0 0 3px 3px;
}
.arb-step:hover {
  box-shadow: var(--arb-glow-card);
  transform: translateY(-5px);
  border-color: rgba(26,43,189,.18);
}
.arb-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(26,43,189,.08);
  color: var(--arb-blue);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: .5px;
  position: relative; z-index: 1;
}
.arb-step-icon { font-size: 1.875rem; margin-bottom: .875rem; }
.arb-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--arb-ink);
  margin-bottom: .5rem;
}

/* Featured / highlighted step */
.arb-step-featured {
  background: linear-gradient(160deg, #0d0f1e 0%, #0f1a7a 70%, #1a2bbd 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 20px 56px rgba(0,0,0,.28), 0 0 0 1px rgba(0,180,230,.18);
}
.arb-step-featured::before {
  background: linear-gradient(90deg, var(--arb-cyan) 0%, #7b9fff 100%);
}
.arb-step-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(0,0,0,.35), 0 0 0 1px rgba(0,180,230,.28);
}
.arb-step-featured .arb-step-num {
  background: rgba(0,180,230,.15);
  color: var(--arb-cyan);
}
.arb-step-featured .arb-step-title { color: #fff; }
.arb-step-featured .arb-body-sm    { color: rgba(255,255,255,.5); }

/* ── 12. CASOS DE USO ─────────────────────────────────────────── */

/* Hero image — use case pages and plataforma */
.arb-uc-hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07);
  aspect-ratio: 4/3;
}
.arb-uc-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
@media (max-width: 991.98px) {
  .arb-uc-hero-img { margin-top: 2rem; aspect-ratio: 16/9; }
}

.arb-uc-card {
  display: block;
  height: 100%;
  border: 1px solid var(--arb-border);
  border-radius: 18px;
  padding: 1.875rem;
  background: #fff;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.arb-uc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.arb-uc-card.uc-salud::before   { background: linear-gradient(90deg, var(--arb-blue), var(--arb-cyan)); }
.arb-uc-card.uc-seguros::before { background: linear-gradient(90deg, var(--arb-cyan), #00d4b0); }
.arb-uc-card.uc-emp::before     { background: linear-gradient(90deg, var(--arb-green), #6ee7a7); }
.arb-uc-card.uc-mar::before     { background: linear-gradient(90deg, var(--arb-amber), #fcd34d); }
.arb-uc-card:hover {
  box-shadow: var(--arb-glow-card);
  transform: translateY(-5px);
  border-color: rgba(26,43,189,.15);
}
.arb-uc-icon  { font-size: 2.25rem; margin-bottom: 1.25rem; display: block; }
.arb-uc-title { font-size: 1.125rem; font-weight: 700; color: var(--arb-ink); margin-bottom: .5rem; }
.arb-uc-text  { font-size: 15px; color: var(--arb-ink-3); line-height: 1.7; margin-bottom: 1.25rem; }
.arb-uc-metric       { font-size: 1.5rem; font-weight: 800; color: var(--arb-blue); line-height: 1; }
.arb-uc-metric-label { font-size: 12.5px; color: var(--arb-ink-4); line-height: 1.35; margin-top: 3px; }
.arb-uc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--arb-blue);
  margin-top: 1.25rem;
  transition: gap .2s;
}
.arb-uc-card:hover .arb-uc-arrow { gap: 9px; }

/* ── 13. CREDENCIALES (BENTO) ─────────────────────────────────── */
.arb-cred-card {
  border: 1px solid var(--arb-border);
  border-radius: 18px;
  padding: 2rem;
  background: #fff;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.arb-cred-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--arb-grad-accent);
}
.arb-cred-card:hover {
  box-shadow: var(--arb-glow-card);
  transform: translateY(-3px);
}

/* CSS Grid layout: contenido izquierda (62) + foto derecha (38) */
.arb-cred-card-featured.has-photo {
  background: #07091a;   /* coincide con el inicio del overlay → sin salto de color */
  padding: 0;
  display: grid;
  grid-template-columns: 62fr 38fr;
  min-height: 360px;
}
.arb-cred-content-wrap {
  padding: 2rem;
}
.arb-cred-photo-right {
  position: relative;
  overflow: hidden;
}
/* Franja cian: z-index alto para estar siempre sobre la foto */
.arb-cred-card-featured::before { z-index: 3; }
/* Fade sobre la foto: solo el primer tercio del panel */
.arb-cred-photo-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7,9,26,1)  0%,
    rgba(7,9,26,.7) 12%,
    rgba(7,9,26,.2) 26%,
    transparent     34%
  );
  z-index: 1;
  pointer-events: none;
}
.arb-cred-photo-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
@media (max-width: 767.98px) {
  .arb-cred-card-featured.has-photo {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .arb-cred-content-wrap { padding: 1.5rem; }
  .arb-cred-photo-right  { height: 220px; order: 2; }
  .arb-cred-photo-right::before {
    background: linear-gradient(0deg, rgba(7,9,26,1) 0%, rgba(7,9,26,.2) 60%, transparent 100%);
  }
}

/* Featured pilot card */
.arb-cred-card-featured {
  background: linear-gradient(155deg, #080c22 0%, #0e1876 60%, #1a2bbd 100%);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.arb-cred-card-featured::before {
  background: linear-gradient(90deg, var(--arb-cyan) 0%, #7b9fff 100%);
}
.arb-cred-card-featured:hover {
  box-shadow: 0 28px 72px rgba(0,0,0,.32), 0 0 0 1px rgba(0,180,230,.2);
  transform: translateY(-4px);
}

.arb-cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--arb-surface);
  border: 1px solid var(--arb-border);
  color: var(--arb-ink-3);
  margin-bottom: 1.25rem;
}
.arb-cred-badge.green { background: rgba(18,183,106,.07); border-color: rgba(18,183,106,.2); color: #0b7a47; }
.arb-cred-badge.blue  { background: rgba(26,43,189,.07);  border-color: rgba(26,43,189,.15); color: var(--arb-blue); }
.arb-cred-badge-light {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
}
.arb-cred-title { font-size: 1.175rem; font-weight: 700; color: var(--arb-ink); margin-bottom: .3rem; }
.arb-cred-sub   { font-size: 14px; color: var(--arb-ink-4); margin-bottom: 1rem; }
.arb-cred-title-light { color: #fff; }
.arb-cred-sub-light   { color: rgba(255,255,255,.42); }
.arb-cred-card-featured .arb-body-sm { color: rgba(255,255,255,.55); }

.arb-cred-metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.375rem;
  padding-top: 1.375rem;
  border-top: 1px solid var(--arb-border);
}
.arb-cred-metrics-light { border-top-color: rgba(255,255,255,.11); }
.arb-cm-num        { font-size: 1.75rem; font-weight: 800; color: var(--arb-blue); line-height: 1; }
.arb-cm-num-light  { font-size: 1.75rem; font-weight: 800; color: var(--arb-cyan); line-height: 1; }
.arb-cm-label      { font-size: 11px; color: var(--arb-ink-4); line-height: 1.35; margin-top: 3px; }
.arb-cm-label-light{ font-size: 11px; color: rgba(255,255,255,.38); line-height: 1.35; margin-top: 3px; }

/* Pilot card quote */
.arb-pilot-quote {
  margin-top: 1.75rem;
  padding: 1.125rem 1.375rem;
  background: rgba(255,255,255,.07);
  border-left: 3px solid var(--arb-cyan);
  border-radius: 0 10px 10px 0;
}
.arb-pilot-quote-text {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-style: italic;
}
.arb-pilot-quote-attr {
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  margin-top: .5rem;
  font-weight: 500;
}

/* ── Formulario de contacto ──────────────────────────────────── */
.arb-form-group { margin-bottom: 1.25rem; }
.arb-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--arb-ink-2);
  margin-bottom: .4rem;
}
.arb-form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--arb-border);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--arb-ink-2);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.arb-form-control:focus {
  border-color: var(--arb-blue);
  box-shadow: 0 0 0 3px rgba(26,43,189,.1);
}
.arb-form-control.arb-textarea { min-height: 140px; resize: vertical; }
.arb-form-hint { font-size: 13px; color: var(--arb-ink-4); margin-top: .3rem; }
.arb-form-error { font-size: 13px; color: var(--arb-red); margin-top: .3rem; display: none; }
.arb-form-error.visible { display: block; }

/* Alert de éxito / error */
.arb-alert {
  border-radius: 12px;
  padding: 1.125rem 1.375rem;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: none;
}
.arb-alert.visible { display: block; }
.arb-alert-success {
  background: rgba(18,183,106,.07);
  border: 1.5px solid rgba(18,183,106,.2);
  color: #0b7a47;
}
.arb-alert-error {
  background: rgba(240,68,56,.06);
  border: 1.5px solid rgba(240,68,56,.2);
  color: #b91c1c;
}

/* Sidebar de contacto */
.arb-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.arb-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.arb-contact-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(26,43,189,.07);
  border: 1px solid rgba(26,43,189,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.arb-contact-label { font-size: 12px; color: var(--arb-ink-4); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .2rem; }
.arb-contact-value { font-size: 15px; color: var(--arb-ink-2); font-weight: 600; }
.arb-contact-value a { color: var(--arb-blue); }
.arb-contact-value a:hover { text-decoration: underline; }

/* ── 14. CTA FINAL ────────────────────────────────────────────── */
.arb-cta {
  background: var(--arb-grad-cta);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.arb-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.arb-cta::after {
  content: '';
  position: absolute;
  bottom: -25%; left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 350px;
  background: radial-gradient(ellipse, rgba(0,180,230,.14) 0%, transparent 65%);
  pointer-events: none;
}
.arb-cta > .container { position: relative; z-index: 1; }
.arb-cta .arb-label { color: rgba(255,255,255,.32); }
.arb-cta .arb-h2    { color: #fff; }
.arb-cta-sub {
  color: rgba(255,255,255,.58);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.arb-cta-acts { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.arb-cta-note { font-size: 13px; color: rgba(255,255,255,.28); margin-top: 1.75rem; }

/* ── 15. FOOTER ───────────────────────────────────────────────── */
.arb-footer {
  background: #07080f;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 4rem 0 2rem;
}
.arb-footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.36);
  line-height: 1.65;
  margin-bottom: 1.375rem;
}
.arb-comp-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.arb-comp-badge {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.28);
  letter-spacing: .5px;
}
.arb-fc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-bottom: 1rem;
}
.arb-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.arb-footer-links a { font-size: 13.5px; color: rgba(255,255,255,.38); transition: color .2s; }
.arb-footer-links a:hover { color: rgba(255,255,255,.85); }
.arb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.arb-footer-copy         { font-size: 12px; color: rgba(255,255,255,.2); }
.arb-footer-contact-link { font-size: 12px; color: var(--arb-cyan); }

/* ── 16. ANIMACIONES ──────────────────────────────────────────── */
.arb-fade { opacity: 1; transform: none; }
.arb-fade.will-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.arb-fade.will-animate.in { opacity: 1; transform: translateY(0); }
.arb-fade.d1 { transition-delay: .08s; }
.arb-fade.d2 { transition-delay: .16s; }
.arb-fade.d3 { transition-delay: .24s; }
.arb-fade.d4 { transition-delay: .32s; }

/* ── 17. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .arb-nav .navbar-collapse {
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--arb-border);
    padding: 1rem 0 1.5rem;
    backdrop-filter: blur(24px);
  }
  .arb-hero-stats { max-width: 100%; }
  .arb-mockup-wrap { animation: none; margin-top: 2.5rem; }
  .arb-steps-row::before { display: none; }
}
@media (max-width: 767.98px) {
  .arb-hero         { padding: 110px 0 72px; }
  .arb-hero-stats   { flex-direction: column; gap: .625rem; border: none; background: none; }
  .arb-hstat        {
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
  }
  .arb-sec          { padding: 4.5rem 0; }
  .arb-cta          { padding: 4.5rem 0; }
}
@media (max-width: 479.98px) {
  .arb-hero-ctas    { flex-direction: column; }
  .arb-hero-ctas .arb-btn { text-align: center; }
  .arb-cta-acts     { flex-direction: column; align-items: stretch; }
}
