/* ===========================================================
   SYSTEMINFORMATIC - PACK PYME (Diseño moderno corporativo)
   =========================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ⚠️ OVERRIDE: Anular el grid de WebSite X5 */
#imContent {
  display: block !important;
  grid-template: none !important;
  -ms-grid-columns: none !important;
  -ms-grid-rows: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#imContentGraphics {
  display: none !important;
}

/* Ocultar overlays gráficos huérfanos de celdas WX5 eliminadas (segundo menú) */
#imCellStyleGraphics_48,
#imCellStyleBorders_48 {
  display: none !important;
}

/* El contenedor del banner de cookies WX5 bloquea los clics en todo el contenido */
#bottom-alertbox-container {
  pointer-events: none !important;
}
#bottom-alertbox-container #cookie-law-message {
  pointer-events: auto !important;
}

/* El panel movil del segundo menu bloquea los clics cuando esta cerrado */
#in-second-menu .sm-mobile:not(.open) {
  pointer-events: none !important;
}
#in-second-menu .sm-mobile.open {
  pointer-events: auto !important;
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}

/* === CONTENEDOR PRINCIPAL === */
#pyme-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2d3436;
  line-height: 1.6;
}

.py-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.py-section {
  padding: 80px 0;
}

/* ===========================================================
   HERO
   =========================================================== */
.py-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(26,42,74,0.85) 50%, rgba(26,58,107,0.85) 100%), url('../images/large-932926.jpg') center center / cover no-repeat;
  padding: 100px 0 80px;
  overflow: hidden;
}

.py-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.py-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.py-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.py-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 16px;
}

.py-hero-title span {
  color: #4fc3f7;
}

.py-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 600px;
}

.py-hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.py-hero-stat-item {
  text-align: center;
}

.py-hero-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #4fc3f7;
  line-height: 1;
}

.py-hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.py-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.py-btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.py-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* ===========================================================
   SECTION HEADER
   =========================================================== */
.py-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.py-section-label {
  display: inline-block;
  background: rgba(26,115,232,0.1);
  color: #1a73e8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.py-section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 12px;
  line-height: 1.2;
}

.py-section-desc {
  font-size: 16px;
  color: #636e72;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===========================================================
   PLANES PRINCIPALES (Básica + Completa)
   =========================================================== */
.py-plans {
  background: #f8f9fa;
}

.py-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.py-plan-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.py-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: #1a73e8;
}

.py-plan-card.featured {
  border-color: #1a73e8;
  box-shadow: 0 8px 30px rgba(26,115,232,0.1);
  position: relative;
}

.py-plan-card.featured::before {
  content: '★ RECOMENDADO';
  position: absolute;
  top: 16px;
  right: 16px;
  background: #1a73e8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  z-index: 2;
}

.py-plan-header {
  padding: 32px 32px 0;
  text-align: center;
}

.py-plan-header img {
  max-width: 80%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.py-plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 8px;
}

.py-plan-price {
  font-size: 36px;
  font-weight: 800;
  color: #1a73e8;
  line-height: 1;
  margin: 0 0 4px;
}

.py-plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: #636e72;
}

.py-plan-detail {
  font-size: 14px;
  color: #636e72;
  margin: 0 0 20px;
}

.py-plan-body {
  padding: 24px 32px;
  flex: 1;
}

.py-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.py-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #2d3436;
  padding: 8px 0;
  border-bottom: 1px solid #f1f2f6;
}

.py-plan-features li:last-child {
  border-bottom: none;
}

.py-plan-features li::before {
  content: '✓';
  color: #00b894;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.py-plan-footer {
  padding: 0 32px 32px;
  text-align: center;
}

.py-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.py-btn-primary {
  background: #1a73e8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,115,232,0.35);
}

.py-btn-primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,115,232,0.4);
  color: #fff;
}

.py-btn-outline {
  background: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.py-btn-outline:hover {
  background: #1a73e8;
  color: #fff;
  transform: translateY(-2px);
}

.py-btn-small {
  padding: 10px 24px;
  font-size: 13px;
}

.py-btn-paypal {
  background: #ffc439;
  color: #003087;
  box-shadow: 0 4px 14px rgba(255,196,57,0.35);
}

.py-btn-paypal:hover {
  background: #f0b830;
  transform: translateY(-2px);
  color: #003087;
}

/* ===========================================================
   PLANS INTRO (texto informativo)
   =========================================================== */
.py-plans-intro {
  max-width: 800px;
  margin: -24px auto 48px;
  text-align: center;
  color: #636e72;
  font-size: 15px;
  line-height: 1.7;
}

.py-plans-intro p {
  margin: 0 0 16px;
}

.py-plans-intro strong {
  color: #1a73e8;
}

.py-plan-note {
  font-size: 12px;
  color: #b2bec3;
  margin: 16px 0 0;
  text-align: center;
}

.py-plan-service-note {
  font-size: 13px;
  color: #1a73e8;
  font-weight: 600;
  text-align: center;
  margin: 0 0 18px;
  padding: 8px 12px;
  background: rgba(26,115,232,0.06);
  border-radius: 8px;
}

.py-plan-conditions {
  margin: 20px 0 0;
  padding: 12px 16px;
  background: #fffbe6;
  border-radius: 8px;
  border: 1px solid #fff3cd;
}

.py-plan-conditions p {
  font-size: 12px;
  color: #856404;
  margin: 0 0 4px;
  line-height: 1.5;
}

.py-plan-conditions p:last-child {
  margin-bottom: 0;
}

/* ===========================================================
   PACKS LOW-COST (10h y 30h)
   =========================================================== */
.py-lowcost {
  background: #ffffff;
}

.py-lowcost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.py-lc-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.py-lc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: #1a73e8;
}

