/* ══════════════════════════════════════════════════════════════════════
   FullGym — CSS compartido de las páginas de producto (/producto/*)
   Única fuente de verdad para nav, hero, secciones genéricas, CTA y el
   marco de celular real — si cambia acá, cambia en las 10 páginas juntas.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0A0A0A;
  --bg2:     #111111;
  --bg3:     #181818;
  --accent:  #C9A84C;
  --accent2: #E0C169;
  --text:    #FFFFFF;
  --muted:   #8C8C8C;
  --border:  #242424;
  --good:    #4ADE80;
  --bad:     #EF4444;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* ── nav (igual a la de index.html) ── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; background: rgba(10,10,10,0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-logo img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo span { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.86rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.current { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.3px; cursor: pointer; text-decoration: none; border: none; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── hero ── */
#hero { position: relative; padding: 90px 40px 56px; text-align: center; overflow: hidden; }
#hero::before {
  content: ''; position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3); color: var(--accent); padding: 6px 16px; border-radius: 100px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; }
.eyebrow.standard { color: var(--good); background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.3); }
.eyebrow.standard .dot { background: var(--good); }
.hero-title { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 68px); line-height: 0.98; letter-spacing: 1px; text-wrap: balance; margin-bottom: 18px; }
.hero-title .outline { -webkit-text-stroke: 1.6px rgba(201,168,76,0.6); color: transparent; }
.hero-desc { color: var(--muted); font-size: 1.02rem; max-width: 540px; margin: 0 auto 30px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── section shell ── */
section { padding: 60px 40px; }
.section-tag { display: block; text-align: center; color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); line-height: 1; letter-spacing: 1px; text-align: center; margin-bottom: 16px; text-wrap: balance; }
.section-sub { color: var(--muted); text-align: center; max-width: 580px; margin: 0 auto 44px; font-size: 0.96rem; }

/* ── tarjetas de checklist (3-card grid, reusado en varias páginas) ── */
.card-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.feature-icon { width: 46px; height: 46px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card > p { color: var(--muted); font-size: 0.87rem; line-height: 1.6; margin-bottom: 18px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.85rem; color: #d4d4d4; }
.check-list .tick { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: rgba(74,222,128,0.14); color: var(--good); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 900; }

/* ── bloques alternados / deep-dive (reusado en casi todas) ── */
.deepdive, .alt-block-section { padding: 60px 40px; }
.deepdive-inner, .alt-block { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.deepdive.rev .deepdive-inner, .alt-block.rev { grid-template-columns: 1.05fr 0.95fr; }
.deepdive.rev .dd-text, .alt-block.rev .alt-text { order: 2; }
.deepdive.rev .dd-mock, .alt-block.rev .alt-mock { order: 1; }
@media (max-width: 880px) {
  .deepdive-inner, .alt-block, .deepdive.rev .deepdive-inner, .alt-block.rev { grid-template-columns: 1fr; gap: 32px; }
  .deepdive.rev .dd-text, .deepdive.rev .dd-mock, .alt-block.rev .alt-text, .alt-block.rev .alt-mock { order: initial; }
}
.dd-eyebrow, .alt-eyebrow { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.dd-text h3, .alt-text h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.5px; margin-bottom: 16px; text-wrap: balance; }
.dd-text p, .alt-text p { color: var(--muted); font-size: 0.94rem; line-height: 1.75; margin-bottom: 18px; }
.dd-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dd-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.86rem; }
.dd-list .tick { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: rgba(74,222,128,0.14); color: var(--good); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 900; }
.mock-shell { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; padding: 22px; max-width: 400px; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }

/* ── marco de celular real (mismo asset que usa index.html en #app-socio) ── */
.phone-frame-wrap { max-width: 320px; margin: 0 auto; }
.phone-frame-inner { position: relative; aspect-ratio: 514 / 968; }
.phone-frame-png {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; display: block; pointer-events: none;
}
.phone-frame-screen {
  position: absolute; z-index: 1;
  left: 15.18%; top: 4.96%; width: 69.65%; height: 90.29%;
  border-radius: 14px; overflow: hidden; background: #0a0a0a;
}
.phone-frame-screen > * { width: 100%; height: 100%; }
/* cuando el mockup de "celular del socio" (ws-shell) queda anidado en el marco real,
   pierde su propio borde/sombra/radio -- eso ahora lo da el marco de celular */
.phone-frame-screen .ws-shell {
  width: 100% !important; height: 100% !important; max-width: none !important;
  margin: 0 !important; border: none !important; box-shadow: none !important; border-radius: 0 !important;
  overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.phone-frame-screen .ws-shell::-webkit-scrollbar { display: none; }

/* ── explorar otros módulos ── */
#explore { padding: 10px 40px 70px; }
.explore-row { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 720px) { .explore-row { grid-template-columns: repeat(2, 1fr); } }
.explore-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 20px 16px; text-align: center; transition: border-color 0.2s, transform 0.2s; text-decoration: none; color: var(--text); display: block; }
.explore-item:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-3px); }
.explore-item .ic { font-size: 1.3rem; margin-bottom: 8px; }
.explore-item .lb { font-size: 0.84rem; font-weight: 700; }

/* ── CTA final ── */
#cta { padding: 20px 40px 90px; }
.cta-inner { max-width: 1100px; margin: 0 auto; background: var(--bg2); border: 1px solid rgba(201,168,76,0.25); border-radius: 22px; padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; flex-wrap: wrap; }
.cta-inner::before { content: ''; position: absolute; top: -100px; right: -100px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%); }
.cta-text { position: relative; z-index: 2; }
.cta-text h2 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); letter-spacing: 0.5px; margin-bottom: 10px; text-wrap: balance; }
.cta-text p { color: var(--muted); font-size: 0.95rem; }
.cta-inner .btn { position: relative; z-index: 2; white-space: nowrap; }

/* ── footer simple ── */
footer.simple { border-top: 1px solid var(--border); padding: 32px 40px; text-align: center; }
footer.simple a { color: var(--accent); text-decoration: none; font-weight: 600; }
footer.simple p { color: var(--muted); font-size: 0.8rem; }
