.pe-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #f7f9fc;
  font-family: Arial, sans-serif;
}

.pe-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.pe-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16,34,65,0.65);
}

.pe-banner-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 650px;
}

.pe-banner-content span {
  background: #1F93A5;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 14px;
}

.pe-banner-content h1 {
  font-size: 56px;
  margin: 0 0 12px;
}

.pe-banner-content p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
}

.pe-container {
  max-width: 1400px;
  margin: auto;
  padding: 70px 20px;
}

.pe-intro {
  text-align: center;
  margin-bottom: 55px;
}

.pe-intro h2 {
  font-size: 36px;
  color: #213866;
  margin-bottom: 14px;
}

.pe-intro p {
  font-size: 18px;
  color: #596273;
  max-width: 850px;
  margin: auto;
  line-height: 1.8;
}

.pe-titulo-seccion {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
  color: #213866;
}

.pe-subtexto-ayuda {
  text-align: center;
  color: #596273;
  font-size: 16px;
  margin: 0 0 30px;
}

.pe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pe-card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border-top: 5px solid #1F93A5;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  cursor: pointer;
}

.pe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.pe-card h3 {
  color: #213866;
  font-size: 24px;
  margin: 0 0 12px;
}

.pe-card p {
  color: #596273;
  line-height: 1.7;
  margin: 0;
}

.pe-card-accion {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e5ebf2;
  color: #1F93A5;
  font-weight: 700;
  font-size: 15px;
}

.pe-icono-mano {
  font-size: 18px;
  line-height: 1;
}

.pe-card:hover .pe-card-accion {
  color: #213866;
}

.pe-cta {
  background:#213866;
  height:120px;
  border-radius:20px;
  margin-top:70px;
}

.pe-modal-servicio {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999999;
}

.pe-modal-servicio.active {
  display: flex;
}

.pe-modal-box {
  background: #fff;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
  position: relative;
}

.pe-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #213866;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.pe-modal-header {
  background: linear-gradient(135deg, #213866 0%, #2f4f8a 100%);
  color: #ffffff !important;
  padding: 34px 30px;
  border-radius: 24px 24px 0 0;
}

.pe-modal-header,
.pe-modal-header * {
  color: #ffffff !important;
}

.pe-modal-header h2 {
  margin: 0;
  font-size: 34px;
  padding-right: 50px;
  color: #ffffff !important;
  text-shadow: none;
}

.pe-modal-content {
  padding: 28px;
}

.pe-modal-bloque {
  margin-bottom: 26px;
  background: #f7f9fc;
  border-radius: 16px;
  padding: 22px;
}

.pe-modal-bloque h3 {
  margin: 0 0 10px;
  color: #213866;
  font-size: 22px;
}

.pe-modal-bloque p {
  margin: 0;
  color: #596273;
  line-height: 1.85;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .pe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pe-banner-content h1 {
    font-size: 44px;
  }

  .pe-banner-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .pe-banner {
    height: 360px;
  }

  .pe-banner-content {
    left: 5%;
    right: 5%;
    max-width: none;
  }

  .pe-banner-content h1 {
    font-size: 30px;
  }

  .pe-banner-content p {
    font-size: 16px;
  }

  .pe-container {
    padding: 50px 16px;
  }

  .pe-intro h2,
  .pe-titulo-seccion {
    font-size: 26px;
  }

  .pe-intro p,
  .pe-card p,
  .pe-modal-bloque p,
  .pe-subtexto-ayuda {
    font-size: 15px;
  }

  .pe-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pe-card {
    padding: 22px;
  }

  .pe-card h3 {
    font-size: 22px;
  }

  .pe-card-accion {
    font-size: 14px;
  }

  .pe-cta {
    padding: 38px 20px;
  }

  .pe-modal-header {
    padding: 24px 20px;
  }

  .pe-modal-header h2 {
    font-size: 26px;
  }

  .pe-modal-content {
    padding: 18px;
  }

  .pe-modal-bloque {
    padding: 18px;
  }

  .pe-modal-bloque h3 {
    font-size: 19px;
  }
}