.py-lc-card.featured {
  border-color: #1a73e8;
  box-shadow: 0 8px 30px rgba(26,115,232,0.12);
  border-width: 2px;
}

.py-lc-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 26px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(26,115,232,0.4);
  z-index: 2;
  border: 2px solid rgba(255,255,255,0.3);
}

.py-lc-badge::before {
  content: '🏅';
  font-size: 16px;
  margin-right: 6px;
  display: inline-block;
}

.py-lc-card img {
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
}

.py-lc-title {
  font-size: 22px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 8px;
}

.py-lc-price {
  font-size: 32px;
  font-weight: 800;
  color: #1a73e8;
  margin: 0 0 4px;
}

.py-lc-price span {
  font-size: 14px;
  font-weight: 500;
  color: #636e72;
}

.py-lc-detail,
.py-lc-schedule {
  font-size: 14px;
  color: #636e72;
  margin: 0 0 20px;
  line-height: 1.6;
}

.py-lc-schedule {
  background: rgba(26,115,232,0.06);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.py-lc-schedule strong {
  color: #1a73e8;
}

.py-lc-features {
  text-align: left;
  margin: 0 0 20px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.py-lc-feat-title {
  font-size: 14px;
  font-weight: 600;
  color: #00b894;
  margin: 0 0 8px;
}

.py-lc-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.py-lc-features ul li {
  font-size: 13px;
  color: #2d3436;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.py-lc-features ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00b894;
  font-weight: 700;
  font-size: 13px;
}

.py-lc-conditions {
  text-align: left;
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #fffbe6;
  border-radius: 8px;
  border: 1px solid #fff3cd;
}

.py-lc-conditions p {
  font-size: 12px;
  color: #856404;
  margin: 0 0 4px;
  line-height: 1.5;
}

.py-lc-conditions p:last-child {
  margin-bottom: 0;
}

.py-lc-altprices {
  font-size: 13px;
  color: #636e72;
  margin: 0 0 16px;
  line-height: 1.5;
}

.py-lc-altprices strong {
  color: #1a73e8;
}

.py-lc-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}



.py-lc-sub {
  font-size: 12px;
  color: #636e72;
  margin-top: 12px;
}

/* ===========================================================
   EMAIL MARKETING
   =========================================================== */
.py-email {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  color: #fff;
}

.py-email .py-section-title {
  color: #fff;
}

.py-email .py-section-desc {
  color: rgba(255,255,255,0.7);
}

.py-email-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.py-email-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}

.py-email-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.py-email-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.py-email-info ul li::before {
  content: '✉';
  font-size: 16px;
  flex-shrink: 0;
}

.py-email-price {
  display: inline-block;
  background: rgba(255,193,7,0.15);
  color: #ffc107;
  font-size: 28px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.py-email-price span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,193,7,0.7);
}

.py-email-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.py-email-images img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.py-email-images .py-mail-image {
  max-width: 60%;
  margin: 0 auto;
  display: block;
  box-shadow: none;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.py-email-images .wide {
  grid-column: 1 / -1;
}

/* ===========================================================
   CTA FINAL
   =========================================================== */
.py-final-cta {
  background: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.py-final-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 16px;
}

.py-final-cta p {
  font-size: 16px;
  color: #636e72;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.py-final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.py-btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}

.py-btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  color: #fff;
}

.py-contact-phone {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
  margin-bottom: 4px;
}

.py-contact-phone:hover {
  color: #1557b0;
}

.py-contact-hours {
  font-size: 14px;
  color: #636e72;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .py-lowcost-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .py-section {
    padding: 60px 0;
  }
  .py-hero {
    padding: 80px 0 60px;
  }
  .py-plans-grid {
    grid-template-columns: 1fr;
  }
  .py-lowcost-grid {
    grid-template-columns: 1fr;
  }
  .py-email-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .py-email-images {
    order: -1;
  }
  .py-hero-stats {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .py-plan-header,
  .py-plan-body,
  .py-plan-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .py-lc-card {
    padding: 24px 20px;
  }
}
