/* =========================================================
   PC Planet Importaciones - Estilos
   ========================================================= */

/* ---------- Colores y medidas (cámbielos aquí) ---------- */
:root {
  --navy: #0a1a3a;
  --navy-2: #12285a;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-soft: #e8efff;
  --accent: #0ea5e9;
  --success: #16a34a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --text: #0f172a;
  --muted: #5b6478;
  --line: #e3e8f0;
  --soft: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(10, 26, 58, .18);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Íconos de línea (SVG) */
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box--dark { background: rgba(255,255,255,.08); color: #7cc4ff; }
.icon-box--sm { width: 42px; height: 42px; border-radius: 10px; }
.icon-box--sm svg { width: 21px; height: 21px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary-soft); }
.btn--added { background: var(--success); border-color: var(--success); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: #e9eef8; }
.btn--whatsapp { background: var(--whatsapp); color: #06301a; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--whatsapp svg { stroke: none; }
.btn--large { padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 26, 58, .0);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(10, 26, 58, .96); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,.18); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--white); margin-right: auto; }
.logo__mark { width: 36px; height: 36px; color: #7cc4ff; stroke: none; }
.logo__mark ellipse { stroke: currentColor; }
.logo__text { font-weight: 800; font-size: 1.15rem; line-height: 1.05; letter-spacing: -.01em; }
.logo__text small { display: block; font-weight: 500; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); }

.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255,255,255,.82); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--white); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
}
.cart-btn:hover { background: rgba(255,255,255,.14); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
}
.cart-btn__count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  padding: 150px 0 100px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(10,26,58,.97) 0%, rgba(10,26,58,.88) 45%, rgba(18,40,90,.72) 100%),
    url("img/negocios/restaurante.jpg") center / cover no-repeat,
    var(--navy);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.hero p { font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stats strong { display: block; font-size: 1.2rem; }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.62); }

/* Panel ilustrativo */
.hero__visual { position: relative; }
.panel { padding: 22px; border-radius: 16px; background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); }
.panel__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 18px; }
.panel__status { padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .75rem; font-weight: 600; }
.panel__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.panel__kpis div { padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.panel__kpis small { display: block; color: var(--muted); font-size: .78rem; }
.panel__kpis b { font-size: 1.25rem; }
.panel__chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 4px 10px; border-bottom: 1px solid var(--line); }
.panel__chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent), var(--primary)); }
.panel__row { display: flex; justify-content: space-between; padding-top: 14px; font-size: .9rem; color: var(--muted); }
.panel__row b { color: var(--text); }

