/* Landing de Ocuparche — mismo formato que las landings de Holbaph y Finanzas. */
.wrap{ width:min(100% - 44px, 1080px); margin:0 auto; }
.grad{ background:linear-gradient(90deg,var(--teal),var(--brand)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- cabecera ---------- */
header.nav{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(12px);
  border-bottom:1px solid transparent; transition:border-color .3s;
}
header.nav.borde{ border-bottom-color:var(--line); }
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:68px; gap:16px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.12rem; letter-spacing:-.02em; color:var(--ink); text-decoration:none; flex-shrink:0; }
.brand img{ width:34px; height:34px; border-radius:9px; }
.brand-col{ display:flex; flex-direction:column; gap:4px; line-height:1.05; }
.por{ display:flex; align-items:center; gap:6px; font-size:.68rem; font-weight:600; color:var(--ink-soft); letter-spacing:0; }
.brand .por img{ width:auto; height:11px; border-radius:0; }
.logo-oscuro{ display:none; }
:root[data-tema="oscuro"] .logo-claro{ display:none; }
:root[data-tema="oscuro"] .logo-oscuro{ display:block; }
@media (prefers-color-scheme: dark){
  :root:not([data-tema="claro"]):not([data-tema="oscuro"]) .logo-claro{ display:none; }
  :root:not([data-tema="claro"]):not([data-tema="oscuro"]) .logo-oscuro{ display:block; }
}
.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{ text-decoration:none; color:var(--ink-soft); font-weight:600; font-size:.95rem; transition:color .2s; }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.tema{ display:inline-flex; padding:3px; border:1px solid var(--line); border-radius:999px; background:var(--surface-2); }
.tema button{ border:0; background:transparent; width:32px; height:28px; border-radius:999px; cursor:pointer; font-size:.95rem; line-height:1; filter:grayscale(.8); opacity:.65; transition:.2s; }
.tema button:hover{ opacity:1; }
.tema button[aria-pressed="true"]{ background:var(--bg); box-shadow:0 1px 6px rgba(0,0,0,.18); filter:none; opacity:1; }

/* ---------- botones ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font:700 1rem inherit; font-family:inherit; text-decoration:none;
  padding:14px 28px; border-radius:14px; border:0; cursor:pointer; white-space:nowrap;
  transition:transform .2s, box-shadow .2s;
}
.btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-brand{ background:var(--boton); color:var(--boton-txt); }
.btn-ghost{ background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover{ box-shadow:inset 0 0 0 1.5px var(--teal); }
.btn-sm{ padding:9px 18px; font-size:.9rem; border-radius:12px; }

/* ---------- portada ---------- */
.hero{ position:relative; overflow:hidden; padding:clamp(54px,8vw,96px) 0 clamp(40px,6vw,64px); }
.hero::before{ content:""; position:absolute; inset:-20% -10% auto -10%; height:440px; z-index:0; pointer-events:none;
  background:radial-gradient(500px 240px at 25% 40%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 70%), radial-gradient(500px 240px at 75% 30%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:7px; font-size:.74rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase; color:var(--brand-dark);
  background:var(--brand-soft); padding:6px 14px; border-radius:99px; margin-bottom:20px;
}
.hero h1{ font-size:clamp(2.1rem,5vw,3.4rem); margin-bottom:18px; }
.hero h1 span{ background:linear-gradient(90deg,var(--teal),var(--brand)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero .lead{ font-size:1.08rem; color:var(--ink-soft); max-width:48ch; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:20px; }
.hero-note{ font-size:.86rem; color:var(--ink-soft); }
.hero-art{ display:flex; justify-content:center; }
.hero-art svg{ width:100%; max-width:400px; height:auto; animation:flota 7s ease-in-out infinite; }
@keyframes flota{ 50%{ transform:translateY(-12px) rotate(1.5deg); } }

/* ---------- franja de confianza ---------- */
.trust-strip{ padding:10px 0 56px; }
.trust-row{ display:flex; flex-wrap:wrap; gap:14px 28px; justify-content:center; align-items:center; color:var(--ink-soft); font-size:.9rem; font-weight:600; }
.trust-row span{ display:inline-flex; align-items:center; gap:7px; }

/* ---------- secciones ---------- */
section{ padding:clamp(56px,8vw,96px) 0; }
.section-head{ text-align:center; max-width:640px; margin:0 auto 46px; }
.section-eyebrow{ font-size:.74rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--teal); margin-bottom:12px; }
.section-head h2{ font-size:clamp(1.6rem,3.2vw,2.3rem); margin-bottom:12px; }
.section-head p{ color:var(--ink-soft); font-size:1.04rem; }

.problem, .how, .demo{ background:var(--surface-2); border-block:1px solid var(--line); }
.problem-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.problem-card{ text-align:center; padding:8px; }
.problem-card .ico{ font-size:2.1rem; margin-bottom:12px; transition:transform .3s; }
.problem-card:hover .ico{ transform:scale(1.18) rotate(-6deg); }
.problem-card h3{ font-size:1.05rem; margin-bottom:8px; }
.problem-card p{ color:var(--ink-soft); font-size:.92rem; }

.features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.feature-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:24px 22px; transition:transform .25s, box-shadow .25s;
}
.feature-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.feature-card .ico{ width:50px; height:50px; border-radius:15px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:14px; }
.feature-card:nth-child(odd) .ico{ background:var(--teal-soft); }
.feature-card:nth-child(even) .ico{ background:var(--brand-soft); }
.feature-card h3{ font-size:1.02rem; margin-bottom:8px; }
.feature-card p{ color:var(--ink-soft); font-size:.9rem; }

.how-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.how-step{ text-align:center; }
.how-num{ width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--brand)); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.05rem; margin:0 auto 16px; }
.how-step h3{ font-size:1.05rem; margin-bottom:6px; }
.how-step p{ color:var(--ink-soft); font-size:.92rem; max-width:28ch; margin:0 auto; }

