/*=============================================
SCALAR LAS IMAGENES EN CARDS
=============================================*/

.scalar{
    position: relative;
    overflow: hidden;
}

.scalar img{
    max-width: 100%;
    -webkit-transition: all .5s ease;
}

.scalar:hover img{
    -webkit-transform: scale(1.1);
}

html,
body {
  height: 100%;
}

.loaderWrapper {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeLoader 0.6s 4s ease forwards;
}

.loader {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 999;
}
.loader .bar {
  width: 10px;
  height: 5px;
  background: #782ae3;
  margin: 2px;
  animation: bar 1s infinite linear;
}
.loader .bar:nth-child(1) {
  animation-delay: 0s;
}
.loader .bar:nth-child(2) {
  animation-delay: 0.25s;
}
.loader .bar:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes bar {
  0% {
    transform: scaleY(1) scaleX(0.5);
  }
  50% {
    transform: scaleY(10) scaleX(1);
  }
  100% {
    transform: scaleY(1) scaleX(0.5);
  }
}

@keyframes fadeLoader {
  to {
    opacity: 0;
  }
}

section.breadcrumb-area.post-after::after{
  content: '';
    position: absolute;
    background: rgb(15 25 38 / 81%);
    width: 100%;
    display: block;
    z-index: 1;
    min-height: 500px;
}

@media (max-width: 767px){
  section.breadcrumb-area.post-after::after {
      min-height: 400px;
      top: 0;
  }
}

section.breadcrumb-area .container {
    position: relative;
    z-index: 10;
}

i.icon.dripicons-align-right {
    color: #8b37ff;
}



/* ==============================================
 LOADER SKELETON ESTILO FACEBOOK
 ============================================== */
.skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  z-index: 99999;
  overflow-y: auto;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.skeleton-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skeleton-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Skeleton */
.skeleton-header {
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 0;
}

.skeleton-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.skeleton-logo {
  width: 150px;
  height: 40px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-menu {
  display: flex;
  gap: 20px;
}

.skeleton-menu-item {
  width: 80px;
  height: 15px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

/* Hero Skeleton */
.skeleton-hero {
  background: #ffffff;
  padding: 60px 0;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.skeleton-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.skeleton-hero-title {
  width: 80%;
  height: 35px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin: 0 auto 15px;
}

.skeleton-hero-text {
  width: 90%;
  height: 15px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin: 0 auto 10px;
}

.skeleton-hero-text:last-child {
  width: 70%;
}

.skeleton-hero-button {
  width: 150px;
  height: 45px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 25px;
  margin: 25px auto 0;
}

/* Services Skeleton */
.skeleton-section {
  background: #ffffff;
  padding: 40px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.skeleton-section-title {
  width: 250px;
  height: 25px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin: 0 auto 30px;
}

.skeleton-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skeleton-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
}

.skeleton-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 50%;
  margin: 0 auto 15px;
}

.skeleton-card-title {
  width: 70%;
  height: 18px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin: 0 auto 10px;
}

.skeleton-card-text {
  width: 90%;
  height: 12px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 3px;
  margin: 0 auto 8px;
}

.skeleton-card-text:last-child {
  width: 60%;
}

/* Blog Skeleton */
.skeleton-blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.skeleton-blog-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
}

.skeleton-blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-blog-content {
  padding: 20px;
}

.skeleton-blog-title {
  width: 85%;
  height: 18px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-blog-text {
  width: 95%;
  height: 12px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 3px;
  margin-bottom: 8px;
}

.skeleton-blog-text:last-child {
  width: 50%;
}

/* Footer Skeleton */
.skeleton-footer {
  background: #ffffff;
  padding: 40px 0;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.skeleton-footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.skeleton-footer-col {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.skeleton-footer-title {
  width: 60%;
  height: 18px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 15px;
}

.skeleton-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-footer-link {
  width: 80%;
  height: 12px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 3px;
}

.skeleton-footer-link:last-child {
  width: 50%;
}

/* Animación de brillo */
@keyframes shimmer {
  0% {
      background-position: -200% 0;
  }
  100% {
      background-position: 200% 0;
  }
}

/* Logo animado en el centro */
.skeleton-logo-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100000;
  text-align: center;
  transition: opacity 0.3s ease;
}

.skeleton-logo-center.fade-out {
  opacity: 0;
}

.skeleton-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #e0e0e0;
  border-top-color: #792be4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.skeleton-logo-text {
  color: #792be4;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}

/* ==============================================
 RESPONSIVE
 ============================================== */
@media (max-width: 991px) {
  .skeleton-cards,
  .skeleton-blog-cards {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .skeleton-cards,
  .skeleton-blog-cards,
  .skeleton-footer-content {
      grid-template-columns: 1fr;
  }

  .skeleton-menu {
      display: none;
  }

  .skeleton-hero {
      padding: 30px 0;
  }
}

/* ==============================================
 PORTAFOLIO
 ============================================== */
.portfolio-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(121, 43, 228, 0.2);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(121, 43, 228, 0.9), rgba(91, 48, 227, 0.9));
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.overlay-content .btn {
  background: #fff;
  color: #792be4;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.overlay-content .btn:hover {
  background: #792be4;
  color: #fff;
  transform: scale(1.05);
}

/* ==============================================
 ESTILOS SECCIÓN SERVICIOS
 ============================================== */
.services-area {
  position: relative;
  overflow: hidden;
}

.services-area .subtitle {
  display: inline-block;
  background: linear-gradient(135deg, #792be4, #5b30e3);
  color: #fff;
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.services-area .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 15px;
}

.services-area .section-title p {
  color: #636e72;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Tarjeta de Servicio */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 25px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #792be4, #5b30e3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(121, 43, 228, 0.15);
  border-color: rgba(121, 43, 228, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Icono del Servicio */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(121, 43, 228, 0.1), rgba(91, 48, 227, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #792be4, #5b30e3);
  transform: rotateY(360deg);
}

.service-icon i {
  font-size: 32px;
  color: #792be4;
  transition: color 0.4s ease;
}

.service-card:hover .service-icon i {
  color: #ffffff;
}

/* Contenido */
.service-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover .service-content h4 {
  color: #792be4;
}

.service-content p {
  color: #636e72;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-content p strong {
  color: #2d3436;
  font-weight: 600;
}

/* Tags de Tecnologías */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.service-tags span {
  background: linear-gradient(135deg, rgba(121, 43, 228, 0.08), rgba(91, 48, 227, 0.08));
  color: #792be4;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(121, 43, 228, 0.1);
}

.service-card:hover .service-tags span {
  background: #792be4;
  color: #fff;
  border-color: #792be4;
}

/* ==============================================
 RESPONSIVE
 ============================================== */
@media (max-width: 1200px) {
  .service-card {
      padding: 30px 20px;
  }
}

@media (max-width: 991px) {
  .services-area .section-title h2 {
      font-size: 2rem;
  }
  
  .service-icon {
      width: 70px;
      height: 70px;
  }
  
  .service-icon i {
      font-size: 28px;
  }
}

@media (max-width: 767px) {
  .services-area {
      padding: 50px 0;
  }
  
  .services-area .section-title h2 {
      font-size: 1.8rem;
  }
  
  .service-card {
      padding: 25px 20px;
      border-radius: 15px;
  }
  
  .service-content h4 {
      font-size: 1.2rem;
  }
  
  .service-content p {
      font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .service-card {
      margin-bottom: 20px;
  }
  
  .service-tags span {
      font-size: 0.75rem;
      padding: 4px 12px;
  }
}
