/* RON3IA — r3v2.css (03-nov-2026). Rediseño oscuro premium, misma familia visual que web.ron3ia.cl.
   Reemplaza a r3.css en TODAS las páginas (mismos nombres de clase r3-*, solo cambia la piel) y al
   CSS congelado del <head> de la portada (nav + hero). Tokens --r3-* se redefinen a oscuro para que
   cualquier regla heredada siga funcionando. Fuentes auto-hospedadas (CSP font-src 'self'):
   Cormorant Garamond (títulos), Manrope (texto), Poppins (H1 portada) → assets/fonts/fonts-v2.css. */

@property --ba { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* tokens heredados (nombres r3-*) → valores oscuros */
  --r3-bg: #000000;
  --r3-white: rgba(255,255,255,.03);          /* fondo de tarjetas/paneles */
  --r3-ink: #ffffff;
  --r3-muted: rgba(255,255,255,.6);
  --r3-link: #a9c8ee;
  --r3-link-hover: #ffffff;
  --r3-accent: #5f93d6;
  --r3-on-accent: #ffffff;
  --r3-dark: #05070c;
  --r3-on-dark: #ffffff;
  --r3-on-dark-muted: rgba(255,255,255,.6);
  --r3-border: rgba(255,255,255,.1);
  --r3-badge-bg: #5f93d6;
  --r3-badge-ink: #ffffff;
  --r3-tag-bg: rgba(95,147,214,.12);
  --r3-tag-ink: #c6dbf4;
  --r3-warn-bg: rgba(255,170,51,.1);
  --r3-warn-ink: #ffcf7a;
  --r3-error: #ff6b7a;
  --r3-ok: #4ade80;
  --r3-focus: #a9c8ee;
  --r3-focus-dark: #c6dbf4;
  --r3-font: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r3-radius: 16px;
  /* tokens nuevos */
  --v2-bg2: #030406;
  --v2-card: rgba(255,255,255,.03);
  --v2-card2: rgba(255,255,255,.05);
  --v2-line2: rgba(255,255,255,.14);
  --v2-t90: rgba(255,255,255,.9);
  --v2-t45: rgba(255,255,255,.52);
  --v2-t35: rgba(255,255,255,.35);
  --v2-pink: #5f93d6;
  --v2-pink2: #2c5fa8;
  --v2-pink-tx: #a9c8ee;
  --v2-glow: rgba(95,147,214,.42);
  --v2-wa: #25d366;
  --v2-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --v2-hero: Poppins, var(--r3-font);
  --v2-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --v2-r2: 24px;
}

/* ───────────── base ───────────── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, .r3-page { margin: 0; background: var(--r3-bg); color: var(--r3-ink); font-family: var(--r3-font); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
.r3, .r3-footer { font-family: var(--r3-font); }
.r3 { background: var(--r3-bg); color: var(--r3-ink); font-size: 16px; line-height: 1.65; }
.r3 h1, .r3 h2, .r3 h3, .r3 h4, .r3 p, .r3 ul, .r3 ol, .r3-footer p, .r3-footer ul { margin: 0; padding: 0; }
.r3 ul, .r3 ol, .r3-footer ul { list-style: none; }
.r3 h1 { font-family: var(--v2-hero); font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.08; font-weight: 400; letter-spacing: -.02em; }
.r3 h2 { font-family: var(--v2-serif); font-style: italic; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.r3 h2 .dim { color: var(--v2-t35); }
.r3 h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.r3 h4 { font-size: 1rem; line-height: 1.4; font-weight: 700; }
.r3 a { color: var(--r3-link); text-decoration: none; }
.r3 a:hover { color: var(--r3-link-hover); }
.r3 p a, .r3 li a:not(.r3-btn) { text-decoration: underline; text-decoration-color: rgba(169,200,238,.4); text-underline-offset: 3px; }
.r3 [id] { scroll-margin-top: 90px; }
main:focus { outline: none; }

.r3-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.r3-narrow { max-width: 760px; }
.r3-center { text-align: center; }
.r3-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.r3 :focus-visible, .r3-page :focus-visible, .r3-footer :focus-visible, nav :focus-visible, .hero :focus-visible { outline: 2px solid var(--r3-focus); outline-offset: 3px; border-radius: 4px; }
.r3-skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: #fff; color: #000; padding: 12px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.r3-skip:focus { top: 12px; }

/* ───────────── etiqueta de sección (píldora con haz) ───────────── */
.r3-eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--v2-line2); background: rgba(255,255,255,.03); font-family: var(--v2-mono); font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); overflow: hidden; white-space: nowrap; font-weight: 500;
}
.r3 .r3-eyebrow-row { margin: 0 0 16px; line-height: 0; }
.r3 .r3-head .r3-eyebrow-row { margin: 0; }
.r3-eyebrow::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); transform: translateX(-120%); animation: r3-shimmer 4.5s ease-in-out infinite; }
.r3-eyebrow::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--v2-pink); box-shadow: 0 0 10px var(--v2-pink); order: -1; flex: none; }
@keyframes r3-shimmer { 0%, 25% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }

/* ───────────── borde con haz giratorio ───────────── */
.r3-beam { position: relative; isolation: isolate; }
.r3-beam::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ba), transparent 0 68%, rgba(95,147,214,.95) 84%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: r3-beam 7s linear infinite; pointer-events: none; z-index: 1; }
@keyframes r3-beam { to { --ba: 360deg; } }

/* ───────────── secciones ───────────── */
.r3 section.r3-sec { padding: 88px 0; border-bottom: 1px solid rgba(255,255,255,.06); position: relative; }
.r3-light { background: var(--r3-bg); }
.r3-white { background: var(--v2-bg2); }
.r3-head { max-width: 760px; margin: 0 auto 40px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.r3-head p { color: var(--v2-t45); font-size: 1.05rem; line-height: 1.7; }
.r3-sec h2 + p, .r3-sec h2 + .r3-soon { margin-top: 8px; }
.r3-wrap > p + p, .r3-narrow > p + p, .r3-split > div > p + p, .r3-split-cards > div > p + p { margin-top: 12px; }

/* ───────────── grillas ───────────── */
.r3-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.r3-split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }

