/* =====================================================================
   Reparamos Línea Blanca — Tema visual
   Paleta: Negro · Plata · Destellos Azul Marino
   Pensado para usuarios de 30 a 60 años: texto grande y alto contraste.
   ===================================================================== */
:root {
  --rlb-black: #0A0C10;
  --rlb-ink: #12161D;
  --rlb-graphite: #1B212B;
  --rlb-steel: #8F98A4;
  --rlb-silver: #C9CED6;
  --rlb-silver-2: #E4E7EB;
  --rlb-silver-3: #F4F5F7;
  --rlb-navy: #0B2C6B;
  --rlb-navy-2: #1D4ED8;
  --rlb-glow: #60A5FA;
  --rlb-wa: #15803D;
  --rlb-wa-2: #0E6B33;
  --rlb-text: #111827;
  --rlb-text-2: #374151;
  --rlb-radius: 18px;
  --rlb-shadow: 0 10px 30px rgba(10, 12, 16, .12);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --bs-body-color: var(--rlb-text);
  --bs-body-line-height: 1.6;
  --bs-heading-color: inherit;
  --bs-link-color-rgb: 11, 44, 107;
  --bs-link-hover-color-rgb: 29, 78, 216;
}

/* Tamaño base 18px: más cómodo para lectura */
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--rlb-glow) !important; outline-offset: 3px; }

