/* =====================================================
   RA MARKETING · LANZAMIENTOS · STYLES
   Paleta oficial playbook v1.0
===================================================== */

:root {
  --bg:        #0A0A0A;
  --bg-alt:    #111111;
  --text:      #FFFFFF;
  --gold:      #D4AF37;
  --gold-2:    #B8941F;
  --emerald:   #10B981;
  --emerald-2: #059669;
  --purple:    #8B5CF6;
  --purple-2:  #7C3AED;
  --accent:    var(--gold);
  --accent-2:  var(--gold-2);
  --line:      #262626;
  --muted:     #A1A1A1;
  --radius:    16px;
  --radius-lg: 24px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max: 1200px;
  --t: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { color: var(--text); font-weight: 600; }
.accent { color: var(--accent); }

/* =============== LOADER =============== */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: grid; place-items: center;
  z-index: 9999;
  transition: opacity .6s var(--t);
}
.loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: .1em;
  color: var(--purple);
  font-size: 1.2rem;
  animation: pulse 1.2s ease-in-out infinite;
}
.loader-logo span { margin: 0 .3em; opacity: .6; }
@keyframes pulse { 0%,100% { opacity: .35 } 50% { opacity: 1 } }

/* =============== NAV =============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 40px);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10,10,10,.9), rgba(10,10,10,0));
  backdrop-filter: blur(6px);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .1em; font-size: .95rem;
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #000;
  font-weight: 700; font-size: .95rem;
}
.brand-mark.big { display: inline-block; padding: 10px 14px; border-radius: 12px; font-size: 1rem; }
.brand-text { font-weight: 500; letter-spacing: .3em; }
.nav-cta {
  padding: 10px 18px;
  background: var(--accent); color: #000;
  border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  transition: transform .2s var(--t);
}
.nav-cta:hover { transform: translateY(-2px); }

/* =============== HERO =============== */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px clamp(16px, 4vw, 40px) 80px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(212,175,55,.14), transparent 60%),
    radial-gradient(800px 500px at 85% 20%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(500px 400px at 50% 90%, rgba(16,185,129,.06), transparent 60%);
  pointer-events: none; z-index: -1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.25);
  color: var(--accent);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212,175,55,.6);
  animation: live 1.4s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,.7) }
  100% { box-shadow: 0 0 0 12px rgba(212,175,55,0) }
}
.hero-eyebrow {
  margin-top: 22px;
  color: var(--muted);
  letter-spacing: .3em; font-size: .8rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 18px 0 22px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-sub {
  max-width: 720px; margin: 0 auto 36px;
  color: #d6d6d6; font-size: clamp(1rem, 1.3vw, 1.15rem);
}

/* VSL */
.vsl { margin: 0 auto 44px; max-width: 880px; }
.vsl-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(212,175,55,.08), 0 8px 24px rgba(0,0,0,.5);
}
.vsl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.vsl-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  gap: 10px;
  background: radial-gradient(400px 300px at center, rgba(212,175,55,.12), rgba(0,0,0,.8));
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .1em;
  font-size: .9rem;
  text-transform: uppercase;
  transition: opacity .4s var(--t);
}
.vsl-overlay svg { width: 84px; height: 84px; transition: transform .3s var(--t); pointer-events: none; }
.vsl-overlay:hover svg { transform: scale(1.05); }
.vsl-overlay.hidden { opacity: 0; pointer-events: none; }
.vsl-caption {
  text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.stat {
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--emerald);
  letter-spacing: -.02em;
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-top: 6px;
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
}

/* BOTÓN */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 1rem;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--t), box-shadow .25s var(--t);
  box-shadow: 0 8px 24px rgba(212,175,55,.25);
  font-family: var(--font-body);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(212,175,55,.35); }