/* ───────────── botones ───────────── */
.r3-btn, .btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px;
  border-radius: 12px; font-family: var(--r3-font); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .3s, background .3s, border-color .3s, color .3s; white-space: nowrap;
}
.r3-btn:active, .btn-primary:active { transform: scale(.98); }
.r3 .r3-btn-primary, .r3-page .r3-btn-primary, .r3-footer .r3-btn-primary, .btn-primary, nav .btn-primary, .r3-dialog .r3-btn-primary {
  position: relative; isolation: isolate; color: #fff; background: linear-gradient(135deg, #8fb6e8 0%, #2c5fa8 100%); box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.r3 .r3-btn-primary::after, .r3-page .r3-btn-primary::after, .btn-primary::after, .r3-dialog .r3-btn-primary::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; background: rgba(95,147,214,.5); filter: blur(14px); z-index: -1; animation: r3-glow 3.2s ease-in-out infinite; pointer-events: none; }
.r3 .r3-btn-primary:hover, .r3-page .r3-btn-primary:hover, .btn-primary:hover, .r3-dialog .r3-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
@keyframes r3-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.r3 .r3-btn-ghost, .btn-ghost, .r3-dialog .r3-btn-secondary, .r3-dialog .r3-dialog-cerrar { background: rgba(255,255,255,.05); color: #fff; border-color: var(--v2-line2); backdrop-filter: blur(8px); }
.r3 .r3-btn-ghost:hover, .btn-ghost:hover, .r3-dialog .r3-btn-secondary:hover, .r3-dialog .r3-dialog-cerrar:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); color: #fff; transform: translateY(-2px); }
.r3-btn:disabled, .r3-btn[aria-disabled="true"], .btn-primary:disabled { background: rgba(255,255,255,.06); color: var(--v2-t45); border-color: var(--r3-border); cursor: not-allowed; box-shadow: none; transform: none; }
.r3-btn:disabled::after, .btn-primary:disabled::after { display: none; }
.r3-btn-block { width: 100%; }
.r3-link { font-weight: 600; }
.r3 .r3-link-inv { color: var(--v2-pink-tx); }
.r3 .r3-link-inv:hover { color: #fff; }
/* nav congelado: enlaces/CTA apagados por l1.js */
nav .nav-links a.r3-nav-link-off, nav .nav-links a.r3-nav-link-off:hover { color: var(--v2-t35); cursor: default; text-decoration: none; }
nav .btn-primary.r3-nav-cta-off, nav .btn-primary.r3-nav-cta-off:hover { background: rgba(255,255,255,.06); color: var(--v2-t45); cursor: not-allowed; box-shadow: none; transform: none; }
nav .btn-primary.r3-nav-cta-off::after { display: none; }
.hero .hero-cta .r3-hero-cta-off, .hero .hero-cta .r3-hero-cta-off:hover { background: rgba(255,255,255,.06); color: var(--v2-t45); border: 1px solid var(--r3-border); cursor: not-allowed; box-shadow: none; transform: none; opacity: .75; }
.hero .hero-cta .r3-hero-cta-oculto { display: none; }

/* ───────────── tarjetas ───────────── */
.r3-card { background: var(--v2-card); border: 1px solid var(--r3-border); border-radius: var(--r3-radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: transform .35s, border-color .35s, background .35s; }
.r3-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); background: var(--v2-card2); }
.r3-card p { color: var(--r3-muted); font-size: .95rem; }
.r3-card-rec { border-color: rgba(95,147,214,.45); background: radial-gradient(90% 60% at 50% 0%, rgba(95,147,214,.16), transparent 60%), var(--v2-card2); box-shadow: 0 30px 80px -40px rgba(95,147,214,.5); }
.r3-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.r3-ico { color: var(--v2-pink-tx); flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(95,147,214,.12); border: 1px solid rgba(95,147,214,.3); }
.r3-ico svg { width: 20px; height: 20px; }
.r3-badge { display: inline-block; background: linear-gradient(135deg, #8fb6e8, #2c5fa8); color: #fff; font-family: var(--v2-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 0 18px rgba(95,147,214,.4); }
.r3 .r3-card-price { color: var(--v2-t90); font-weight: 600; font-size: .95rem; margin-top: auto; }
.r3-card-cta { align-self: stretch; }

/* ───────────── franja de confianza ───────────── */
.r3 section.r3-strip { padding: 22px 0; background: var(--v2-bg2); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.r3-strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; font-family: var(--v2-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--v2-t45); }
.r3-strip-list li { display: inline-flex; align-items: center; gap: 10px; }
.r3-strip-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--v2-pink); box-shadow: 0 0 10px var(--v2-pink); }
.r3-strip-list li[hidden] { display: none; }

/* ───────────── pasos ───────────── */
.r3-steps { margin-top: 36px; }
.r3-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 20px; border-radius: var(--r3-radius); background: radial-gradient(70% 55% at 20% 10%, rgba(95,147,214,.08), transparent 58%), rgba(5,6,9,.92); border: 1px solid var(--r3-border); overflow: hidden; transition: border-color .3s, transform .3s; }
.r3-step:hover { border-color: rgba(95,147,214,.35); transform: translateY(-3px); }
.r3-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(95,147,214,.8), transparent); }
.r3-step p { color: var(--r3-muted); font-size: .95rem; }
.r3-step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(95,147,214,.12); border: 1px solid rgba(95,147,214,.3); color: var(--v2-pink-tx); font-family: var(--v2-mono); font-weight: 700; font-size: .95rem; }

