/* ============================================================
   PAPELYTICS — ESTILO PREMIUM CORPORATIVO (OPTIMIZADO)
============================================================ */

/* -------------------- HERO -------------------- */
.pap-hero {
  padding: 150px 20px 110px;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 60%);
  position: relative;
  overflow: hidden;
}

.pap-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(111,126,255,0.18), transparent 70%);
  top: -120px;
  left: -80px;
  filter: blur(60px);
  pointer-events: none;
}

.pap-hero h1 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.pap-hero .accent {
  color: var(--accent);
}

.pap-hero .sub {
  max-width: 650px;
  font-size: 19px;
  opacity: 0.85;
  margin-top: 16px;
  line-height: 1.55;
}

/* -------------------- HERO MINI -------------------- */



/* ---------- HERO HOLOGRAM CARD ---------- */
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.holo {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 18px;
  padding: 22px;
  min-height: 300px;
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
}

.holo-img {
position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* llena ancho y alto */
  transform: translateZ(0);   /* ya no necesita sobresalir */
  opacity: .95;
  pointer-events: none;
}
.holo-img { z-index: 1; }
.holo-surface,
.holo-lines,
.holo-glow { z-index: 2; }





.pap-hero-mini {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
 
}


/* -------------------- HERO GRID (IMAGEN) -------------------- */
.pap-hero-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 45px;
  align-items: center;
  margin-top: 40px;
}

.pap-hero-img-box {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 55px 22px rgba(11,31,77,0.14);
  width: 100%;
  transform: scale(1.12);
  transition: 0.35s ease;
}

.pap-hero-img-box:hover {
  transform: scale(1.15);
}

.pap-hero-img {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
}

/* -------------------- TITULARES -------------------- */
.pap-title {
  font-size: 30px !important;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.pap-subtitle {
  margin: 25px 0 10px;
  font-size: 22px;
  font-weight: 800;
  opacity: 0.95;
}

.pap-mini-sub strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(108,78,226,0.25);
}

/* ============================================================
   GRID DE BENEFICIOS
============================================================ */
.pap-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.pap-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 16px 40px rgba(11,31,77,0.10);
  transition: 0.35s ease;
}

.pap-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 22px 55px rgba(20,20,40,0.14);
}

/* ============================================================
   VENTAJAS
============================================================ */
.pap-values {
  margin-top: 55px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.value-box {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 12px 36px rgba(11,31,77,0.09);
  transition: 0.35s ease;
}

.value-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(11,31,77,0.12);
}

/* ============================================================
   TARJETAS ULTRA COMPACTAS (UNIFICADO)
============================================================ */

/* GRID */
.pap-compact-grid,
.pap-benefit-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)) !important;
  gap: 6px !important;
  margin: 16px 0 20px !important;
}

/* MINI CARDS */
.pap-mini-card,
.pap-benefit,
.pap-plan-card {
  background: rgba(255,255,255,0.32) !important;
  backdrop-filter: blur(6px) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  padding: 8px 10px !important;
  min-height: 46px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03) !important;
  transition: 0.18s ease !important;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
}

.pap-mini-card h4,
.pap-benefit h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  margin-bottom: 1px !important;
}

.pap-mini-card p,
.pap-benefit p {
  font-size: 9.5px !important;
  opacity: 0.7 !important;
  line-height: 1.2 !important;
}

/* PLAN CARD */
.pap-plan-card {
  max-width: 240px !important;
  margin: 20px auto !important;
  padding: 14px !important;
}

.pap-plan-card ul li {
  margin-bottom: 2px !important;
  font-size: 10px !important;
  line-height: 1.22 !important;
}

.pap-price .promo {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: var(--accent);
}

/* CTA Plan */
.pap-plan-btn {
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  background: var(--accent);
  color: #fff;
  display: inline-block;
  margin-top: 8px;
}

/* ============================================================
   EFECTOS PREMIUM (UNIFICADO)
============================================================ */

