/* =====================================================================
   ONLAB — paginas-web.css
   Estilos exclusivos de la landing paginas-web/. Se carga DESPUÉS de
   css/home.css y solo añade lo que la home no tiene.
   ===================================================================== */
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Hero */
.pw-price { display: inline-flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 20px; box-shadow: var(--sh-sm); margin-bottom: 28px; }
.pw-price__row { display: flex; align-items: baseline; gap: 8px; }
.pw-price__row small { color: var(--muted); font-weight: 500; }
.pw-price__row strong { font: 700 38px/1 var(--font-display); letter-spacing: -.03em; }
.pw-price__micro { font-size: 14px; color: var(--muted); max-width: 440px; }
.hero__note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 520px; }

/* Mockup navegador + celular */
.pw-visual { position: relative; padding: 10px 0 30px; }
.browser { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser__bar span { margin-left: 10px; flex: 1; background: var(--white); border-radius: 8px; font-size: 12px; color: var(--muted); padding: 4px 12px; }
.browser__body { padding: 22px; display: grid; gap: 16px; }
.browser__hero { display: grid; gap: 9px; }
.browser__hero .tag { width: 90px; height: 18px; border-radius: 999px; background: var(--aqua-50); border: 1px solid #c8f1fb; }
.browser__hero .h { height: 18px; width: 78%; border-radius: 6px; background: var(--navy); }
.browser__hero .h.s { width: 52%; }
.browser__hero .p { height: 8px; width: 90%; border-radius: 6px; background: var(--soft); }
.browser__hero .btns { display: flex; gap: 8px; margin-top: 6px; }
.browser__hero .btns b { height: 28px; width: 92px; border-radius: 999px; background: var(--aqua); }
.browser__hero .btns b + b { background: var(--soft); }
.browser__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.browser__cards div { height: 70px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.phone { position: absolute; right: -6px; bottom: 0; width: 120px; background: var(--white); border: 6px solid var(--ink); border-radius: 22px; padding: 12px 9px; box-shadow: var(--sh-md); display: grid; gap: 7px; }
.phone .h { height: 9px; width: 80%; border-radius: 5px; background: var(--navy); }
.phone .p { height: 6px; border-radius: 4px; background: var(--soft); }
.phone .b { height: 18px; border-radius: 999px; background: var(--aqua); }
.phone .c { height: 34px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.chipf { position: absolute; left: -10px; bottom: 12px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 10px; font-size: 13px; font-weight: 600; box-shadow: var(--sh-md); }
.chipf svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--wa); color: #fff; }

/* Oportunidad */
.points { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.point { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 18px; box-shadow: var(--sh-sm); }
.point svg { color: var(--aqua-600); margin-bottom: 12px; }
.point p { font-weight: 600; font-size: 15.5px; line-height: 1.4; }

/* Paquete / precio */
.pkg { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.pkg__main { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 38px 34px; position: relative; overflow: hidden; box-shadow: var(--sh-md); }
.pkg__main::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(33,212,253,.4), transparent); }
.pkg__main > * { position: relative; }
.pkg__tag { display: inline-block; font: 600 12px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); border: 1px solid rgba(33,212,253,.4); border-radius: 999px; padding: 7px 12px; margin-bottom: 18px; }
.pkg__main h3 { color: #fff; font-size: 26px; }
.pkg__amount { font: 700 52px/1.1 var(--font-display); letter-spacing: -.03em; margin: 10px 0 22px; }
.pkg__amount small { font: 500 16px/1 var(--font-ui); color: #9fb0c8; letter-spacing: 0; }
.pkg__main .checklist li { color: #dbe5f3; }
.pkg__main .checklist svg { color: var(--aqua); }
.pkg__actions { display: grid; gap: 12px; margin-top: 28px; }
.pkg__side { display: grid; gap: 18px; }
.note { display: flex; gap: 12px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--aqua); border-radius: var(--r-md); padding: 18px 20px; color: var(--ink-2); font-size: 15px; box-shadow: var(--sh-sm); }
.note svg { flex: none; margin-top: 2px; color: var(--aqua-600); }

/* Adicionales */
.addons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.addon { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--sh-sm); }
.addon span { display: block; font-weight: 600; margin-bottom: 4px; }
.addon em { font-style: normal; font-size: 14.5px; color: var(--aqua-700); font-weight: 600; }
.addon--price em { font: 700 20px/1.2 var(--font-display); color: var(--ink); }

/* Necesidades */
.needs { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.needs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); }
.needs__list li { display: flex; gap: 10px; color: var(--ink-2); }
.needs__list svg { flex: none; margin-top: 3px; color: var(--aqua-600); }
.needs__cta { background: var(--aqua-50); border: 1px solid #c8f1fb; border-radius: var(--r-lg); padding: 30px; }
.needs__cta h3 { font-size: 22px; margin-bottom: 10px; }
.needs__cta p { color: var(--ink-2); margin-bottom: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 500 24px/1 var(--font-display); color: var(--aqua-700); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: #9be6f8; }
.faq__body { padding: 0 22px 20px; color: var(--muted); }

@media (max-width: 1100px) {
  .points { grid-template-columns: repeat(3, 1fr); }
  .addons { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pkg, .needs { grid-template-columns: 1fr; }
  .pw-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) {
  .grid--4, .points, .needs__list { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr 1fr; }
  .pw-price__row strong { font-size: 32px; }
  .phone { width: 96px; right: 0; }
  .chipf { left: 0; }
  .pkg__main { padding: 30px 24px; }
  .needs__list, .needs__cta { padding: 24px; }
}

.section__head h2, .hero h1, .cta__box h2 { text-wrap: balance; }

/* Fase 3A */
.pkg__main::before { background: radial-gradient(closest-side, rgba(37,99,235,.5), transparent); }
.pkg__tag { color: #7fe3d6; border-color: rgba(127,227,214,.4); }
.pkg__main .checklist svg { color: #7fe3d6; }
.browser__hero .btns b { background: var(--primary); }
.browser__hero .tag, .browser__cards div { border-color: var(--border); }
.phone .b { background: var(--primary); }
.chipf { border-radius: 10px; }
.addon em { color: var(--primary); }
.addon--price em { color: var(--navy); }
.pw-price__row strong, .pkg__amount { }
.pw-price { border-radius: var(--r-md); }
.faq summary::after, .faq details[open] summary::after { color: var(--primary); }
.needs__cta { background: #eef4ff; border-color: #d6e4ff; }
.note { border-left-color: var(--accent); }

.nav__menu { gap: 8px; }
.nav__menu a { white-space: nowrap; }
.nav__menu .nav__cta { margin-left: 8px; }
@media (max-width: 1180px) and (min-width: 768px) { .nav__menu { font-size: 14px; gap: 2px; } .nav__menu a:not(.btn) { padding: 8px 9px; } .nav__menu .btn { padding: 11px 16px; } }
@media (max-width: 767px) { .nav__menu { gap: 0; } .nav__menu .nav__cta { margin-left: 0; } }