.btn-primary .arrow { transition: transform .25s var(--t); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary.big { padding: 22px 34px; font-size: 1.1rem; }
.hero-cta { margin-top: 10px; }
.hero-footnote {
  margin-top: 16px;
  color: var(--muted);
  font-size: .85rem;
}

/* =============== SECTIONS =============== */
.section {
  padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 40px);
  max-width: var(--max);
  margin: 0 auto;
}
.section-dark { background: var(--bg-alt); max-width: none; }
.section-dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head {
  text-align: center; max-width: 760px; margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  color: var(--purple);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag.dark { color: #000; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  font-weight: 700;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* CARDS / POR QUÉ ASISTIR */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  transition: transform .3s var(--t), border-color .3s var(--t);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.4);
}
.card-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.2rem; color: var(--accent);
  line-height: 1; margin-bottom: 10px;
}
.card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; margin: 0 0 12px;
  min-height: 2.6em;
  line-height: 1.3;
}
.card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
  word-break: normal;
  overflow-wrap: break-word;
  flex-grow: 1;
}
.card p strong { color: #FFFFFF; font-weight: 700; }

/* Card destacada (PUV - el corazón del sistema) */
.card--featured {
  background: linear-gradient(180deg, rgba(212,175,55,0.10), rgba(212,175,55,0.04));
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 14px 40px -18px rgba(212,175,55,.35);
  position: relative;
}
.card--featured::before {
  content: "★ FRAMEWORK PRINCIPAL";
  position: absolute; top: -11px; left: 22px;
  background: var(--accent); color: #0A0A0A;
  font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px;
}
.card--featured .card-num { color: var(--accent); font-size: 2.6rem; }
.card--featured h3 { color: #FFFFFF; }

/* Card 07 - centrada en la última fila (queda sola en grid de 3 cols) */
.card--last { grid-column: 2 / 3; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--last { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card--last { max-width: none; }
}

/* RESULTADOS */
.results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.result {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(212,175,55,.06), rgba(255,255,255,0));
  text-align: center;
}
.result-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--emerald);
  letter-spacing: -.02em; margin-bottom: 10px;
}
.result-label { color: var(--muted); font-size: .95rem; }
@media (max-width: 840px) { .results { grid-template-columns: 1fr; } }

/* TESTIMONIOS */
.quotes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.quote {
  margin: 0;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}
.quote p { margin: 0 0 16px; color: #e0e0e0; font-size: .96rem; }
.quote footer { color: var(--muted); font-size: .88rem; }
.quote footer b { color: var(--purple); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* EQUIPO */
.team {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.team-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4/5; object-fit: cover;
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding-left: 34px;
  color: #d6d6d6; font-size: 1rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--accent); color: #000; border-radius: 50%;
  font-size: .75rem; font-weight: 800;
}
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* FORM FINAL */
.section-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #000; max-width: none;
}
.form-wrap {
  max-width: 780px; margin: 0 auto;
  padding: 16px 8px;
  text-align: center;
}
.form-title {
  font-family: var(--font-display);
  color: #000;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  font-weight: 700;
}
.form-sub { color: #000; opacity: .75; margin-bottom: 30px; }
.form { text-align: left; display: grid; gap: 14px; }
.form .row, .form .row-single {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.form .row-single { grid-template-columns: 1fr; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: #000; }
.form input, .form select {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: #000;
  font-family: inherit; font-size: 1rem;
  outline: none;
  transition: border-color .2s var(--t), box-shadow .2s var(--t);
}
.form input:focus, .form select:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,.1);
}
.form .phone { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.form .phone select { padding-left: 10px; padding-right: 10px; }
.form .btn-primary {
  background: #000; color: var(--accent);
  justify-self: stretch; justify-content: center;
  margin-top: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.form .btn-primary:hover { box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.form-legal { font-size: .8rem; color: rgba(0,0,0,.6); text-align: center; margin: 4px 0 0; }
.form-legal a { text-decoration: underline; }
@media (max-width: 640px) {
  .form .row { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 8px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 20px;
  background: rgba(255,255,255,.02);
  transition: border-color .2s var(--t);
}
.faq details[open] { border-color: rgba(212,175,55,.35); }
.faq summary {
  cursor: pointer; padding: 16px 0;
  font-weight: 600; font-size: 1rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; transition: transform .2s var(--t); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 0 0 16px; }

/* CTA FINAL */
.cta-final {
  padding: clamp(60px, 10vw, 120px) clamp(16px, 4vw, 40px);
  text-align: center;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 28px;
  font-weight: 700;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px clamp(16px, 4vw, 40px) 30px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: .95rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.footer p { color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.footer a { transition: color .2s var(--t); }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .85rem;
  text-align: center;
}
@media (max-width: 780px) { .footer-cols { grid-template-columns: 1fr; } }

/* WHATSAPP FLOTANTE */
.wa-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.55), 0 0 0 3px rgba(255,255,255,.15);
  z-index: 9999;
  animation: waPulse 2s ease-out infinite;
}
.wa-float svg path { fill: #FFFFFF !important; }
.wa-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6), 0 10px 30px rgba(37,211,102,.45) }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45) }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45) }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* =============== LOGO IMG =============== */
.nav-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(212,175,55,.2));
  transition: transform .2s var(--t);
}
.nav-brand:hover .nav-logo { transform: scale(1.06); }
.footer-logo {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

/* =============== STICKY CTA FLOTANTE =============== */
.sticky-cta {
  position: fixed; top: 18px; right: 90px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--gold); color: #000;
  font-weight: 700; font-size: .92rem;
  border-radius: 999px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(212,175,55,.4);
  opacity: 0; transform: translateY(-20px); pointer-events: none;
  transition: opacity .3s var(--t), transform .3s var(--t);
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,175,55,.55); }
@media (max-width: 760px) { .sticky-cta { right: 16px; padding: 10px 16px; font-size: .82rem; } }