/* Íconos oficiales Bootstrap Icons (SVG en línea) */
.bi { width: 1.15em; height: 1.15em; vertical-align: -.18em; fill: currentColor; flex-shrink: 0; }
.bi-ph { display: inline-block; width: 1.15em; height: 1.15em; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; color: var(--rlb-navy); padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.topbar { background: var(--rlb-black); color: var(--rlb-silver); font-size: .85rem; padding: .4rem 0; border-bottom: 1px solid #1f2530; }
.topbar .bi { color: var(--rlb-glow); }
.site-header { background: var(--rlb-black); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 20px rgba(0,0,0,.25); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--rlb-navy-2), var(--rlb-silver), var(--rlb-navy-2), transparent); opacity: .7; }
.navbar { --bs-navbar-padding-y: .35rem; }
.navbar-brand { padding: 0; }
.navbar-brand img { width: 160px; height: auto; display: block; }
.navbar-dark .nav-link { color: var(--rlb-silver-2); font-weight: 600; font-size: 1rem; padding: .7rem .8rem !important; border-radius: 10px; }
.navbar-dark .nav-link:hover, .navbar-dark .nav-link:focus { color: #fff; background: rgba(255,255,255,.06); }
.navbar-dark .nav-link.active { color: #fff; box-shadow: inset 0 -3px 0 var(--rlb-navy-2); }
.navbar-toggler { border: 1px solid var(--rlb-steel); padding: .5rem .65rem; }
.dropdown-menu-dark { --bs-dropdown-bg: var(--rlb-ink); --bs-dropdown-link-hover-bg: var(--rlb-navy); --bs-dropdown-link-active-bg: var(--rlb-navy-2); border: 1px solid #263041; border-radius: 14px; padding: .5rem; }
.dropdown-item { border-radius: 10px; padding: .65rem .85rem; font-weight: 600; white-space: normal; }
.dropdown-item small { color: var(--rlb-steel); font-weight: 500; }
.dropdown-item .bi { color: var(--rlb-glow); margin-right: .25rem; }
@media (min-width: 992px) { .navbar-brand img { width: 200px; } }
@media (max-width: 991.98px) { .navbar-collapse { padding: .5rem 0 1rem; } }

.crumbs { background: var(--rlb-silver-3); border-bottom: 1px solid var(--rlb-silver-2); font-size: .9rem; padding: .55rem 0; }
.breadcrumb-item.active { color: var(--rlb-text-2); }

/* ---------- Botones CTA ---------- */
.btn { --bs-btn-font-weight: 700; min-height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.35rem; transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease; }
.btn-lg { min-height: 60px; font-size: 1.08rem; padding: .8rem 1.6rem; border-radius: 16px; }
.btn small { display: block; font-size: .78rem; font-weight: 600; opacity: .85; line-height: 1.1; }
.btn > span { text-align: left; line-height: 1.15; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, #2563EB 0%, var(--rlb-navy-2) 40%, var(--rlb-navy) 100%); box-shadow: 0 10px 26px rgba(29,78,216,.38), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-cta:hover, .btn-cta:focus { color: #fff; box-shadow: 0 14px 34px rgba(29,78,216,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-cta::after, .btn-wa::after, .btn-silver::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-cta:hover::after, .btn-wa:hover::after, .btn-silver:hover::after { transform: translateX(120%); }
.btn-cta-sm { min-height: 48px; padding: .5rem 1rem; }

.btn-wa { position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, #16A34A, var(--rlb-wa) 50%, var(--rlb-wa-2)); box-shadow: 0 10px 26px rgba(21,128,61,.35); }
.btn-wa:hover, .btn-wa:focus { color: #fff; box-shadow: 0 14px 34px rgba(21,128,61,.48); }

.btn-silver { position: relative; overflow: hidden; isolation: isolate; color: var(--rlb-black); border: 1px solid #fff; background: linear-gradient(135deg, #FFFFFF 0%, #DCE0E6 45%, #AEB5BF 100%); box-shadow: 0 10px 26px rgba(0,0,0,.25), inset 0 1px 0 #fff; }
.btn-silver:hover, .btn-silver:focus { color: var(--rlb-black); }

.btn-outline-navy { color: var(--rlb-navy); border: 2px solid var(--rlb-navy); background: #fff; }
.btn-outline-navy:hover { color: #fff; background: var(--rlb-navy); }

.btn-pulse::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--rlb-glow); animation: pulse 2.4s ease-out infinite; z-index: -2; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.12, 1.3); } }

/* ---------- Etiquetas ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rlb-navy-2); margin-bottom: .75rem; }
.eyebrow-light, .hero .eyebrow, .page-hero .eyebrow { color: var(--rlb-glow); }
.section-head { max-width: 760px; margin: 0 auto 2.25rem; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.section-head p { color: var(--rlb-text-2); font-size: 1.05rem; }
.narrow { max-width: 880px; }
.link-strong { font-weight: 700; color: var(--rlb-navy-2); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; color: var(--rlb-silver-2); background:
  radial-gradient(900px 520px at 88% 10%, rgba(29,78,216,.38), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(11,44,107,.45), transparent 65%),
  linear-gradient(180deg, var(--rlb-black) 0%, var(--rlb-ink) 100%); }
.hero { padding: 2.5rem 0 5.5rem; }
.hero-title { color: #fff; font-size: clamp(2.1rem, 7vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; }
.text-shine { background: linear-gradient(90deg, #fff, var(--rlb-silver) 40%, var(--rlb-glow) 70%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.12rem; color: var(--rlb-silver-2); max-width: 36rem; }
.hero-lead strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.5rem 0; }
.hero-ctas .btn { flex: 1 1 260px; }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; font-size: .95rem; color: var(--rlb-silver); }
.trust-row .bi { color: var(--rlb-glow); }
.hero-visual { position: relative; padding: 0 0 1rem; }
.hero-visual::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 22%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(96,165,250,.35), transparent 70%); }
.hero-visual img { position: relative; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.hero-chip { position: absolute; display: inline-flex; align-items: center; gap: .4rem; background: rgba(18,22,29,.92); color: #fff; border: 1px solid #2a3446; border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; font-weight: 700; box-shadow: var(--rlb-shadow); }
.hero-chip .bi { color: var(--rlb-glow); }
.hero-chip-1 { top: 6%; left: 0; }
.hero-chip-2 { bottom: 12%; right: 0; }

.page-hero { padding: 2.5rem 0 2.75rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 900; }
.page-hero .lead { color: var(--rlb-silver-2); font-size: 1.12rem; max-width: 46rem; }
.detail-img { max-height: 320px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }

/* ---------- Oferta ---------- */
.offer { position: relative; z-index: 2; margin-top: -3.25rem; background: linear-gradient(180deg, transparent 0 3.25rem, var(--rlb-ink) 3.25rem 100%); }
.offer-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.4rem; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--rlb-navy) 0%, #0e1a33 55%, var(--rlb-black) 100%); border: 1px solid #2b3c61; box-shadow: 0 20px 45px rgba(10,12,16,.35); }
.offer-badge { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 900; color: var(--rlb-black);
  background: conic-gradient(from 210deg, #fff, #AEB5BF, #fff, #C9CED6, #fff); box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 28px rgba(96,165,250,.45); }
.offer-badge span { font-size: 1.1rem; margin-left: 2px; }
.offer-text { flex: 1 1 260px; }
.offer-text h2 { font-size: clamp(1.25rem, 3.5vw, 1.6rem); margin-bottom: .25rem; }
.offer-text p { margin: 0; color: var(--rlb-silver-2); }
.offer-card .btn { flex: 1 1 100%; }
@media (min-width: 768px) { .offer-card { padding: 1.6rem 2rem; } .offer-card .btn { flex: 0 0 auto; } }

/* ---------- Servicios (con animación) ---------- */
.services { position: relative; overflow: hidden; padding: 4.5rem 0; color: var(--rlb-silver-2); background: radial-gradient(800px 500px at 50% 0%, rgba(29,78,216,.22), transparent 70%), var(--rlb-ink); }
.services .section-head h2 { color: #fff; }
.services .section-head p { color: var(--rlb-silver); }
.tool-rain { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tool-rain .tool { position: absolute; top: -90px; left: 0; width: var(--s, 48px); height: var(--s, 48px); color: var(--rlb-silver); fill: currentColor; opacity: var(--o, .16);
  animation: tool-fall var(--d, 12s) linear var(--delay, 0s) infinite; will-change: transform; }
.tool-rain.is-paused .tool { animation-play-state: paused; }
@keyframes tool-fall { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--x, 0px), var(--fall, 900px), 0) rotate(var(--r, 360deg)); } }

.service-card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: 22px; text-decoration: none; color: var(--rlb-text);
  background: linear-gradient(180deg, #fff 0%, #EEF0F3 100%); border: 1px solid #fff; box-shadow: 0 16px 40px rgba(0,0,0,.35); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); color: var(--rlb-text); box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 2px var(--rlb-navy-2); }
.service-img { height: 190px; display: grid; place-items: center; margin-bottom: 1rem; background: radial-gradient(circle at 50% 70%, rgba(29,78,216,.14), transparent 65%); }
.service-img img { max-height: 190px; width: auto; }
.service-card h3 { font-size: 1.45rem; color: var(--rlb-black); }
.service-card h3 .bi { color: var(--rlb-navy-2); }
.service-card p { color: var(--rlb-text-2); }
.service-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.service-tags li { font-size: .82rem; font-weight: 700; color: var(--rlb-navy); background: #E3EAF8; border-radius: 999px; padding: .25rem .7rem; }
.service-more { margin-top: auto; font-weight: 800; color: var(--rlb-navy-2); display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- Pasos ---------- */
.steps { padding: 4.5rem 0; background: var(--rlb-silver-3); }
.steps-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; counter-reset: s; }
.steps-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: #fff; border-radius: var(--rlb-radius); box-shadow: var(--rlb-shadow); border-top: 4px solid var(--rlb-navy-2); }
.steps-list h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.steps-list p { margin: 0; color: var(--rlb-text-2); }
.step-num { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--rlb-navy-2), var(--rlb-navy)); }
@media (min-width: 992px) { .steps-list { grid-template-columns: repeat(3, 1fr); } .steps-list li { flex-direction: column; } }

/* ---------- Por qué ---------- */
.why { padding: 4.5rem 0; }
.why-card { display: flex; gap: 1rem; height: 100%; padding: 1.3rem; border-radius: var(--rlb-radius); background: #fff; border: 1px solid var(--rlb-silver-2); transition: border-color .2s, box-shadow .2s; }
.why-card:hover { border-color: var(--rlb-navy-2); box-shadow: var(--rlb-shadow); }
.why-card h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.why-card p { margin: 0; color: var(--rlb-text-2); font-size: .98rem; }
.why-icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: linear-gradient(135deg, #2a313c, var(--rlb-black)); box-shadow: inset 0 0 0 1px #3a4352, 0 6px 16px rgba(29,78,216,.25); }
.why-icon .bi { color: var(--rlb-silver); }

/* ---------- Cobertura ---------- */
.coverage { padding: 4.5rem 0; color: var(--rlb-silver-2); background: linear-gradient(180deg, var(--rlb-black), var(--rlb-ink)); }
.coverage h2 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
.chips-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--rlb-glow); margin: 0 0 .75rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .9rem; font-weight: 600; color: #fff; border: 1px solid #364156; background: rgba(255,255,255,.04); border-radius: 999px; padding: .35rem .8rem; }

/* ---------- FAQ ---------- */
.faq-teaser { padding: 4.5rem 0; background: var(--rlb-silver-3); }
.rlb-accordion { --bs-accordion-border-radius: 16px; --bs-accordion-inner-border-radius: 16px; --bs-accordion-active-bg: #E3EAF8; --bs-accordion-active-color: var(--rlb-navy); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(96,165,250,.5); }
.rlb-accordion .accordion-item { border: 1px solid var(--rlb-silver-2); margin-bottom: .75rem; border-radius: 16px !important; overflow: hidden; }
.rlb-accordion .accordion-button { font-weight: 700; font-size: 1.05rem; padding: 1.1rem 1.25rem; }
.rlb-accordion .accordion-body { font-size: 1.02rem; color: var(--rlb-text-2); }

/* ---------- Banda CTA ---------- */
.cta-band { padding: 3rem 0; background: linear-gradient(120deg, var(--rlb-navy) 0%, #0d2150 50%, var(--rlb-black) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%); }
.cta-band-inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: .35rem; }
.cta-band p { margin: 0; color: var(--rlb-silver-2); }
.cta-band-actions { display: grid; gap: .75rem; }
@media (min-width: 576px) { .cta-band-actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .cta-band-inner { grid-template-columns: 1fr auto; } .cta-band-actions .btn { min-width: 230px; } }

/* ---------- Páginas internas ---------- */
.section-light { padding: 3.5rem 0; background: var(--rlb-silver-3); }
.h-sec { font-size: clamp(1.4rem, 4vw, 1.85rem); margin-bottom: 1.1rem; }
.svc-row { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; margin-bottom: 1.5rem; border-radius: 22px; background: #fff; box-shadow: var(--rlb-shadow); }
.svc-row-img { display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, rgba(29,78,216,.12), transparent 65%); }
.svc-row-img img { max-height: 220px; width: auto; }
.svc-row h2 { font-size: 1.65rem; }
.svc-row h2 .bi { color: var(--rlb-navy-2); }
.svc-sub { padding-left: 1.1rem; color: var(--rlb-text-2); }
.svc-sub li { margin-bottom: .35rem; }
@media (min-width: 768px) { .svc-row { flex-direction: row; align-items: center; } .svc-row-img { flex: 0 0 240px; } }

.equip-card { height: 100%; padding: 1.2rem; border-radius: 16px; background: #fff; border-left: 5px solid var(--rlb-navy-2); box-shadow: var(--rlb-shadow); }
.equip-card h3 { font-size: 1.15rem; }
.equip-card h3 .bi { color: var(--rlb-navy-2); }
.equip-card p { margin: 0; color: var(--rlb-text-2); }
.fail-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.fail-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; background: #fff; border-radius: 12px; font-weight: 600; border: 1px solid var(--rlb-silver-2); }
.fail-list .bi { color: #B45309; margin-top: .2rem; }
.work-list { display: grid; gap: .75rem; }
.work-item { display: flex; gap: 1rem; padding: 1rem; background: #fff; border-radius: 14px; border: 1px solid var(--rlb-silver-2); }
.work-item > span { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--rlb-navy-2), var(--rlb-navy)); font-size: 1.2rem; }
.work-item h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.work-item p { margin: 0; color: var(--rlb-text-2); font-size: .98rem; }
.info-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 2.5rem 0 1.5rem; }
.info-strip div { display: flex; align-items: center; gap: .5rem; padding: .9rem; border-radius: 14px; background: var(--rlb-black); color: #fff; font-weight: 700; font-size: .92rem; }
.info-strip .bi { color: var(--rlb-glow); }
@media (min-width: 992px) { .info-strip { grid-template-columns: repeat(4, 1fr); } }
.other-svc { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-weight: 700; }
.other-svc a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 2px solid var(--rlb-navy); color: var(--rlb-navy); text-decoration: none; min-height: 48px; }
.other-svc a:hover { background: var(--rlb-navy); color: #fff; }
.ask-box { margin-top: 2.5rem; padding: 2rem 1.5rem; text-align: center; background: #fff; border-radius: 22px; box-shadow: var(--rlb-shadow); }

/* ---------- Contacto ---------- */
.contact-cards { display: grid; gap: .85rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; color: var(--rlb-text); text-decoration: none; border: 1px solid var(--rlb-silver-2); box-shadow: var(--rlb-shadow); transition: transform .2s, border-color .2s; }
a.contact-card:hover { transform: translateY(-3px); border-color: var(--rlb-navy-2); color: var(--rlb-text); }
.contact-card small { display: block; color: var(--rlb-text-2); font-weight: 600; }
.contact-card strong { font-size: 1.08rem; }
.cc-icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.4rem; background: linear-gradient(135deg, var(--rlb-navy-2), var(--rlb-navy)); }
.cc-wa .cc-icon { background: linear-gradient(135deg, #16A34A, var(--rlb-wa-2)); }
.form-card { padding: 1.5rem; border-radius: 22px; background: #fff; box-shadow: var(--rlb-shadow); border-top: 5px solid var(--rlb-navy-2); }
.form-label { font-weight: 700; }
.form-control, .form-select { border: 2px solid #CBD2DC; border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--rlb-navy-2); box-shadow: 0 0 0 .25rem rgba(29,78,216,.2); }
.form-check-input { width: 1.4em; height: 1.4em; margin-top: .1em; border: 2px solid var(--rlb-steel); }
.form-check-label { padding-left: .35rem; }
.wa-sent { border-top-color: var(--rlb-wa); }
.wa-sent-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; font-size: 2.4rem; color: #fff; margin-bottom: .75rem; background: linear-gradient(135deg, #16A34A, var(--rlb-wa-2)); box-shadow: 0 10px 26px rgba(21,128,61,.35); }
.wa-folio { font-size: 1.1rem; }
.wa-folio strong { color: var(--rlb-navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) { .form-card { padding: 2rem; } }

/* ---------- Aviso legal ---------- */
.legal { background: #fff; border-radius: 22px; padding: 1.5rem; box-shadow: var(--rlb-shadow); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; padding-top: .5rem; border-top: 1px solid var(--rlb-silver-2); }
.legal-toc { background: var(--rlb-silver-3); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.legal-toc ol { margin: .5rem 0 0; columns: 2; column-gap: 2rem; }
@media (min-width: 768px) { .legal { padding: 2.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--rlb-black); color: var(--rlb-silver); padding: 3.5rem 0 1.5rem; font-size: .98rem; border-top: 3px solid var(--rlb-navy-2); }
.site-footer a { color: #fff; }
.site-footer hr { border-color: #2a3240; opacity: 1; margin: 2rem 0 1.25rem; }
.footer-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--rlb-glow); margin-bottom: 1rem; }
.footer-links, .footer-badges { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { text-decoration: none; display: inline-block; padding: .15rem 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-badges li { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; font-weight: 600; }
.footer-badges .bi, .footer-contact .bi { color: var(--rlb-glow); }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: .6rem; margin-bottom: .7rem; }
.footer-contact .bi { margin-top: .25rem; }
.footer-bottom { font-size: .88rem; }
.footer-legal { color: var(--rlb-steel); }

/* ---------- Toasts ---------- */
.toast-zone { z-index: 1080; left: 0; right: 0; bottom: 78px; }
@media (min-width: 768px) { .toast-zone { right: auto; bottom: 0; } }
.rlb-toast { --bs-toast-max-width: 420px; width: 100%; display: none; align-items: flex-start; gap: .85rem; padding: 1rem; margin: 0 auto; color: #fff; border-radius: 18px;
  background: linear-gradient(135deg, rgba(18,22,29,.97), rgba(11,44,107,.97)); border: 1px solid #34425e; box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.05) inset; }
.rlb-toast.showing, .rlb-toast.show { display: flex; animation: toast-in .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes toast-in { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.rlb-toast-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; }
.toast-navy { background: linear-gradient(135deg, #2563EB, var(--rlb-navy)); color: #fff; }
.toast-silver { background: linear-gradient(135deg, #fff, #AEB5BF); color: var(--rlb-black); }
.toast-green { background: linear-gradient(135deg, #16A34A, var(--rlb-wa-2)); color: #fff; }
.rlb-toast-body { flex: 1; font-size: .95rem; line-height: 1.4; }
.rlb-toast-body strong { display: block; font-size: 1.05rem; margin-bottom: .15rem; }
.rlb-toast-body span { color: var(--rlb-silver-2); display: block; }
.rlb-toast-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; font-weight: 800; color: var(--rlb-glow); text-decoration: none; min-height: 32px; }
.rlb-toast-link:hover { color: #fff; }
.rlb-toast .btn-close { margin-top: .15rem; }

/* ---------- Barra flotante móvil ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1070; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(10,12,16,.97); border-top: 1px solid #2a3240; box-shadow: 0 -10px 30px rgba(0,0,0,.35); transform: translateY(110%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
.mobile-cta.is-visible { transform: translateY(0); visibility: visible; }
.mobile-cta .btn { min-height: 54px; font-size: 1.05rem; }
@media (max-width: 767.98px) { .site-footer { padding-bottom: 6rem; } }

/* ---------- Modal de alerta ---------- */
.rlb-alert .modal-content { position: relative; overflow: hidden; border: 1px solid #34425e; border-radius: 24px; color: var(--rlb-silver-2);
  background: radial-gradient(500px 300px at 100% 0%, rgba(29,78,216,.35), transparent 70%), var(--rlb-ink); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.rlb-alert-close { position: absolute; top: .85rem; right: .85rem; z-index: 5; width: 44px; height: 44px; padding: 0; border-radius: 50%; background-color: rgba(10,12,16,.75); opacity: 1; background-size: 14px; }
.rlb-alert-media { background: var(--rlb-black); display: flex; align-items: center; }
.rlb-alert-media img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; display: block; }
.rlb-alert-body { padding: 1.5rem; }
.rlb-alert-body h2 { color: #fff; font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: .35rem; }
.rlb-alert-sub { color: var(--rlb-glow); font-weight: 700; font-size: 1.05rem; }
.rlb-alert-body .eyebrow { color: var(--rlb-silver); }
@media (min-width: 768px) { .rlb-alert-media img { max-height: none; height: auto; object-fit: contain; } .rlb-alert-body { padding: 2.25rem 2rem; } }

/* ---------- Accesibilidad: movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tool-rain { display: none; }
}
