:root{
  --bg:#0b0b0d;--card:#121219;--line:rgba(255,255,255,.10);
  --muted:rgba(255,255,255,.72);--text:#fff;
  /* Soft sand / beige accent */
  --accent:#e6d8c5;--accent2:#f4ead7;--radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 700px at 70% 10%, rgba(230,216,197,.18), transparent 60%),
              radial-gradient(900px 600px at 10% 60%, rgba(255,255,255,.06), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 18px}
.bg-grain{pointer-events:none;position:fixed;inset:0;opacity:.08;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}
.top{position:sticky;top:0;z-index:50;background:rgba(11,11,13,.78);backdrop-filter: blur(12px);border-bottom:1px solid var(--line)}
.top-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:14px}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:72px;height:34px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.02);overflow:hidden}
.brand-mark.sm{width:46px;height:30px;border-radius:10px}
.brand-logo{height:22px;width:auto;filter:drop-shadow(0 10px 18px rgba(0,0,0,.28));opacity:.96;animation:logoPop .9s ease-out both}
.brand-mark.sm .brand-logo{height:18px}
@keyframes logoPop{from{transform:translateY(2px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:.96}}
.brand-name{font-weight:800;letter-spacing:.6px}
.top-actions{display:flex;gap:10px;align-items:center}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;border-radius:14px;font-weight:900;letter-spacing:.2px;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--accent);color:#111}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.18);color:#fff}
.btn:hover{transform:translateY(-1px)} .btn:active{transform:translateY(0)}
.hero{
  padding: 36px 0 40px; /* más aire arriba para que no choque con la foto */
}
.hero-grid{display:grid;grid-template-columns: 1.15fr .85fr;gap:24px;align-items:stretch}
@media (max-width: 920px){.hero-grid{grid-template-columns:1fr;}}

/* === LOGO RFW HERO (AJUSTADO) === */
.hero-logo{
  height:52px;          /* más grande */
  width:auto;
  margin-bottom:16px;   /* más separación con “MARCA PERSONAL …” */
  opacity:.0;
  transform:translateY(0) scale(1); /* lo subimos un poco (antes estaba 6px abajo) */
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.35));
  animation:heroLogo 1.1s ease-out .05s forwards;
}
@keyframes heroLogo{to{opacity:.96;transform:translateY(0) scale(1)}}
.kicker{color:rgba(255,255,255,.78);font-weight:700;letter-spacing:.18em;text-transform:uppercase;font-size:12px}
h1{margin:10px 0 10px;font-size:52px;line-height:1.05;letter-spacing:-.02em}
@media (max-width: 520px){h1{font-size:40px}}
.soft{color:rgba(255,255,255,.82)}
.lead{color:rgba(255,255,255,.78);font-size:18px;line-height:1.6;max-width:54ch}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.trust{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.trust-item{border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:rgba(255,255,255,.03);min-width:140px}
.trust-title{font-weight:900}
.trust-desc{color:var(--muted);font-size:13px;margin-top:4px}
.hero-photo-inline{
  width:100%;
  max-width:480px;
  margin:20px auto 18px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.6);
}
.hero-photo-inline img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* mobile: mostrar solo foto inline y ocultar bloque lateral */
@media (max-width: 920px){
  .hero-photo-inline{display:block;}
  .hero-art{display:none;}
}
/* desktop: ocultar foto inline (usamos el panel con tarjeta) */
@media (min-width: 921px){
  .hero-photo-inline{display:none;}
}

/* ====== HERO-ART SIN CAJA ====== */
.hero-art{
  position:relative;
  overflow:hidden;
  border-radius:0;      /* sin esquinas redondeadas visibles */
  border:none;          /* sin borde */
  background:transparent; /* sin fondo, así desaparece la “caja” */
}

.watermark{
  position:absolute;
  inset:auto auto 18px 18px;
  font-weight:1000;
  letter-spacing:.04em;
  font-size:120px;
  line-height:1;
  color:rgba(255,255,255,.08);
  transform:translate3d(0,0,0);
  user-select:none;
}

.hero-card{
  position:relative;
  margin:18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(18,18,25,.92);
  padding:16px;
}

.hero-card-top{display:flex;gap:10px;flex-wrap:wrap}
.chip{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(230,216,197,.14);border:1px solid rgba(230,216,197,.22);color:var(--accent2);font-weight:800;font-size:12px}
.chip-soft{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:rgba(255,255,255,.88)}
.hero-card-mid{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:14px}
.stat{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.stat-num{font-weight:1000;font-size:28px}
.stat-label{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.14em}
.divider{width:1px;height:46px;background:rgba(255,255,255,.10)}
.hero-card-btm{margin-top:12px;font-size:13px}

.section{padding:36px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
h2{margin:0;font-size:28px;letter-spacing:-.01em}
.muted{color:var(--muted)}
.small{font-size:13px}
.muted-lg{color:var(--muted);font-size:16px;line-height:1.7;max-width:46ch}
.simple-how{margin-top:12px}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:920px){.steps{grid-template-columns:1fr}}
.step{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.03);padding:16px}
.step-num{color:rgba(230,216,197,.95);font-weight:1000;letter-spacing:.12em}
.step-title{font-weight:1000;font-size:25px;margin-top:8px}
.step-desc{color:var(--muted);line-height:1.6;margin-top:6px}