/* =============== HERO LIVE BLOCK =============== */
.hero-live {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center; align-items: center;
  margin: 24px auto 0; max-width: 760px;
}
.live-counter {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.28);
  border-radius: 999px;
  color: #d6d6d6; font-size: .9rem;
}
.live-counter b { color: var(--emerald); font-weight: 700; font-size: 1.05rem; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7) }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0) }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0) }
}

/* =============== COUNTDOWN =============== */
.countdown {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
}
.cd-label {
  color: var(--muted); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.cd-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cd-cell {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px;
}
.cd-cell b {
  font-family: var(--font-display);
  color: var(--gold); font-size: 1.4rem; font-weight: 700;
  line-height: 1;
}
.cd-cell span {
  color: var(--muted); font-size: .7rem;
  margin-top: 2px; letter-spacing: .1em; text-transform: uppercase;
}

/* =============== BANNER PRUEBA SOCIAL =============== */
.trust-banner {
  background: linear-gradient(90deg, rgba(139,92,246,.15), rgba(212,175,55,.08), rgba(139,92,246,.15));
  border-top: 1px solid rgba(139,92,246,.3);
  border-bottom: 1px solid rgba(139,92,246,.3);
  padding: 22px clamp(16px, 4vw, 40px);
  text-align: center;
}
.trust-inner { max-width: var(--max); margin: 0 auto; }
.trust-tag {
  display: inline-block;
  color: var(--purple);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  margin-bottom: 6px;
}
.trust-text {
  margin: 0; color: #d6d6d6; font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.trust-text b { color: #fff; }

/* =============== FOUNDER BIO =============== */
/* .founder removed: ahora usa founder-bio-text + certs-block full-width */
.founder-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 0;
  background: transparent;
}
.founder-body { color: #d6d6d6; }
.founder-lead { font-size: 1.1rem; line-height: 1.55; margin: 0 0 22px; color: #f0f0f0; }
.founder-mission {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(139,92,246,.1);
  border-left: 3px solid var(--purple);
  border-radius: 8px;
  font-size: 1rem; line-height: 1.5; color: #f0f0f0;
}
.mission-tag {
  display: block;
  color: var(--purple);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  margin-bottom: 6px;
}
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* =============== NAV CTA hidden cuando sticky aparece =============== */
.nav-cta {
  transition: opacity .3s var(--t), transform .3s var(--t);
}
.nav-cta.hidden-scroll {
  opacity: 0; pointer-events: none; transform: translateX(20px);
}


/* Logo Facebook Blueprint — top-left */
.cert-fb {
  grid-column: 1; grid-row: 1;
  transform: translate(8px, 0) rotate(-5deg);
  animation: certFloat 6s ease-in-out infinite;
}
/* Logo Google Ads — top-right */
.cert-google {
  grid-column: 2; grid-row: 1;
  transform: translate(-8px, 0) rotate(5deg);
  animation: certFloat 6s ease-in-out infinite -2s;
}
/* Logo Platzi (centro-bajo, mas grande, vertice de la flecha) */
.cert-platzi {
  grid-column: 1 / -1; grid-row: 2;
  max-width: 320px;
  margin-top: -10px;
  animation: certFloat 6s ease-in-out infinite -4s;
}
.cert-item {
  display: flex; justify-content: center;
  filter: drop-shadow(0 12px 30px rgba(212,175,55,.15));
  transition: transform .35s var(--t), filter .35s var(--t);
}
.cert-item:hover {
  filter: drop-shadow(0 16px 40px rgba(212,175,55,.4));
  transform: translateY(-4px) scale(1.04);
}
.cert-item img {
  width: 100%; height: auto;
  display: block;
  background: transparent;
  border: 0;
}
@keyframes certFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* Override de animaciones para preservar rotaciones individuales */
.cert-fb { animation-name: certFloatFb; }
.cert-google { animation-name: certFloatGoogle; }
.cert-platzi { animation-name: certFloatPlatzi; }
@keyframes certFloatFb {
  0%, 100% { transform: translate(8px, 0) rotate(-5deg); }
  50% { transform: translate(8px, -8px) rotate(-5deg); }
}
@keyframes certFloatGoogle {
  0%, 100% { transform: translate(-8px, 0) rotate(5deg); }
  50% { transform: translate(-8px, -8px) rotate(5deg); }
}
@keyframes certFloatPlatzi {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .cert-fb, .cert-google, .cert-platzi { animation: none; }
}

/* =============== FOUNDER CERTS · FLECHA HACIA ABAJO (3+1) =============== */
.founder-certs-arrow {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
  background: transparent;
  align-items: center;
  width: 100%;
}
.cert-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
  align-items: center;
  justify-items: center;
}
.cert-row-top .cert-item img { max-width: 280px; }
.cert-row-bottom { margin-top: 6px; }
.cert-row-bottom {
  display: flex;
  justify-content: center;
  margin-top: -10px;
}
.cert-item {
  display: flex; justify-content: center; align-items: center;
  transition: transform .35s var(--t), filter .35s var(--t);
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.35));
}
.cert-item img {
  width: 100%; height: auto;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 12px;
}
/* Certificados Platzi (con su fondo blanco propio) */
.cert-pl1 img, .cert-pl2 img, .cert-pl3 img {
  background: transparent;
  box-shadow: 0 14px 30px rgba(212,175,55,.10);
}
.cert-pl1 { transform: rotate(-3deg); animation: certFloat1 7s ease-in-out infinite; }
.cert-pl2 { transform: translateY(-6px); animation: certFloat2 7s ease-in-out infinite -2s; }
.cert-pl3 { transform: rotate(3deg); animation: certFloat3 7s ease-in-out infinite -4s; }
/* Google Ads — vertice de la flecha, fondo blanco para integrar con Platzi */
.cert-google {
  max-width: 240px;
  filter: drop-shadow(0 16px 40px rgba(212,175,55,.4));
  animation: certFloatGoogle 7s ease-in-out infinite -3s;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(212,175,55,.12);
}
.cert-google img {
  background: transparent;
  border: 0;
  box-shadow: none;
  width: 100%; height: auto;
}
.cert-item:hover {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 24px 50px rgba(212,175,55,.55));
}
@keyframes certFloat1 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-6px); }
}
@keyframes certFloat2 {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(-12px); }
}
@keyframes certFloat3 {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}
@keyframes certFloatGoogle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .cert-pl1, .cert-pl2, .cert-pl3, .cert-google { animation: none; }
}
@media (max-width: 720px) {
  .cert-row-top { grid-template-columns: 1fr; gap: 14px; }
  .cert-google { max-width: 160px; }
}