/* ───────────── paneles y formularios ───────────── */
.r3-panel { background: var(--v2-card); border: 1px solid var(--r3-border); border-radius: var(--v2-r2); padding: 26px; display: grid; gap: 12px; align-content: start; backdrop-filter: blur(12px); }
.r3-panel-soft { background: rgba(95,147,214,.06); border-color: rgba(95,147,214,.25); }
.r3-panel-soft p { color: var(--v2-t90); }
.r3-form { display: grid; gap: 12px; margin-top: 8px; }
.r3-label { font-weight: 600; font-size: .9rem; color: var(--v2-t90); }
.r3-input { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: 15px; transition: border-color .3s, background .3s; }
.r3-input::placeholder { color: rgba(255,255,255,.3); }
.r3-input:focus { outline: 0; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
select.r3-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--v2-t45) 50%), linear-gradient(135deg, var(--v2-t45) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
select.r3-input option { background: #05070c; color: #fff; }
.r3-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.r3-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--v2-pink); }
.r3-check label { font-size: .9rem; color: var(--r3-muted); line-height: 1.5; }
.r3-check label a, .r3-le-note a { color: var(--v2-pink-tx); text-decoration: underline; text-underline-offset: 3px; }
.r3-hint { font-size: .85rem; color: var(--v2-t45); }
.r3-soon { display: block; justify-self: stretch; background: rgba(95,147,214,.08); color: var(--v2-t90); border: 1px solid rgba(95,147,214,.25); font-size: .95rem; padding: 12px 16px; border-radius: 12px; }
.r3-soon a { color: var(--v2-pink-tx); }
.r3-msg { font-size: .9rem; min-height: 1.2em; }
.r3-msg.r3-error, .r3-error { color: var(--r3-error); font-weight: 600; }
.r3-msg.r3-ok { color: var(--r3-ok); font-weight: 600; }
textarea.r3-input { min-height: 120px; resize: vertical; }
.r3-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.r3-agency-form { margin-top: 32px; position: relative; }
.r3-acc-item .r3-btn { align-self: start; }
.r3-list-num { counter-reset: r3n; }
.r3-list.r3-list-num li { counter-increment: r3n; padding-left: 28px; }
.r3-list.r3-list-num li::before { content: counter(r3n); width: auto; height: auto; background: none; box-shadow: none; top: 0; font-family: var(--v2-mono); font-weight: 700; color: var(--v2-pink-tx); }
.r3-chosen { color: var(--v2-t90); }
.r3-findings { display: grid; gap: 8px; }
.r3-allgood { font-weight: 700; color: var(--r3-ok); }
.r3-reco { display: grid; gap: 10px; border-top: 1px solid var(--r3-border); padding-top: 12px; }
.r3-pay { display: grid; gap: 10px; margin-top: 16px; }
[hidden] { display: none !important; }