.quiz-shell{border:1px solid var(--line);border-radius:22px;background:rgba(18,18,25,.86);padding:18px}
.quiz-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;flex-wrap:wrap}
.progress{min-width:240px;flex:1;max-width:360px}
.progress-bar{height:10px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;border:1px solid rgba(255,255,255,.10)}
.progress-fill{height:100%;width:0%;background:linear-gradient(90deg,var(--accent),var(--accent2));border-radius:999px}
.progress-meta{margin-top:8px;color:var(--muted);font-size:13px;text-align:right}
.quiz-stage{margin-top:16px;border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:16px;background:rgba(255,255,255,.03);min-height:210px}
.q-title{font-weight:1000;font-size:18px;margin-bottom:10px}
.q-sub{color:var(--muted);font-size:13px;margin-bottom:12px}
.opts{display:grid;grid-template-columns:1fr;gap:10px}

/* === AUMENTO DE TAMAÑO EN LAS RESPUESTAS === */
.opt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:12px 14px;
  background:rgba(255,255,255,.02);
  cursor:pointer;
  color:var(--text);
  font-size:16px;          /* tamaño base de la respuesta */
}
.opt:hover{border-color:rgba(230,216,197,.35)}
.opt.selected{border-color:rgba(230,216,197,.8);background:rgba(230,216,197,.10)}
.opt .label{
  font-weight:800;
  color:var(--text);
  font-size:17px;          /* texto principal un poco más grande */
}
.opt .hint{
  color:var(--muted);
  font-size:13px;          /* subtexto también un poco más grande */
}

.text-input{width:100%;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(11,11,13,.6);color:#fff;outline:none}
.text-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:680px){.text-row{grid-template-columns:1fr}}
.quiz-nav{display:flex;justify-content:space-between;gap:10px;margin-top:12px}
.fineprint{margin-top:12px;font-size:12px;line-height:1.5}
.footer{padding:22px 0 40px;border-top:1px solid var(--line);background:rgba(0,0,0,.10)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-cta{display:flex;gap:10px}
.wa-float{position:fixed;right:16px;bottom:16px;z-index:60;display:inline-flex;align-items:center;gap:10px;background:#16a34a;color:#fff;padding:12px 14px;border-radius:999px;box-shadow: 0 10px 26px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.14);font-weight:900}
.wa-dot{width:10px;height:10px;border-radius:999px;background:#bbf7d0;box-shadow:0 0 0 6px rgba(187,247,208,.18)}


/* Marquee (velocidad consistente en desktop y mobile)
   IMPORTANTE: tu HTML debe tener el contenido duplicado para loop perfecto.
*/
.marquee{
  margin: 36px 0 10px;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.marquee-track{
  display:flex;
  width:max-content;
  gap:56px;
  white-space:nowrap;
  padding:18px 0;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.85);

  /* Control de velocidad */
  --marquee-duration: 22s;
  animation: marqueeMove var(--marquee-duration) linear infinite;

  will-change: transform;
  transform: translate3d(0,0,0);
}
.marquee-track span{display:inline-block}

/* Mobile un poco más rápido (ajústalo si quieres) */
@media (max-width: 768px){
  .marquee-track{
    --marquee-duration: 22s;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none !important; }
}

/* Loop perfecto si el contenido está duplicado */
@keyframes marqueeMove{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}


/* Bottom sticky actions (like repeated menu at the end) */
.bottom-bar{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  width:min(720px, calc(100% - 26px));
  display:flex;
  gap:12px;
  justify-content:center;
  padding:10px;
  border-radius:999px;
  background:rgba(18,18,25,.78);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:50;
}
.bottom-bar.show{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
@media (min-width: 980px){
  .bottom-bar{ width:min(840px, calc(100% - 26px)); }
}


/* --- Quiz extras (profile + scale) --- */
.profile-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:720px){
  .profile-grid{grid-template-columns:1fr 1fr}
}
.scale10{display:flex;flex-wrap:wrap;gap:10px}
.scale-btn{width:44px;height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:var(--text);font-weight:900;cursor:pointer}
.scale-btn:hover{border-color:rgba(230,216,197,.35)}
.scale-btn.selected{border-color:rgba(230,216,197,.85);background:rgba(230,216,197,.18)}
.fineprint{margin-top:14px;font-size:13px;line-height:1.5;max-width:70ch}
.fineprint.muted{color:rgba(255,255,255,.72)}

/* Disable sticky bottom bar (keeps footer clean) */
.bottom-bar{display:none !important}


/* Hero photo overlay for Yhajaira */
.hero-subject{
  position:absolute;
  right:-6%;
  bottom:-8%;
  width:120%;
  height:auto;
  object-fit:contain;
  transform:translate3d(0,0,0);
  filter:drop-shadow(0 26px 60px rgba(0,0,0,.85));
  z-index:1;
}

/* Re-define hero-card con look premium */
.hero-card{
  position:relative;
  margin:18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(11,11,13,.94);
  padding:16px 18px 18px;
  box-shadow:0 22px 58px rgba(0,0,0,.88);
  z-index:2;
}

/* Colocar la tarjeta del hero DEBAJO de la foto (solo escritorio) */
@media (min-width: 921px){
  .hero-art{
    position:relative;
    overflow:visible;       /* dejar salir la tarjeta */
    padding-bottom:220px;   /* espacio para que no tape el texto */
  }
  .hero-card{
    position:absolute;
    left:18px;
    bottom:-130px;          /* un poco menos abajo para equilibrar */
    margin:0;
    max-width:420px;
  }
}

.hero-art .watermark{
  position:absolute;
  inset:auto auto 18px 18px;
  font-weight:1000;
  letter-spacing:.04em;
  font-size:120px;
  line-height:1;
  color:rgba(255,255,255,.06);
  transform:translate3d(0,0,0);
  user-select:none;
  z-index:0;
}