/* ---------- precios ---------- */
.pricing-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:780px; margin:0 auto; align-items:stretch; }
.price-card{ background:var(--bg); border:1px solid var(--line); border-radius:24px; padding:30px 28px; display:flex; flex-direction:column; gap:16px; transition:transform .25s, box-shadow .25s; }
.price-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.price-card.featured{ position:relative; border:2px solid transparent; background:linear-gradient(var(--bg),var(--bg)) padding-box, linear-gradient(135deg,var(--teal),var(--brand)) border-box; }
.price-badge{ position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:linear-gradient(90deg,var(--teal),var(--brand)); color:#fff; font-size:.72rem; font-weight:800; letter-spacing:.05em; padding:5px 14px; border-radius:99px; text-transform:uppercase; white-space:nowrap; }
.price-card h3{ font-size:1.3rem; }
.price-amount{ font-weight:800; font-size:2.1rem; letter-spacing:-.03em; }
.price-amount small{ font-weight:600; font-size:.86rem; color:var(--ink-soft); letter-spacing:0; }
.price-pitch{ font-size:.9rem; color:var(--ink-soft); margin:-4px 0 2px; }
.price-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; flex:1; }
.price-list li{ display:flex; align-items:flex-start; gap:9px; font-size:.92rem; color:var(--ink-soft); line-height:1.4; }
.price-list li b{ color:var(--ink); }
.check{ color:var(--teal); flex-shrink:0; font-weight:800; }
.cross{ color:var(--ink-faint); flex-shrink:0; }