.sri-card {
  position: absolute;
  left: -34px;
  top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.sri-card svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #dcfce7; color: #15803d; stroke-width: 2.5; }
.sri-card b { display: block; font-size: .88rem; }
.sri-card small { color: var(--muted); font-size: .78rem; }

/* ---------- Franja de sectores ---------- */
.sectors { border-bottom: 1px solid var(--line); background: var(--white); }
.sectors__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-block: 20px; }
.sectors__inner > span { font-weight: 600; color: var(--muted); font-size: .9rem; }
.sectors ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sectors li { font-weight: 600; color: var(--navy); font-size: .95rem; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section--dark .eyebrow { color: #7cc4ff; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 12px; }
.section__head p { color: var(--muted); }
.section--dark .section__head p { color: rgba(255,255,255,.7); }

/* ---------- Opciones de compra ---------- */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.option:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.option h3 { font-size: 1.2rem; }
.option p { color: var(--muted); flex-grow: 1; }
.option__price { font-weight: 700; color: var(--navy); }
.option__link { color: var(--primary); font-weight: 600; }

/* ---------- Catálogo ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; overflow-x: auto; padding-bottom: 4px; }
.tab {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.tab:hover { color: var(--primary); border-color: var(--primary); }
.tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  animation: fadeIn .35s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product--featured { border: 2px solid var(--primary); }
.product__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.product__cat { margin: 16px 0 4px; color: var(--primary); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.product__desc { color: var(--muted); font-size: .92rem; }
.product ul { margin: 16px 0 20px; flex-grow: 1; }
.product li { position: relative; padding: 4px 0 4px 24px; font-size: .9rem; }
.product li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}
.product li.no::before { content: "×"; left: 3px; top: 2px; width: auto; height: auto; border: 0; transform: none; color: #dc2626; font-weight: 700; }
.product li.no { color: #b91c1c; }
.product__ideal { margin: -6px 0 18px; font-size: .86rem; color: var(--muted); }
.product__ideal b { color: var(--navy); }
.product__ask { font-size: 1.25rem !important; }
.bot__card li.no { color: #b91c1c; }
.bot__card li.no::before { content: "×"; color: #dc2626; }
.contact__list a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.product__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.product__price small { color: var(--muted); font-size: .85rem; }
.product__price strong { font-size: 1.75rem; color: var(--navy); letter-spacing: -.02em; }
.catalog__note { margin-top: 28px; text-align: center; color: var(--muted); font-size: .88rem; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Software ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature { padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.feature h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.feature p { color: rgba(255,255,255,.7); font-size: .94rem; }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.benefit { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.benefit h3 { font-size: 1.05rem; margin-bottom: 2px; }
.benefit p { color: var(--muted); font-size: .93rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact__info > p { color: var(--muted); margin-bottom: 28px; }
.contact__list { margin-bottom: 30px; }
.contact__list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact__list p { color: var(--muted); }
.contact__map { min-height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }

/* ---------- Pie ---------- */
.footer { padding: 28px 0; background: var(--navy); color: rgba(255,255,255,.65); font-size: .88rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(10, 26, 58, .5); }
.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .35s ease, visibility .35s;
}
.cart.open { transform: translateX(0); visibility: visible; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.25rem; margin: 0; }
.cart__close { width: 38px; height: 38px; border: 0; border-radius: 8px; background: var(--soft); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.cart__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart__empty { padding: 60px 0; text-align: center; color: var(--muted); }

.cart__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__item .icon-box { width: 44px; height: 44px; border-radius: 10px; }
.cart__item .icon-box svg { width: 22px; height: 22px; }
.cart__item h4 { font-size: .92rem; line-height: 1.3; }
.cart__item small { color: var(--muted); font-size: .8rem; }
.cart__item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart__item-right strong { font-size: .95rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; font-size: 1rem; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart__remove { border: 0; background: none; color: #b91c1c; font-size: .78rem; cursor: pointer; text-decoration: underline; }

.cart__form { display: grid; gap: 6px; margin-top: 22px; }
.cart__form h3 { font-size: 1rem; margin-bottom: 6px; }
.cart__form label { font-size: .84rem; font-weight: 600; }
.cart__form input, .cart__form select, .cart__form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 6px;
  border: 1px solid #cfd7e4;
  border-radius: 8px;
  font: inherit;
  font-size: .92rem;
  resize: vertical;
}
.cart__form input:focus, .cart__form select:focus, .cart__form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

.cart__foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--soft); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart__total span { color: var(--muted); }
.cart__total strong { font-size: 1.5rem; color: var(--navy); }
.cart__clear { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--muted); font-size: .85rem; cursor: pointer; text-decoration: underline; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: .92rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { stroke: none; }

/* ---------- Producto destacado en la portada ---------- */
.showcase {
  position: relative;
  padding: 26px 26px 0;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.showcase img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.showcase__info {
  display: grid;
  margin: 0 -26px;
  padding: 16px 26px 18px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  color: var(--text);
}
.showcase__info span { font-size: .85rem; color: var(--muted); }
.showcase__info strong { font-size: 2.1rem; line-height: 1.1; color: var(--navy); letter-spacing: -.02em; }
.showcase__info small { color: var(--muted); font-size: .8rem; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  padding-block: 22px;
}
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.trust svg { width: 26px; height: 26px; color: var(--primary); flex-shrink: 0; }

/* ---------- Tarjetas de planes por negocio ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.plan-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,58,.05) 20%, rgba(10,26,58,.92) 100%);
  transition: background .25s;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan-card:hover::before { background: linear-gradient(180deg, rgba(29,78,216,.25) 0%, rgba(10,26,58,.95) 100%); }
.plan-card__body { position: relative; display: grid; gap: 2px; padding: 20px; }
.plan-card b { font-size: 1.12rem; line-height: 1.25; }
.plan-card small { color: #a5d8ff; font-weight: 600; font-size: .9rem; }
.plan-card__cta { margin-top: 8px; font-size: .85rem; font-weight: 600; opacity: .85; }

/* ---------- Ventana del plan ---------- */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 26, 58, .6);
  backdrop-filter: blur(3px);
}
.plan-modal__box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  animation: fadeIn .25s ease;
}
.plan-modal__close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 12px 12px -52px 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.plan-modal__hero {
  padding: 90px 30px 28px;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.plan-modal__hero .eyebrow { color: #a5d8ff; margin-bottom: 4px; }
.plan-modal__hero h2 { margin-bottom: 6px; }
.plan-modal__hero p { color: rgba(255,255,255,.85); max-width: 560px; }
.plan-modal__body { padding: 24px 30px 30px; }
.plan-modal__body h3 { margin: 26px 0 12px; font-size: 1.05rem; color: var(--navy); }

.plan-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 20px; }
.plan-benefits li { position: relative; padding-left: 26px; font-size: .93rem; }
.plan-benefits li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 800; }