.pap-mini-card:hover,
.pap-benefit:hover,
.pap-plan-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08) !important;
}

/* Brillo lateral */
.pap-mini-card::before,
.pap-benefit::before,
.pap-plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(108,78,226,0.28), transparent);
  opacity: 0;
  transition: opacity .45s ease;
  transform: skewX(-20deg);
}

.pap-mini-card:hover::before,
.pap-benefit:hover::before,
.pap-plan-card:hover::before {
  opacity: .22;
  animation: shineSweep 1.2s ease;
}

@keyframes shineSweep {
  from { transform: translateX(-60%) skewX(-20deg); }
  to   { transform: translateX(120%) skewX(-20deg); }
}

/* Borde glow */
.pap-mini-card::after,
.pap-benefit::after,
.pap-plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(108,78,226,0.35), rgba(255,255,255,0.1));
  opacity: 0;
  transition: opacity .32s ease;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
}

.pap-mini-card:hover::after,
.pap-benefit:hover::after,
.pap-plan-card:hover::after {
  opacity: 1;
}








/* ============================================================
   PLAN DE SERVICIOS — PREMIUM CORPORATIVO
   (Compatible con tu HTML sin cambios)
============================================================ */

.plan-box {
  max-width: 420px;
  margin: 40px auto;
  padding: 32px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);
  border-radius: 22px;

  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 18px 55px rgba(11,31,77,0.12);

  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Glow diagonal */
.plan-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.04),
    rgba(108,78,226,0.12)
  );
  pointer-events: none;
}

/* Hover premium */
.plan-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(11,31,77,0.18);
}

/* ---------------- TITLE ---------------- */
.plan-box h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--primary);
  letter-spacing: -0.4px;
  text-align: center;
}

/* ---------------- LISTA ---------------- */

.plan-box ul {
  padding-left: 0;
  margin: 0 0 20px 0;
  list-style: none;
}

.plan-box ul li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  opacity: 0.92;
}

/* ---------------- EXTRA ---------------- */

.plan-box .extra {
  margin: 18px 0;
}

.plan-box .extra p {
  font-size: 13.5px;
  opacity: 0.8;
  margin: 4px 0;
}

/* ---------------- PRICING ---------------- */

.plan-box .pricing {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.plan-box .regular {
  font-size: 14px;
  opacity: 0.65;
}

.plan-box .regular span {
  text-decoration: line-through;
}

.plan-box .promo {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

/* ---------------- BOTÓN ---------------- */

.plan-box .btn-cta {
  display: block;
  text-align: center;
  margin-top: 26px;

  padding: 14px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
  text-decoration: none;

  box-shadow: 0 12px 32px rgba(56,115,255,0.25);
  transition: 0.25s ease;
}

.plan-box .btn-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}












/* ============================================================
   🔵 BOTÓN WHATSAPP FLOTANTE PREMIUM
============================================================ */

.whatsapp-float {
  position:fixed;
  bottom:26px;
  right:26px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:linear-gradient(135deg,#25D366,#128C7E);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2000;
  box-shadow:
      0 8px 25px rgba(18,140,126,0.35),
      0 0 0 3px rgba(255,255,255,0.35);
  backdrop-filter:blur(6px);
  transition:transform .35s ease, box-shadow .35s ease;
  animation:waFloating 4s infinite ease-in-out;
}

.whatsapp-float img {
  width:32px;
  height:32px;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.whatsapp-float:hover {
  transform:scale(1.12) translateY(-4px);
  box-shadow:
      0 14px 35px rgba(18,140,126,0.45),
      0 0 0 4px rgba(255,255,255,0.45);
}

@keyframes waFloating {
  0% { transform:translateY(0); }
  50% { transform:translateY(-6px); }
  100% { transform:translateY(0); }
}

@media(max-width:600px){
  .whatsapp-float {
    width:56px;
    height:56px;
    bottom:20px;
    right:20px;
  }
  .whatsapp-float img {
    width:28px;
    height:28px;
  }
}