/* =============== FOUNDER BIO TEXT (full width centrado) =============== */
.founder-bio-text {
  max-width: 820px; margin: 0 auto 50px;
  color: #d6d6d6;
  text-align: left;
}
.founder-checklist { margin-top: 22px; }
.founder-mission {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(139,92,246,.10);
  border-left: 3px solid var(--purple);
  border-radius: 8px;
  font-size: 1.02rem; line-height: 1.5; color: #f0f0f0;
}

/* =============== CERTS BLOCK (full width) =============== */
.certs-block {
  max-width: 1080px; margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.certs-tag {
  display: inline-block;
  color: var(--gold);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  margin-bottom: 28px;
}

/* === OVERRIDE V2 CERT LAYOUT FIX === */
.founder-certs-arrow { display: flex !important; flex-direction: column !important; gap: 28px !important; align-items: center !important; width: 100% !important; padding: 0 !important; background: transparent !important; }
.cert-row-top { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; width: 100% !important; max-width: 900px !important; align-items: center !important; justify-items: center !important; }
.cert-row-top .cert-item img { max-width: 280px !important; }
.cert-row-bottom { display: flex !important; justify-content: center !important; margin-top: 6px !important; }
.cert-row-bottom .cert-item img { max-width: 200px !important; }
.cert-item { display: flex !important; justify-content: center !important; align-items: center !important; }
.cert-item img { width: 100% !important; height: auto !important; display: block !important; }
@media (max-width: 720px) { .cert-row-top { grid-template-columns: 1fr !important; max-width: 320px !important; } }