.plan-kit {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan-kit--main { border: 2px solid var(--primary); grid-template-columns: 220px 1fr; padding: 20px; }
.plan-kit > img { width: 100%; height: auto; border-radius: 10px; }
.plan-kit .product__img--icon { height: 110px; margin: 0; }
.plan-kit h4 { font-size: 1.02rem; margin-bottom: 4px; }
.plan-kit ul { margin: 6px 0 10px; }
.plan-kit li { position: relative; padding: 2px 0 2px 20px; font-size: .88rem; }
.plan-kit li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.plan-kit li.no { color: #b91c1c; }
.plan-kit li.no::before { content: "×"; color: #dc2626; }
.plan-kit__desc { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.plan-kit__buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.plan-kit__buy strong { font-size: 1.4rem; color: var(--navy); }
.plan-kit__buy small { color: var(--muted); font-size: .8rem; }
.plan-kit__buy .btn { margin-left: auto; padding: 9px 16px; font-size: .9rem; }
.plan-kit .product__tag { top: -11px; right: 16px; }
.plan-note { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: .88rem; text-align: center; }

/* ---------- Foto de producto en tarjetas ---------- */
.product__img {
  display: grid;
  place-items: center;
  height: 190px;
  margin: -26px -24px 4px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
  overflow: hidden;
}
.product__img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s; }
.product:hover .product__img img { transform: scale(1.04); }
.product__img--icon { background: var(--primary-soft); color: var(--primary); }
.product__img--icon svg { width: 64px; height: 64px; stroke-width: 1.4; }
.product--featured .product__img { margin: -26px -24px 4px; }

@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plan-card { min-height: 190px; }
  .plan-card__body { padding: 14px; }
  .plan-card b { font-size: .98rem; }
  .plan-card__cta { display: none; }
  .plan-modal { padding: 0; align-items: end; }
  .plan-modal__box { max-height: 94vh; max-height: 94dvh; border-radius: 18px 18px 0 0; }
  .plan-modal__hero { padding: 80px 20px 22px; }
  .plan-modal__body { padding: 18px 18px 26px; }
  .plan-kit, .plan-kit--main { grid-template-columns: 1fr; }
  .plan-kit > img { max-width: 260px; margin: 0 auto; }
  .trust__inner { justify-content: flex-start; }
  .trust li { width: 100%; }
}

/* ---------- Confirmación de pedido ---------- */
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.cart__secure { margin-top: 10px; text-align: center; color: var(--muted); font-size: .82rem; }
.cart__error { padding: 10px 12px; border-radius: 8px; background: #fef2f2; color: #991b1b; font-size: .86rem; }
.cart__error a { color: inherit; font-weight: 600; text-decoration: underline; }
.cart__success { padding: 40px 6px; text-align: center; }
.cart__success-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.cart__success-icon svg { width: 34px; height: 34px; stroke-width: 2.5; }
.cart__success h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cart__success p { color: var(--muted); margin-bottom: 10px; }
.cart__success p b { color: var(--text); }
.cart__success .btn { margin-top: 14px; }

/* ---------- Asistente de ventas (bot) ---------- */

/* Subido para no chocar con el sello "Powered by Netlify" de la esquina */
.bot-launcher {
  position: fixed;
  right: 20px;
  bottom: 68px;
  z-index: 130;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(29, 78, 216, .45);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.bot-launcher:hover { transform: scale(1.06); background: var(--primary-dark); }
.bot-launcher svg { width: 28px; height: 28px; }
.bot-launcher__close { display: none; }
.bot-launcher.is-open .bot-launcher__open { display: none; }
.bot-launcher.is-open .bot-launcher__close { display: block; }

.bot-hint {
  position: fixed;
  right: 90px;
  bottom: 78px;
  z-index: 130;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 12px 12px 2px 12px;
  background: var(--white);
  color: var(--text);
  font-size: .88rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.bot-hint.show { opacity: 1; pointer-events: auto; transform: none; }

.bot {
  position: fixed;
  right: 20px;
  bottom: 140px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: 370px;
  height: min(600px, calc(100vh - 170px));
  height: min(600px, calc(100dvh - 170px));
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  animation: fadeIn .25s ease;
}
body.bot-open .whatsapp-float { display: none; }

.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--white); }
.bot__head b { display: block; font-size: .95rem; }
.bot__head small { color: #86efac; font-size: .76rem; }
.bot__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #7cc4ff; }
.bot__avatar svg { width: 22px; height: 22px; }
.bot__restart { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; }
.bot__restart svg { width: 18px; height: 18px; }

.bot__messages { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px; overflow-y: auto; background: var(--soft); }
.bot__msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; animation: fadeIn .25s ease; }
.bot__msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bot__msg--user { align-self: flex-end; background: var(--primary); color: var(--white); border-bottom-right-radius: 4px; }
.bot__msg small { color: var(--muted); }

.bot__typing { display: flex; gap: 4px; padding: 13px 14px; }
.bot__typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa5b8; animation: typing 1s infinite; }
.bot__typing span:nth-child(2) { animation-delay: .15s; }
.bot__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.bot__card b { display: block; font-size: .98rem; color: var(--navy); }
.bot__card p { margin: 4px 0 6px; color: var(--muted); font-size: .85rem; }
.bot__card ul { margin-bottom: 8px; }
.bot__card li { position: relative; padding-left: 16px; font-size: .84rem; }
.bot__card li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.bot__price { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .88rem; }

.bot__options { display: flex; flex-wrap: wrap; gap: 6px; max-height: 42%; padding: 12px; overflow-y: auto; border-top: 1px solid var(--line); background: var(--white); }
.bot__options:empty { display: none; }
.bot__opt {
  padding: 8px 13px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.bot__opt:hover { background: var(--primary-soft); }
.bot__opt--main { background: var(--primary); color: var(--white); }
.bot__opt--main:hover { background: var(--primary-dark); }
.bot__opt--wa { border-color: var(--whatsapp); color: #12813f; }
.bot__opt--wa:hover { background: #e9fbef; }

@media (max-width: 520px) {
  .bot { right: 10px; left: 10px; width: auto; bottom: 136px; height: calc(100vh - 150px); height: calc(100dvh - 150px); }
  .bot-hint { right: 86px; }
  .toast { bottom: 150px; }
  /* Letra de 16px en los campos: evita que el iPhone agrande la página al escribir */
  .cart__form input, .cart__form select, .cart__form textarea { font-size: 16px; }
}

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Tablet y celular ---------- */
@media (max-width: 960px) {
  .hero__inner, .contact { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 90px; }
  .hero__visual { max-width: 460px; margin: 10px auto 0; width: 100%; }
  .sri-card { position: relative; left: auto; top: auto; bottom: auto; width: max-content; max-width: 100%; margin: -14px auto 0; }
}

@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .header { background: rgba(10, 26, 58, .96); }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(10, 26, 58, .98);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .section { padding: 72px 0; }
  .tabs { flex-wrap: wrap; overflow: visible; }
  .tab { padding: 9px 16px; font-size: .9rem; }
}

@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 22px; }
  .benefits { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .toast { bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo PC Planet ---------- */
.logo__img { display: block; height: 58px; width: auto; padding: 5px 12px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
@media (max-width: 520px) { .logo__img { height: 48px; padding: 4px 10px; } }