/* ───────────── listas e informe ───────────── */
.r3-list { display: grid; gap: 10px; margin-top: 16px; }
.r3-list li { padding-left: 24px; position: relative; color: var(--r3-muted); }
.r3-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c6dbf4, var(--v2-pink)); box-shadow: 0 0 10px rgba(95,147,214,.5); }
.r3-list li strong, .r3-list li b { color: #fff; }
.r3-pages { display: grid; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(3,4,7,.92); box-shadow: 0 40px 120px -40px rgba(95,147,214,.35); }
.r3-pages > p { color: var(--r3-muted); font-size: .95rem; }
.r3-pages img { width: 100%; height: auto; border: 1px solid var(--r3-border); border-radius: 10px; }
.r3-placeholder { border: 1px dashed var(--v2-line2); border-radius: var(--r3-radius); padding: 32px 20px; text-align: center; color: var(--r3-muted); background: var(--v2-card); }

/* ───────────── productos ───────────── */
.r3-prod h3 { font-size: 1.4rem; }
.r3 .r3-price { font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.r3 .r3-price-sm { font-weight: 700; color: #fff; }
.r3 .r3-price-iva { font-weight: 600; color: var(--v2-t90); }
.r3 .r3-price-note { font-size: .9rem; color: var(--v2-t45); }
.r3 .r3-guarantee { font-size: .9rem; color: var(--r3-muted); }
.r3-urgency { margin: 24px auto 0; max-width: 760px; text-align: center; background: var(--r3-warn-bg); color: var(--r3-warn-ink); border: 1px solid rgba(255,170,51,.25); font-weight: 600; padding: 12px 16px; border-radius: 12px; }
.r3-banner { margin-top: 32px; background: radial-gradient(90% 80% at 100% 0%, rgba(95,147,214,.22), transparent 55%), var(--v2-card2); color: #fff; border: 1px solid rgba(95,147,214,.35); border-radius: var(--v2-r2); padding: 30px 28px; display: grid; gap: 16px; }
.r3 .r3-banner p { color: var(--r3-muted); }
.r3 .r3-banner h3, .r3 .r3-banner .r3-price { color: #fff; }
.r3-banner-side { display: grid; gap: 8px; justify-items: start; }
.r3-tag { display: inline-block; background: var(--r3-tag-bg); color: var(--r3-tag-ink) !important; border: 1px solid rgba(95,147,214,.3); font-family: var(--v2-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.r3-later { margin-top: 40px; display: grid; gap: 16px; }
.r3-group { display: grid; gap: 8px; }
.r3-group h4 { color: var(--v2-t45); text-transform: uppercase; letter-spacing: .2em; font-family: var(--v2-mono); font-weight: 500; font-size: .75rem; }
.r3-group ul { display: grid; gap: 6px; }

/* ───────────── compra tranquila / acordeones ───────────── */
.r3-calm { display: grid; gap: 16px; justify-items: start; }
.r3-ico-big { color: var(--v2-pink-tx); }
.r3-calm p { margin-top: 8px; color: var(--r3-muted); }
.r3-acc { border: 1px solid var(--r3-border); border-radius: var(--v2-r2); background: var(--v2-card); }
.r3-acc > summary { cursor: pointer; padding: 18px 22px; font-weight: 700; min-height: 48px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.r3-acc > summary::-webkit-details-marker { display: none; }
.r3-acc > summary::after { content: "+"; font-family: var(--v2-mono); color: var(--v2-pink-tx); font-size: 1.2rem; transition: transform .4s; }
.r3-acc[open] > summary::after { transform: rotate(45deg); }
.r3-acc[open] > summary { border-bottom: 1px solid var(--r3-border); }
.r3-acc > .r3-grid { padding: 22px; }
.r3-acc + p { margin-top: 24px; }

/* ───────────── preguntas ───────────── */
.r3-faq { margin-top: 32px; }
.r3-faq-item { background: var(--v2-card); border: 1px solid var(--r3-border); border-radius: var(--v2-r2); padding: 22px 24px; display: grid; gap: 8px; align-content: start; position: relative; overflow: hidden; transition: transform .35s, border-color .35s; }
.r3-faq-item:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.16); }
.r3-faq-item h3 { font-size: 1.02rem; }
.r3-faq-item p { color: var(--r3-muted); font-size: .95rem; }

/* ───────────── pie ───────────── */
.r3-footer, footer.r3-footer { background: radial-gradient(60% 60% at 50% 100%, rgba(95,147,214,.08), transparent 70%), var(--r3-bg); color: var(--r3-muted); padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.r3-footer-inner { display: grid; gap: 28px; padding-bottom: 36px; }
.r3-brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; color: #fff; text-decoration: none; }
.r3-footer p { color: var(--r3-muted); }
.r3-footer-brand { display: grid; gap: 14px; justify-items: start; }
.r3-footer-logo { display: inline-block; line-height: 0; }
.r3-footer .footer-logo-img { display: block; width: 180px; height: auto; object-fit: contain; filter: drop-shadow(0 0 24px rgba(95,147,214,.25)); }
.r3-topnav .r3-brand { display: inline-flex; align-items: center; gap: 10px; }
.r3-topnav .r3-brand-tri { display: block; width: 32px; height: 28px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(95,147,214,.45)); }
.r3-footer-links ul { display: grid; gap: 10px; }
.r3-footer a { color: var(--r3-muted); text-decoration: none; transition: color .25s; }
.r3-footer a:hover { color: #fff; }
.r3-footer-copy { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 20px; text-align: center; font-size: .8rem; color: var(--v2-t35); }
.r3-social { display: flex; gap: 10px; }
.r3-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--v2-line2); background: rgba(255,255,255,.04); color: var(--r3-muted); transition: color .25s, border-color .25s, transform .2s; }
.r3-social a:hover { color: #fff; border-color: rgba(95,147,214,.6); transform: translateY(-2px); }
.r3-social svg { width: 18px; height: 18px; }

/* ───────────── fichas (páginas de producto) ───────────── */
.r3-topbar { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.r3-topnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.r3-topnav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; border: 1px solid var(--v2-line2); background: rgba(4,5,8,.72); }
.r3-topnav ul a:not(.r3-btn) { display: block; padding: 8px 14px; border-radius: 999px; color: var(--r3-muted); text-decoration: none; font-weight: 600; font-size: 12.5px; transition: background .25s, color .25s; }
.r3-topnav ul a:not(.r3-btn):hover { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.r3-topnav .r3-btn { min-height: 40px; padding: 10px 18px; font-size: 13px; border-radius: 999px; }
.r3-crumbs { padding-top: 24px; padding-bottom: 0; font-family: var(--v2-mono); font-size: 11px; letter-spacing: .08em; background: var(--r3-bg); }
.r3-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.r3-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--v2-t35); }
.r3-crumbs [aria-current] { color: var(--v2-t45); }
.r3 section.r3-prod-hero { padding-top: 32px; }
.r3-prod-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.r3 .r3-termino { color: var(--v2-t45); font-size: .95rem; font-weight: 600; margin-top: 8px; }
.r3-lead { margin-top: 16px !important; font-size: 1.1rem; color: var(--r3-muted); line-height: 1.7; }
.r3-checks { display: grid; gap: 10px; margin-top: 20px !important; }
.r3-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--r3-muted); }
.r3-ico-check { color: var(--v2-pink-tx); margin-top: 2px; }
.r3-buy { background: var(--v2-card); border: 1px solid rgba(95,147,214,.35); border-radius: var(--v2-r2); padding: 26px; display: grid; gap: 12px; align-content: start; backdrop-filter: blur(12px); box-shadow: 0 30px 80px -40px rgba(95,147,214,.5); }
.r3 .r3-guarantees { margin-top: 0; background: var(--v2-card); border: 1px solid var(--r3-border); border-radius: var(--v2-r2); padding: 26px; }
.r3-guarantees li { display: grid; gap: 6px; align-content: start; }
.r3 .r3-guarantees h3 { color: #fff; }
.r3 .r3-guarantees p { color: var(--r3-muted); }
.r3-split-cards > div { background: var(--v2-card); border: 1px solid var(--r3-border); border-radius: var(--r3-radius); padding: 26px; }
.r3-sec.r3-white .r3-split-cards > div { background: var(--v2-card); }
.r3-aviso { margin-top: 24px !important; font-size: .9rem; color: var(--v2-t45); }
.r3 section.r3-band { background: var(--r3-bg); padding: 16px 0 56px; }
.r3-band-inner { display: grid; gap: 16px; align-items: center; }
.r3-band .r3-band-inner { background: radial-gradient(60% 80% at 50% 100%, rgba(95,147,214,.16), transparent 70%), var(--v2-card); border: 1px solid rgba(95,147,214,.35); border-radius: var(--v2-r2); padding: 28px; width: calc(100% - 40px); max-width: 1136px; }
.r3 .r3-band p { color: var(--r3-muted); }
.r3 .r3-band .r3-band-title { color: #fff; font-family: var(--v2-serif); font-style: italic; font-weight: 600; font-size: 1.8rem; }

/* ───────────── diálogo "Solicitar" ───────────── */
.r3-dialog { position: fixed; inset: 0; margin: auto; width: min(92vw, 480px); height: fit-content; max-height: 90vh; overflow: auto; padding: 0; border: 1px solid var(--v2-line2); border-radius: var(--v2-r2); background: #05070c; color: #fff; font-family: var(--r3-font); box-shadow: 0 18px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(95,147,214,.2); }
.r3-dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.r3-dialog-inner { display: grid; gap: 14px; padding: 26px 22px 22px; }
.r3-dialog h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; color: #fff; }
.r3-dialog p { margin: 0; color: var(--r3-muted); line-height: 1.5; }
.r3-dialog .r3-dialog-correo { color: #fff; }
.r3-dialog-mail { font-weight: 700; user-select: all; -webkit-user-select: all; word-break: break-all; }
.r3-dialog-acciones { display: grid; gap: 10px; }
.r3-dialog .r3-btn { width: 100%; }
.r3-dialog .r3-dialog-estado { min-height: 1.5em; color: var(--r3-ok); font-weight: 600; }

/* ───────────── PORTADA: nav + hero (reemplaza al CSS congelado) ───────────── */
nav.r3-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 0; transition: background .3s; }
nav.r3-nav.scrolled { background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
nav .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
nav .logo-img { display: block; width: 32px; height: 28px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(95,147,214,.45)); }
nav .logo .lt { color: #fff; } nav .logo .lt span { color: var(--v2-pink-tx); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; border: 1px solid var(--v2-line2); background: rgba(4,5,8,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--r3-muted); text-decoration: none; transition: background .25s, color .25s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; background: linear-gradient(135deg, #8fb6e8, #2c5fa8); box-shadow: 0 0 18px rgba(95,147,214,.35); }
nav .btn-primary { min-height: 40px; padding: 10px 18px; font-size: 13px; border-radius: 999px; }
.nav-r { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--v2-line2); background: rgba(4,5,8,.72); place-items: center; cursor: pointer; }
.nav-burger span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }
.nav-mobile { display: none; position: absolute; left: 24px; right: 24px; top: 70px; padding: 10px; border-radius: 18px; border: 1px solid var(--v2-line2); background: rgba(3,4,7,.96); backdrop-filter: blur(14px); }
.nav-mobile a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--v2-t90); text-decoration: none; }
.nav-mobile a:hover { background: rgba(255,255,255,.06); }
nav.r3-nav.open .nav-mobile { display: block; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 140px 0 80px; text-align: center; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(40px); opacity: .8; pointer-events: none; transform: scale(1.15); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,.9) 100%); pointer-events: none; }
.hero-fallback, .hero-video { display: none; }
.hero-content { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.hero-tag { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--v2-line2); background: rgba(255,255,255,.03); font-family: var(--v2-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); overflow: hidden; margin-bottom: 26px; white-space: nowrap; animation: r3-fadeUp .6s cubic-bezier(.2,.8,.2,1) both; }
.hero-tag::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); transform: translateX(-120%); animation: r3-shimmer 4.5s ease-in-out infinite; }
.hero-tag::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--v2-pink); box-shadow: 0 0 10px var(--v2-pink); order: -1; }
.hero h1 { font-family: var(--v2-hero); font-weight: 400; font-size: clamp(2.1rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; margin: 0 auto 26px; max-width: 980px; animation: r3-fadeUp .6s cubic-bezier(.2,.8,.2,1) .05s both; }
.hero h1 span { color: var(--v2-t35); }
.hero h1 span.hl { color: var(--v2-pink-tx); }
.hero p { color: rgba(255,255,255,.5); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.7; max-width: 680px; margin: 0 auto 36px; animation: r3-fadeUp .6s cubic-bezier(.2,.8,.2,1) .15s both; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: r3-fadeUp .6s cubic-bezier(.2,.8,.2,1) .25s both; }
.hero-cta .btn-primary svg, .hero-cta .btn-ghost svg { width: 16px; height: 16px; }
.hero-ask { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; animation: r3-fadeUp .6s cubic-bezier(.2,.8,.2,1) .35s both; }
.hero-ask span { width: 100%; font-family: var(--v2-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--v2-t35); margin-bottom: 4px; }
.hero-ask a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--v2-line2); background: rgba(255,255,255,.04); color: var(--r3-muted); font-size: 12.5px; font-weight: 600; text-decoration: none; transition: color .25s, border-color .25s, transform .2s; }
.hero-ask a:hover { color: #fff; border-color: rgba(95,147,214,.6); transform: translateY(-2px); }
.hero-stats { display: flex; justify-content: center; gap: clamp(22px, 6vw, 64px); margin-top: 56px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.07); animation: r3-fadeUp .6s cubic-bezier(.2,.8,.2,1) .45s both; }
.hero-stats strong { display: block; font-weight: 800; font-size: clamp(1.3rem, 4vw, 2.1rem); line-height: 1; color: var(--v2-t90); letter-spacing: -.02em; margin-bottom: 8px; }
.hero-stats small { display: block; font-family: var(--v2-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-t35); max-width: 150px; line-height: 1.5; }
.scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .3s; }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.scroll-dot { position: absolute; width: 3px; height: 3px; background: var(--v2-pink); border-radius: 50%; left: 50%; transform: translateX(-50%); animation: r3-scrollDown 2s ease-in-out infinite; }
@keyframes r3-scrollDown { 0% { top: 0; opacity: 0; } 30% { opacity: 1; } 100% { top: 40px; opacity: 0; } }
@keyframes r3-fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ───────────── portada: ajustes a bloques existentes ───────────── */
.r3-le-puente { background: radial-gradient(60% 80% at 50% 100%, rgba(95,147,214,.14), transparent 70%), var(--r3-bg); }