/* ---------- demo en celular ---------- */
.demo-wrap{ display:flex; flex-direction:column; align-items:center; gap:18px; }
.phone{ position:relative; width:272px; height:544px; background:#1a1420; border-radius:40px; padding:14px; box-shadow:0 30px 60px -30px rgba(10,10,30,.55), 0 0 0 2px rgba(0,0,0,.06); flex-shrink:0; }
.phone-notch{ position:absolute; top:14px; left:50%; transform:translateX(-50%); width:90px; height:20px; background:#1a1420; border-radius:0 0 14px 14px; z-index:2; }
.phone-screen{ position:relative; width:100%; height:100%; border-radius:26px; overflow:hidden; background:var(--bg); }
.demo-frame{ position:absolute; inset:0; opacity:0; display:flex; flex-direction:column; }
.demo-frame img{ width:100%; flex:1; min-height:0; display:block; object-fit:cover; }
.demo-caption{ margin:0; padding:12px 16px calc(env(safe-area-inset-bottom,0px) + 12px); font-size:.75rem; line-height:1.4; color:var(--ink-soft); background:var(--surface); border-top:1px solid var(--line); text-align:center; }
.demo-caption b{ color:var(--ink); }
#f1{ animation:demoShow 28s infinite; }
#f2{ animation:demoShow 28s infinite; animation-delay:-4s; }
#f3{ animation:demoShow 28s infinite; animation-delay:-8s; }
#f4{ animation:demoShow 28s infinite; animation-delay:-12s; }
#f5{ animation:demoShow 28s infinite; animation-delay:-16s; }
#f6{ animation:demoShow 28s infinite; animation-delay:-20s; }
#f7{ animation:demoShow 28s infinite; animation-delay:-24s; }
@keyframes demoShow{ 0%,98.7%,100%{ opacity:0; } 1.3%,13%{ opacity:1; } 14.3%{ opacity:0; } }
.demo-dots{ display:flex; gap:8px; }
.demo-dots span{ width:7px; height:7px; border-radius:50%; background:var(--line); animation:demoDot 28s infinite; }
.demo-dots span:nth-child(1){ animation-delay:-4s; } .demo-dots span:nth-child(2){ animation-delay:-8s; }
.demo-dots span:nth-child(3){ animation-delay:-12s; } .demo-dots span:nth-child(4){ animation-delay:-16s; }
.demo-dots span:nth-child(5){ animation-delay:-20s; } .demo-dots span:nth-child(6){ animation-delay:-24s; }
.demo-dots span:nth-child(7){ animation-delay:0s; }
@keyframes demoDot{ 0%,98.7%,100%{ background:var(--line); transform:scale(1); } 1.3%,13%{ background:var(--brand); transform:scale(1.3); } 14.3%{ background:var(--line); transform:scale(1); } }

/* ---------- videos ---------- */
.videos{ margin-top:64px; text-align:center; }
.videos-title{ font-size:1.6rem; margin-bottom:10px; }
.videos-sub{ color:var(--ink-soft); max-width:560px; margin:0 auto 30px; }
.videos-grid{ display:flex; flex-wrap:wrap; gap:34px; justify-content:center; align-items:flex-start; }
.video-card{ margin:0; width:260px; max-width:100%; }
.video-frame{ background:#1a1420; border-radius:30px; padding:9px; box-shadow:0 26px 50px -28px rgba(10,10,30,.6), 0 0 0 2px rgba(0,0,0,.06); }
.video-frame video{ display:block; width:100%; aspect-ratio:480 / 1040; border-radius:22px; background:#000; object-fit:cover; }
.video-card figcaption{ margin-top:16px; font-size:.86rem; line-height:1.5; color:var(--ink-soft); }
.video-card figcaption b{ display:block; color:var(--ink); font-size:1.1rem; margin-bottom:4px; }
.video-card figcaption i{ font-style:normal; font-weight:600; color:var(--ink-faint); font-size:.9rem; }
.video-card figcaption span{ display:block; }

/* ---------- comparación ---------- */
.compare-table{ max-width:780px; margin:0 auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.compare-row{ display:grid; grid-template-columns:1fr 90px 110px; align-items:center; padding:12px 18px; border-bottom:1px solid var(--line); font-size:.88rem; }
.compare-row:last-child{ border-bottom:none; }
.compare-row > div{ text-align:center; }
.compare-feat{ text-align:left !important; color:var(--ink); font-weight:600; }
.compare-head{ background:var(--surface-2); font-weight:800; font-size:.8rem; color:var(--ink-soft); }
.compare-row .yes{ color:var(--teal); font-weight:800; }
.compare-row .no{ color:var(--ink-faint); }

/* ---------- origen ---------- */
.origin-box{ max-width:780px; margin:0 auto; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius-lg); padding:36px 40px; display:flex; gap:26px; align-items:flex-start; }
.origin-box .ico{ font-size:2.4rem; flex-shrink:0; }
.origin-box h2{ font-size:1.4rem; margin-bottom:12px; }
.origin-box p{ color:var(--ink-soft); }
.origin-box p + p{ margin-top:12px; }

/* ---------- llamada final ---------- */
.cta-final{ background:linear-gradient(135deg,#0a8fa6,#6a4ae0); border-radius:var(--radius-lg); padding:52px 40px; text-align:center; color:#fff; max-width:920px; margin:0 auto; }
.cta-final h2{ color:#fff; font-size:clamp(1.5rem,3vw,2rem); margin-bottom:12px; }
.cta-final p{ color:rgba(255,255,255,.88); margin-bottom:26px; }
.cta-final .btn-brand{ background:#fff; color:#14141f; }

/* ---------- pie ---------- */
footer.site{ border-top:1px solid var(--line); padding:30px 0; color:var(--ink-soft); }
.footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-links{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-links a{ color:var(--ink-soft); font-size:.9rem; text-decoration:none; font-weight:600; }
.footer-links a:hover{ color:var(--ink); }
.footer-copy{ display:flex; align-items:center; gap:8px; font-size:.88rem; flex-wrap:wrap; }
.footer-copy a{ display:inline-flex; }
.footer-copy img{ height:20px; width:auto; }

/* ---------- animaciones suaves (solo con JS) ---------- */
.js .reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.visible{ opacity:1; transform:none; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:34px; }
  .hero-art{ order:-1; }
  .problem-grid, .features-grid{ grid-template-columns:1fr 1fr; }
  .how-grid{ grid-template-columns:1fr; gap:26px; }
  .pricing-grid{ grid-template-columns:1fr; }
  .nav-links{ display:none; }
  .origin-box{ flex-direction:column; padding:28px; }
}
@media (max-width:620px){
  .nav-cta .btn-ghost{ display:none; }
  .problem-grid, .features-grid{ grid-template-columns:1fr; }
  .cta-final{ padding:38px 24px; }
  .phone{ width:228px; height:456px; padding:11px; }
  .compare-row{ grid-template-columns:1fr 64px 84px; font-size:.78rem; padding:10px 12px; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .hero-art svg{ animation:none; }
  .demo-frame, .demo-dots span{ animation:none; }
  #f1{ opacity:1; }
  .demo-dots span:nth-child(1){ background:var(--brand); }
  .js .reveal{ opacity:1; transform:none; transition:none; }
  .btn:hover, .feature-card:hover, .price-card:hover{ transform:none; }
}
