/* ============================================================
   La Esquina del Emprendedor — sistema de diseño de la vitrina
   Paleta oficial: navy #0B2545 · dorado #C9A227 · verde acción #128C7E
   Acentos por módulo (solo tiles/etiquetas): Tienda dorado,
   Renuevalo esmeralda, Cooperativa azul #2563EB, Clone Web violeta,
   PDF Fácil celeste, De Scribd a PDF coral (el esmeralda ya es de
   Renuevalo, por eso esta herramienta usa coral #EA580C).
   ============================================================ */
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
:root{
  --navy:#0B2545; --navy-2:#0E2C52; --navy-3:#123A6B; --navy-dark:#071A30; --navy-deep:#04101F;
  --gold:#C9A227; --gold-2:#E3C766; --gold-soft:#F5EBC8;
  --ink:#12263A; --muted:#64768C;
  --bg:#F2F5F8; --card:#FFFFFF;
  --wa:#128C7E; --wa-dark:#0E7163;
  --emerald:#0E9F6E; --emerald-soft:#DDF0EC;
  --blue:#2563EB; --blue-soft:#E1EDF9;
  --violet:#7C3AED; --violet-soft:#E7E2FB;
  --sky:#0284C7; --sky-soft:#E0F2FE;
  --coral:#EA580C; --coral-soft:#FDEBDD;
  --amber:#D97706; --amber-soft:#FBEED3;
  --line:#E3EBF3;
  --fh:"Sora",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --fb:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --sh-card:0 10px 30px rgba(11,37,69,.08), 0 2px 6px rgba(11,37,69,.05);
  --sh-lift:0 18px 40px rgba(11,37,69,.13), 0 4px 10px rgba(11,37,69,.07);
}
html{ scroll-behavior:smooth; }
body{
  font-family:var(--fb);
  background:radial-gradient(1200px 700px at 50% -10%, #14406B 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
  color:var(--ink); min-height:100dvh;
}
::selection{ background:var(--gold); color:var(--navy-deep); }
.page{
  max-width:1060px; margin:0 auto; background:var(--bg);
  min-height:100dvh; box-shadow:0 0 60px rgba(0,0,0,.45);
  display:flex; flex-direction:column;
}
h1,h2,h3,.fh{ font-family:var(--fh); }
a:focus-visible, .btn:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }

/* ---------- Top bar ---------- */
.topbar{
  position:sticky; top:0; z-index:20;
  background:rgba(11,37,69,.97); color:#fff;
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding:11px 16px;
  box-shadow:0 4px 16px rgba(4,16,31,.35);
  border-bottom:2px solid rgba(201,162,39,.55);
}
.logo-badge{
  width:40px; height:40px; border-radius:12px; flex:none;
  background:#0B2545;
  display:flex; align-items:center; justify-content:center;
  font-size:21px; box-shadow:0 4px 10px rgba(4,16,31,.35);
  text-decoration:none; overflow:hidden;
}
.logo-badge img{ width:100%; height:100%; display:block; object-fit:cover; }
.brand{ line-height:1.15; text-decoration:none; color:#fff; }
.brand .b1{ font-family:var(--fh); font-size:15px; font-weight:800; letter-spacing:-.2px; }
.brand .b2{ font-size:11px; color:#B9C9DC; font-weight:600; }
nav.main{ margin-left:auto; display:flex; align-items:center; gap:2px; flex-wrap:wrap; }
nav.main a{
  color:#D7E6FB; text-decoration:none; font-size:13.5px; font-weight:700;
  padding:8px 11px; border-radius:999px;
}
nav.main a:hover{ background:rgba(255,255,255,.1); }
nav.main a.on{ background:rgba(255,255,255,.16); color:#fff; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:none; cursor:pointer; text-decoration:none;
  font-family:var(--fb); font-weight:800; border-radius:999px;
  transition:transform .08s ease, filter .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active{ transform:scale(.97); }
.btn-panel{ background:#fff; color:var(--navy); font-size:13px; padding:9px 14px; white-space:nowrap; box-shadow:0 3px 8px rgba(0,0,0,.25); }

/* ---------- Hero (portada) ---------- */
.hero{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(165deg,var(--navy) 0%,var(--navy-2) 55%,var(--navy-3) 100%);
  color:#fff; text-align:center;
  padding:34px 20px 30px;
  border-radius:0 0 30px 30px;
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(560px 300px at 50% -60px, rgba(201,162,39,.28), transparent 65%),
    radial-gradient(700px 380px at 85% 115%, rgba(37,99,235,.18), transparent 60%);
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.4px);
  background-size:22px 22px;
}
.hero-badge{
  width:62px; height:62px; border-radius:19px; margin:0 auto 14px;
  background:linear-gradient(145deg,var(--gold-2) 0%,var(--gold) 55%,#A9851D 100%);
  display:flex; align-items:center; justify-content:center; font-size:31px;
  box-shadow:0 12px 26px rgba(201,162,39,.4), inset 0 1px 0 rgba(255,255,255,.5);
}
.hero-eyebrow{
  font-size:11px; font-weight:800; letter-spacing:2.2px; text-transform:uppercase;
  color:var(--gold-2);
}
.hero h1{
  margin-top:8px;
  font-size:clamp(2.05rem, 8.6vw, 3.35rem);
  font-weight:800; letter-spacing:-1px; line-height:1.08;
}
.hero h1 em{
  font-style:normal; color:var(--gold);
  background:linear-gradient(120deg,var(--gold-2),var(--gold));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.hero .sub{
  margin:14px auto 0; max-width:540px;
  font-size:clamp(1rem, 4.2vw, 1.13rem); line-height:1.55; color:#D9E5F2; font-weight:600;
}
.hero .sub b{ color:#fff; }
.hero-cta{ margin-top:20px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.btn-gold{
  background:linear-gradient(145deg,var(--gold-2) 0%,var(--gold) 60%,#B28E1F 100%);
  color:#241B02; font-size:15px; padding:13px 24px;
  box-shadow:0 10px 24px rgba(201,162,39,.35);
}
.btn-gold:hover{ filter:brightness(1.05); }
.btn-hero-ghost{
  background:rgba(255,255,255,.08); color:#fff; font-size:15px; padding:13px 22px;
  border:1.5px solid rgba(255,255,255,.4);
}
.btn-hero-ghost:hover{ background:rgba(255,255,255,.16); }
.hero-checks{
  margin:20px auto 0; max-width:640px; list-style:none;
  display:flex; flex-wrap:wrap; gap:8px 10px; justify-content:center;
}
.hero-checks li{
  font-size:12.5px; font-weight:700; color:#C9D9EC;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.13);
  padding:6px 11px; border-radius:999px;
}
.hero-checks li b{ color:var(--gold-2); font-weight:800; }

/* ---------- Secciones ---------- */
.section{ padding:30px 18px 8px; }
.wrap{ max-width:1000px; margin:0 auto; width:100%; }
.sec-eyebrow{ font-size:11px; font-weight:800; letter-spacing:2px; text-transform:uppercase; color:#97771A; }
.section h2{ font-size:22px; font-weight:800; color:var(--navy); letter-spacing:-.4px; margin-top:5px; }
.section h2::after{ content:""; display:block; width:44px; height:4px; border-radius:4px; background:var(--gold); margin-top:9px; }
.section .lead{ font-size:14.5px; color:var(--muted); margin-top:10px; line-height:1.55; max-width:560px; }

/* ---------- Tarjetas de módulos ---------- */
.grid{ display:grid; grid-template-columns:1fr; gap:18px; margin-top:20px; }
@media (min-width:880px){ .grid{ grid-template-columns:repeat(3,1fr); } }
.card{
  position:relative; overflow:hidden;
  background:var(--card); border-radius:22px; padding:22px 20px 20px;
  border:1px solid var(--line);
  box-shadow:var(--sh-card);
  display:flex; flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease;
}
.card::before{ content:""; position:absolute; top:0; left:0; right:0; height:5px; background:var(--gold); }
.card.c-green::before{ background:var(--emerald); }
.card.c-blue::before{ background:var(--blue); }
.card.c-violet::before{ background:var(--violet); }
.card.c-sky::before{ background:var(--sky); }
.card.c-coral::before{ background:var(--coral); }
.card.c-amber::before{ background:var(--amber); }
@media (hover:hover){ .card:hover{ transform:translateY(-4px); box-shadow:var(--sh-lift); } }
.card-head{ display:flex; align-items:center; gap:13px; }
.tile{
  width:58px; height:58px; border-radius:17px; flex:none;
  display:flex; align-items:center; justify-content:center; font-size:28px;
  box-shadow:inset 0 0 0 1.5px rgba(11,37,69,.06), 0 6px 14px rgba(11,37,69,.08);
}
.tile.gold{ background:linear-gradient(150deg,#FBF3D3,var(--gold-soft)); }
.tile.green{ background:linear-gradient(150deg,#EAF7F2,var(--emerald-soft)); }
.tile.blue{ background:linear-gradient(150deg,#EFF5FE,var(--blue-soft)); }
.tile.violet{ background:linear-gradient(150deg,#F3F0FE,var(--violet-soft)); }
.tile.sky{ background:linear-gradient(150deg,#F0F9FF,var(--sky-soft)); }
.tile.coral{ background:linear-gradient(150deg,#FFF4E8,var(--coral-soft)); }
.tile.amber{ background:linear-gradient(150deg,#FEF6E0,var(--amber-soft)); }
.card-head .name{ font-family:var(--fh); font-size:19px; font-weight:800; color:var(--navy); letter-spacing:-.3px; }
.card-head .tag{ font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; margin-top:2px; }
.tag.gold{ color:#97771A; } .tag.green{ color:var(--emerald); } .tag.blue{ color:var(--blue); } .tag.violet{ color:var(--violet); } .tag.sky{ color:var(--sky); } .tag.coral{ color:var(--coral); } .tag.amber{ color:var(--amber); }
.benefit{ margin-top:13px; font-size:14.5px; line-height:1.58; color:var(--ink); }
.price{
  margin-top:15px; background:#EFF4FA; border-radius:13px;
  padding:11px 13px; border-left:4px solid var(--gold);
}
.card.c-green .price{ border-left-color:var(--emerald); }
.card.c-blue .price{ border-left-color:var(--blue); }
.card.c-violet .price{ border-left-color:var(--violet); }
.card.c-sky .price{ border-left-color:var(--sky); }
.card.c-coral .price{ border-left-color:var(--coral); }
.card.c-amber .price{ border-left-color:var(--amber); }
.price .plabel{ display:block; font-size:10.5px; font-weight:800; letter-spacing:1.4px; color:var(--muted); text-transform:uppercase; }
.price .pvalue{ display:block; margin-top:2px; font-family:var(--fh); font-size:17.5px; font-weight:800; color:var(--navy); line-height:1.3; }
.price .free{ color:var(--emerald); }
.spacer{ flex:1; }
.card-actions{ display:flex; gap:9px; margin-top:16px; }
.btn-ghost{
  flex:1; background:#fff; color:var(--navy);
  border:2px solid var(--navy); font-size:13.5px; padding:11px 8px;
}
.btn-ghost:hover{ background:#EFF4FA; }
.btn-wa{
  width:100%; margin-top:10px; font-size:15px; padding:13px 10px; color:#fff;
  background:linear-gradient(160deg,#14A08F,var(--wa) 45%,var(--wa-dark));
  box-shadow:0 10px 22px rgba(18,140,126,.32);
}
.btn-wa:hover{ filter:brightness(1.06); }
.more{ margin-top:11px; font-size:13px; font-weight:700; }
.more a{ color:var(--navy); }

/* ---------- Banner cliente ---------- */
.client{
  margin:30px 18px 0; border-radius:22px; padding:24px 18px; text-align:center;
  background:linear-gradient(170deg,#fff,#FDF9EC);
  border:2px solid var(--gold);
  box-shadow:0 10px 26px rgba(201,162,39,.16);
}
.client h3{ font-size:20px; font-weight:800; color:var(--navy); }
.client p{ margin-top:7px; font-size:14.5px; line-height:1.55; color:var(--muted); }
.client .btn-panel{ margin-top:15px; background:var(--navy); color:#fff; font-size:14.5px; padding:12px 24px; }

/* ---------- Footer ---------- */
footer{
  margin-top:34px; background:var(--navy-dark); color:#9FB4CC;
  padding:24px 18px 30px; text-align:center;
  border-top:3px solid rgba(201,162,39,.5);
}
footer .fname{ font-family:var(--fh); color:#fff; font-weight:800; font-size:15px; }
footer .floc{ font-size:12.5px; margin-top:3px; }
footer nav{ margin-top:12px; display:flex; gap:6px; justify-content:center; flex-wrap:wrap; }
footer nav a{ color:#C9D9EC; text-decoration:none; font-size:13px; font-weight:700; padding:6px 10px; }
footer nav a:hover{ color:#fff; }
footer .fwa{ display:inline-block; margin-top:12px; font-size:13.5px; font-weight:700; color:var(--gold-2); text-decoration:none; }

/* ---------- Páginas de producto ---------- */
.phero{
  position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(165deg,var(--navy) 0%,var(--navy-2) 55%,var(--navy-3) 100%);
  color:#fff; padding:30px 22px 28px; text-align:center;
  border-radius:0 0 30px 30px;
}
.phero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(560px 300px at 50% -60px, rgba(201,162,39,.26), transparent 65%);
}
.phero .tile{ margin:0 auto 13px; width:66px; height:66px; border-radius:20px; font-size:33px; box-shadow:0 10px 22px rgba(0,0,0,.25); }
.phero h1{ font-size:clamp(1.7rem,6.4vw,2.3rem); font-weight:800; letter-spacing:-.6px; }
.phero h1 em{ font-style:normal; color:var(--gold); }
.phero .sub{ margin:11px auto 0; font-size:15.5px; line-height:1.58; color:#D9E5F2; max-width:540px; font-weight:600; }
.phero .price{ display:inline-block; margin-top:16px; text-align:left; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.3); border-left:4px solid var(--gold); }
.phero .price .plabel{ color:#B9C9DC; }
.phero .price .pvalue{ color:#fff; }
.phero .price .free{ color:#5EEAD4; }
.bullets{ list-style:none; margin-top:16px; display:grid; gap:11px; }
@media (min-width:880px){ .bullets{ grid-template-columns:1fr 1fr; } }
.bullets li{
  background:var(--card); border:1px solid var(--line); border-radius:15px;
  padding:14px 16px; font-size:14.5px; line-height:1.55;
  box-shadow:0 4px 12px rgba(11,37,69,.05);
}
.bullets li b{ color:var(--navy); }
.embed{
  margin-top:16px; background:#fff; border:1px solid var(--line); border-radius:22px;
  padding:10px; box-shadow:var(--sh-card);
}
.embed iframe{ width:100%; height:min(78vh,780px); border:0; border-radius:14px; display:block; background:#fff; }
.embed .open{ display:block; text-align:right; font-size:13px; font-weight:700; margin-top:8px; }
.demo-card{
  margin-top:16px; background:linear-gradient(170deg,#fff,#FDF9EC); border:2px solid var(--gold); border-radius:22px;
  padding:22px 18px; text-align:center; box-shadow:0 10px 26px rgba(201,162,39,.16);
}
.demo-card h3{ font-size:20px; font-weight:800; color:var(--navy); }
.demo-card p{ margin-top:7px; font-size:14.5px; line-height:1.58; color:var(--ink); }
.creds{
  display:inline-block; margin-top:12px; background:#fff;
  border:1.5px dashed #C9D6E2; border-radius:12px; padding:10px 18px;
  font-size:15px; font-weight:700; color:var(--navy); line-height:1.65;
}
.btn-enter{ margin-top:15px; background:var(--navy); color:#fff; font-size:15px; padding:13px 28px; box-shadow:0 8px 18px rgba(11,37,69,.25); }
.btn-enter:hover{ background:var(--navy-2); }
.cta-final{ margin:30px 18px 0; text-align:center; }
.cta-final .btn-wa{ max-width:430px; margin:0 auto; font-size:16px; padding:15px; width:100%; display:inline-flex; }

/* ---------- Panel launcher ---------- */
.launch{ display:grid; grid-template-columns:1fr; gap:18px; margin-top:20px; }
@media (min-width:880px){ .launch{ grid-template-columns:repeat(3,1fr); } }
.launch .card{ text-align:center; align-items:center; }
.launch .tile{ margin:2px auto 0; width:66px; height:66px; border-radius:20px; font-size:33px; }
.launch .name{ font-family:var(--fh); font-size:20px; font-weight:800; color:var(--navy); margin-top:13px; }
.launch .desc{ font-size:14px; color:var(--muted); line-height:1.55; margin-top:6px; }
.launch .btn-enter{ width:100%; margin-top:16px; }

/* ---------- Ajustes móviles ---------- */
@media (max-width:560px){
  .hero{ padding:26px 18px 24px; }
  .hero-badge{ width:54px; height:54px; border-radius:16px; font-size:27px; margin-bottom:11px; }
  .hero-cta .btn{ flex:1; }
  .brand .b2{ display:none; }
  nav.main a{ padding:8px 8px; font-size:13px; }
  .section{ padding:24px 14px 6px; }
  .client, .cta-final{ margin-left:14px; margin-right:14px; }
}