/* ───────────── 640px+ ───────────── */
@media (min-width: 640px) {
  .r3-wrap { padding: 0 32px; }
  .r3-grid-2, .r3-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .r3-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .r3-footer-inner { grid-template-columns: 1.4fr 1fr; }
  .r3-banner { grid-template-columns: 1fr auto; align-items: center; }
  .r3-band-inner { grid-template-columns: 1fr auto; }
  .r3-card-cta { align-self: start; }
}
/* ───────────── 960px+ ───────────── */
@media (min-width: 960px) {
  .r3 section.r3-sec { padding: 96px 0; }
  .r3-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .r3-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .r3-split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .r3-prod-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .r3-calm { grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
  .r3-buy { position: sticky; top: 92px; }
}
/* ───────────── móvil ───────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  nav .btn-primary { display: none; }
}
@media (max-width: 640px) {
  nav .logo .lt { display: none; }
  .r3-topnav ul { border: 0; background: none; padding: 0; gap: 2px; width: 100%; }
  .r3-topnav ul a:not(.r3-btn) { padding: 6px 8px; font-size: 12px; }
  .r3-topnav ul li:last-child { margin-left: auto; }
  .r3-topnav .r3-btn { min-height: 34px; padding: 7px 14px; font-size: 12px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .hero-stats { gap: 18px; }
  .hero-tag, .r3-eyebrow { letter-spacing: .2em; white-space: normal; text-align: center; }
}
/* ───────────── movimiento reducido / alto contraste ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r3 *, .r3-page *, .r3-footer *, .hero *, nav * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .r3-btn-primary::after, .btn-primary::after { animation: none !important; }
}
@media (forced-colors: active) {
  .r3-btn, .btn-primary, .btn-ghost, .r3-card, .r3-panel, .r3-buy { border: 1px solid CanvasText; }
}

@media (min-width: 1440px) { .r3-wrap { max-width: 1360px; } .r3-band .r3-band-inner { max-width: 1296px; } }

/* pie a ancho completo (03-nov) */
.r3-footer .r3-wrap.r3-footer-inner { max-width: none; padding: 0 clamp(24px, 4vw, 72px) 40px; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.r3-footer .r3-footer-links ul { text-align: right; }
@media (max-width: 640px) { .r3-footer .r3-wrap.r3-footer-inner { grid-template-columns: 1fr; align-items: start; } .r3-footer .r3-footer-links ul { text-align: left; } }

/* nav a ancho completo + logo 30% mayor (03-nov) */
.nav-inner { max-width: none; padding: 0 clamp(24px, 4vw, 72px); }
nav .logo-img { width: 42px; height: 42px; }
nav .logo { font-size: 19px; }
.nav-mobile { left: clamp(24px, 4vw, 72px); right: clamp(24px, 4vw, 72px); }

/* texto mas blanco (03-nov) */
:root { --r3-muted: rgba(255,255,255,.85); --r3-on-dark-muted: rgba(255,255,255,.85); --v2-t45: rgba(255,255,255,.72); --v2-t35: rgba(255,255,255,.55); }
.hero p { color: rgba(255,255,255,.8); }

/* seccion "Quien esta detras" (03-nov) */
.r3-who { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; max-width: 1100px; margin: 0 auto; }
.r3-portrait { position: relative; border-radius: 20px; aspect-ratio: 4/5; overflow: hidden; max-width: 300px; background: radial-gradient(80% 60% at 50% 20%, rgba(95,147,214,.25), transparent 70%), #05070c; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 1px rgba(95,147,214,.15), 0 30px 80px -30px rgba(95,147,214,.55); }
.r3-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r3-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%); pointer-events: none; }
.r3-who h3 { font-size: 28px; margin-bottom: 6px; }
.r3 .r3-who .r3-role { font-family: var(--v2-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--v2-pink-tx); margin-bottom: 16px; }
.r3 .r3-who p { font-size: 15px; color: var(--r3-muted); line-height: 1.7; margin: 0 0 12px; }
.r3 .r3-who .r3-bio-lead { color: #fff; font-weight: 600; font-size: 16.5px; }
.r3 .r3-who .r3-bio-h { font-family: var(--v2-serif); font-style: italic; font-weight: 600; font-size: 24px; margin: 18px 0 8px; }
.r3-bio-more { margin: 4px 0 14px; }
.r3-bio-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--v2-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--v2-pink-tx); padding: 10px 16px; border: 1px solid rgba(95,147,214,.35); border-radius: 999px; background: rgba(95,147,214,.08); transition: background .3s, border-color .3s; }
.r3-bio-more summary::-webkit-details-marker { display: none; }
.r3-bio-more summary:hover { background: rgba(95,147,214,.16); border-color: rgba(95,147,214,.6); }
.r3-bio-more summary svg { width: 14px; height: 14px; transition: transform .4s; }
.r3-bio-more[open] summary svg { transform: rotate(180deg); }
.r3-bio-more .t2, .r3-bio-more[open] .t1 { display: none; }
.r3-bio-more[open] .t2 { display: inline; }
.r3-bio-body { padding-top: 16px; }
.r3 .r3-who-cta { margin-top: 20px; }
.r3 .r3-btn-wa { background: rgba(37,211,102,.12); color: #fff; border-color: rgba(37,211,102,.45); }
.r3 .r3-btn-wa:hover { background: rgba(37,211,102,.22); border-color: rgba(37,211,102,.7); color: #fff; transform: translateY(-2px); }
.r3 .r3-btn-wa svg { width: 18px; height: 18px; color: #25d366; }
@media (min-width: 900px) { .r3-who { grid-template-columns: 300px 1fr; gap: 44px; } .r3-portrait { position: sticky; top: 96px; } }

/* azul metalico: reflejo en botones y pildoras */
.r3 .r3-btn-primary, .r3-page .r3-btn-primary, .r3-footer .r3-btn-primary, .btn-primary, nav .btn-primary, .r3-dialog .r3-btn-primary { background: linear-gradient(135deg, #d8e6f7 0%, #5f93d6 38%, #2c5fa8 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 20px rgba(0,0,0,.4); }
.r3-badge { background: linear-gradient(135deg, #d8e6f7, #2c5fa8); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 18px rgba(95,147,214,.4); }
.nav-links a.active { background: linear-gradient(135deg, #d8e6f7, #2c5fa8); }

/* acero cromado */
.r3 .r3-btn-primary, .r3-page .r3-btn-primary, .r3-footer .r3-btn-primary, .btn-primary, nav .btn-primary, .r3-dialog .r3-btn-primary { color: #0a1424; text-shadow: 0 1px 0 rgba(255,255,255,.35); background: linear-gradient(180deg, #eef4fb 0%, #b9d0ec 22%, #7ea9dc 48%, #4f7fc0 52%, #6b98d2 100%); border: 1px solid rgba(255,255,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 6px 22px rgba(0,0,0,.45); }
.r3 .r3-btn-primary::after, .btn-primary::after, .r3-dialog .r3-btn-primary::after { background: rgba(140,180,230,.45); }
.r3-badge, .nav-links a.active { color: #0a1424; background: linear-gradient(180deg, #eef4fb, #7ea9dc 55%, #4f7fc0); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.hero h1 span.hl { background: linear-gradient(180deg, #f3f7fc 0%, #c3d6ee 40%, #7ea9dc 60%, #dbe7f6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r3-eyebrow, .hero-tag { border-color: rgba(190,210,235,.3); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); color: rgba(220,232,246,.7); }
.r3-card, .r3-step, .r3-faq-item, .r3-panel, .r3-buy { border-color: rgba(170,195,230,.16); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); }
.r3-card:hover { border-color: rgba(190,210,240,.35); }

/* negro profundo + brillo metalico que se desplaza con el scroll (CSS scroll-driven, sin JS; estatico donde no se soporta) */
:root { --r3-bg: #000; --v2-bg2: #030406; }
.r3-white { background: #030406; }
.r3 .r3-btn-primary, .r3-page .r3-btn-primary, .r3-footer .r3-btn-primary, .btn-primary, nav .btn-primary, .r3-dialog .r3-btn-primary {
  background-image: linear-gradient(180deg, #4f7fc0 0%, #6b98d2 18%, #b9d0ec 34%, #eef4fb 42%, #b9d0ec 50%, #7ea9dc 62%, #4f7fc0 72%, #6b98d2 100%);
  background-size: 100% 260%; background-position: 0 30%;
}
.hero h1 span.hl { background-image: linear-gradient(180deg, #7ea9dc 0%, #c3d6ee 30%, #f3f7fc 45%, #c3d6ee 60%, #7ea9dc 100%); background-size: 100% 280%; background-position: 0 40%; }
.r3-card, .r3-step, .r3-faq-item, .r3-panel, .r3-buy, .r3-portrait { background-image: linear-gradient(180deg, rgba(190,215,245,.10) 0%, rgba(255,255,255,.035) 26%, rgba(255,255,255,.015) 100%); background-size: 100% 240%; background-position: 0 20%; }
.r3-badge, .nav-links a.active { background-image: linear-gradient(180deg, #4f7fc0 0%, #b9d0ec 30%, #eef4fb 42%, #7ea9dc 60%, #4f7fc0 100%); background-size: 100% 260%; background-position: 0 30%; }
@supports (animation-timeline: scroll()) {
  @keyframes r3-sheen { from { background-position: 0 0%; } to { background-position: 0 100%; } }
  .r3 .r3-btn-primary, .r3-page .r3-btn-primary, .r3-footer .r3-btn-primary, .btn-primary, nav .btn-primary, .r3-dialog .r3-btn-primary,
  .hero h1 span.hl, .r3-card, .r3-step, .r3-faq-item, .r3-panel, .r3-buy, .r3-portrait, .r3-badge, .nav-links a.active { animation: r3-sheen linear both; animation-timeline: scroll(root); }
  .r3-card, .r3-step, .r3-faq-item, .r3-panel, .r3-buy, .r3-portrait { animation-name: r3-sheen-soft; }
  @keyframes r3-sheen-soft { from { background-position: 0 0%; } to { background-position: 0 100%; } }
}
@media (prefers-reduced-motion: reduce) { .r3 *, .btn-primary, .hero h1 span.hl { animation: none !important; } }

/* destello (shimmer) en todos los botones (03-nov) */
.r3-btn, .btn-primary, .btn-ghost, .hero-ask a, .r3-bio-more summary, .r3-social a { position: relative; isolation: isolate; }
.r3-btn::before, .btn-primary::before, .btn-ghost::before, .hero-ask a::before, .r3-bio-more summary::before, .r3-social a::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 150% 0; animation: r3-btn-shimmer 4.5s ease-in-out infinite;
}
.r3-btn-ghost::before, .btn-ghost::before, .hero-ask a::before, .r3-social a::before, .r3-bio-more summary::before { background-image: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); }
.r3-btn:nth-child(2n)::before, .btn-ghost::before, .hero-ask a:nth-child(2n)::before { animation-delay: 1.4s; }
.hero-ask a:nth-child(3n)::before { animation-delay: 2.6s; }
.r3-card .r3-btn::before { animation-delay: .8s; }
@keyframes r3-btn-shimmer { 0%, 20% { background-position: 150% 0; } 60%, 100% { background-position: -150% 0; } }
.r3-btn > *, .btn-primary > *, .btn-ghost > * { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .r3-btn::before, .btn-primary::before, .btn-ghost::before, .hero-ask a::before, .r3-bio-more summary::before, .r3-social a::before { animation: none; display: none; } }

/* nebulosa mas intensa + botones de agencia alineados (03-nov, v=i) */
#particles { opacity: 1; filter: blur(36px); }
.r3-acc-item .r3-btn { margin-top: auto; }
.r3-acc-item .r3-link { margin-top: 10px; }

/* logo v4 horizontal en el pie (03-nov, v=j) */
.r3-footer .footer-logo-img, footer .footer-logo-img { width: 260px; height: auto; filter: drop-shadow(0 0 22px rgba(95,147,214,.35)); }

/* logo del nav al doble (03-nov, v=k) */
nav .logo-img { width: 84px; height: 84px; }
nav.r3-nav { padding: 8px 0; }
.nav-mobile { top: 104px; }
.r3-topnav .r3-brand-tri { width: 64px; height: 64px; }
.r3-topnav .r3-brand { font-size: 1.35rem; }
@media (max-width: 640px) { nav .logo-img { width: 56px; height: 56px; } .nav-mobile { top: 80px; } .r3-topnav .r3-brand-tri { width: 48px; height: 48px; } }

/* CTA del hero un 50% mas anchos (03-nov, v=l) */
.hero-cta { gap: 22px; }
.hero-cta .btn-primary, .hero-cta .btn-ghost { min-width: 320px; padding-left: 40px; padding-right: 40px; min-height: 54px; font-size: 16px; }
.hero-ask { gap: 12px; }
.hero-ask a { padding: 10px 24px; font-size: 13.5px; }
@media (max-width: 640px) { .hero-cta .btn-primary, .hero-cta .btn-ghost { min-width: 0; width: 100%; } .hero-ask a { padding: 8px 16px; } }

/* cabeceras de seccion 30% mas grandes (03-nov, v=m) */
.r3 h2 { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.r3-eyebrow, .hero-tag, .section-label { font-size: 13px; padding: 10px 20px; }
.r3-eyebrow::after, .hero-tag::after, .section-label::after { width: 8px; height: 8px; }
.r3-head { max-width: 980px; }
.r3-head p { font-size: 1.35rem; }
.section-title { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.section-subtitle { font-size: 1.35rem; max-width: 820px; }
@media (max-width: 640px) { .r3 h2, .section-title { font-size: clamp(2.3rem, 10vw, 3rem); } .r3-head p, .section-subtitle { font-size: 1.15rem; } }

/* ===== agente de ventas IA (03-nov, v=n) ===== */
.agente{position:fixed;right:28px;bottom:24px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:var(--r3-font)}
.ag-open{position:relative;border:0;background:none;cursor:pointer;padding:0;display:flex;align-items:flex-end;gap:10px;filter:drop-shadow(0 10px 30px rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(95,147,214,.35));transition:transform .25s}
.ag-open:hover{transform:translateY(-3px)}
.ag-open img{width:104px;height:auto;display:block;animation:ag-float 3.6s ease-in-out infinite}
@keyframes ag-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.ag-bubble{position:absolute;right:100px;bottom:62px;padding:8px 12px;border-radius:12px 12px 2px 12px;background:#eef4fb;color:#0a1424;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 6px 20px rgba(0,0,0,.4)}
.agente.on .ag-bubble{display:none}
.ag-panel{display:none;width:min(380px,calc(100vw - 32px));max-height:min(620px,calc(100vh - 160px));flex-direction:column;border-radius:20px;border:1px solid rgba(170,195,230,.25);background:rgba(5,7,12,.96);backdrop-filter:blur(16px);box-shadow:0 30px 80px rgba(0,0,0,.7),0 0 0 1px rgba(95,147,214,.15);overflow:hidden}
.agente.on .ag-panel{display:flex}
.ag-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--r3-border);background:linear-gradient(180deg,rgba(190,215,245,.10),rgba(255,255,255,.02))}
.ag-head img{width:40px;height:auto}.ag-head b{display:block;font-size:15px;color:#fff}.ag-head small{color:rgba(255,255,255,.75);font-size:11.5px}
.ag-close{margin-left:auto;background:none;border:0;color:rgba(255,255,255,.8);font-size:16px;cursor:pointer;padding:6px}
.ag-log{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:180px;font-size:14px;line-height:1.55}
.ag-m{max-width:88%;padding:10px 14px;border-radius:14px}
.ag-bot{align-self:flex-start;background:rgba(255,255,255,.06);border:1px solid var(--r3-border);color:#fff;border-bottom-left-radius:4px}
.ag-user{align-self:flex-end;background:linear-gradient(180deg,#8fb6e8,#4f7fc0);color:#0a1424;border-bottom-right-radius:4px}
.ag-bot a{color:#a9c8ee;text-decoration:underline}
.ag-wa{display:inline-block;margin-top:6px;padding:6px 12px;border-radius:999px;background:rgba(37,211,102,.15);border:1px solid rgba(37,211,102,.4);color:#d8ffe6!important;text-decoration:none!important;font-weight:600;font-size:13px}
.ag-dots i{display:inline-block;width:6px;height:6px;margin:0 2px;border-radius:50%;background:rgba(255,255,255,.7);animation:ag-dot 1.2s infinite}.ag-dots i:nth-child(2){animation-delay:.2s}.ag-dots i:nth-child(3){animation-delay:.4s}
@keyframes ag-dot{0%,60%,100%{opacity:.2}30%{opacity:1}}
.ag-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
.ag-chips button{border:1px solid var(--v2-line2);background:rgba(255,255,255,.04);color:#fff;font:inherit;font-size:12px;padding:6px 10px;border-radius:999px;cursor:pointer}
.ag-chips button:hover{border-color:rgba(190,210,240,.5)}.ag-chips button[data-wa]{border-color:rgba(37,211,102,.4);color:#d8ffe6}
.ag-form{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--r3-border)}
.agente .ag-form input{flex:1 1 auto;min-width:0;width:auto;min-height:42px;padding:8px 14px;border-radius:12px;border:1px solid var(--v2-line2);background:rgba(255,255,255,.05);color:#fff;font:inherit;font-size:14px}
.agente .ag-form input:focus{outline:0;border-color:rgba(190,210,240,.5)}
.agente .ag-form .r3-btn{flex:0 0 auto;width:auto;padding:0 18px;min-height:42px;border-radius:12px;margin:0}
.ag-foot{padding:0 14px 12px;font-size:11px;color:rgba(255,255,255,.6);margin:0}
.agente.busy .ag-form button{opacity:.6;pointer-events:none}
@media (max-width:640px){.agente{right:12px;bottom:12px}.ag-open img{width:76px}.ag-bubble{right:74px;bottom:44px;font-size:12px}}
