/* Línea decorativa rosada centrada solo para la sección de servicios */
.service-divider-pink {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fff 0%, #F195B2 50%, #fff 100%);
  border-radius: 2px;
  margin: 0 auto 18px auto;
  box-shadow: 0 2px 12px 0 #f195b255;
}
/* Service page styles extracted from core.css */

.owl-carousel .owl-nav {
  position: absolute;
  width: 135px;
  height: 60px;
  top: -110px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F195B2;
  background: #FFFFFF;
  border-radius: 60px;
  font-size: 30px;
}

.service-item .service-img {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 150px;
  z-index: 1;
}

.service-item .service-img::before {
  position: absolute;
  content: "";
  top: 15px;
  right: 0;
  bottom: -15px;
  left: 0;
  background: #0000ff;
  border-radius: 150px;
  z-index: -1;
}

.service-item .service-img img {
  transition: 1s;
}

.service-item:hover .service-img img {
  transform: rotate(360deg);
}

.testimonial-carousel .owl-item img {
  width: 80px;
  height: 80px;
  border-radius: 80px;
}

.testimonial-section {
  position: relative;
}

.testimonial-section .section-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-carousel {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 18px 14px;
}

.testimonial-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.testimonial-carousel .owl-item {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
  overflow: hidden;
  padding: 0;
}

.testimonial-carousel .testimonial-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 760px;
  min-height: 360px;
  margin: 0 auto;
  padding: 42px 38px 36px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(98, 195, 231, 0.18), transparent 24%),
    radial-gradient(circle at 86% 84%, rgba(241, 149, 178, 0.16), transparent 26%),
    linear-gradient(150deg, rgba(9, 22, 43, 0.96), rgba(6, 14, 27, 0.9));
  border: 1px solid rgba(126, 243, 255, 0.18);
  box-shadow:
    0 32px 84px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(126, 243, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.testimonial-carousel .testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 72%, rgba(98, 195, 231, 0.08)),
    repeating-linear-gradient(
      90deg,
      rgba(126, 243, 255, 0) 0px,
      rgba(126, 243, 255, 0) 21px,
      rgba(126, 243, 255, 0.04) 21px,
      rgba(126, 243, 255, 0.04) 22px
    );
  opacity: 0.9;
  pointer-events: none;
}

.testimonial-carousel .testimonial-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(126, 243, 255, 0.12);
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(126, 243, 255, 0.03);
}

.testimonial-carousel .testimonial-quote {
  position: relative;
  color: #8ce9ff !important;
  text-shadow: 0 0 18px rgba(98, 195, 231, 0.28);
}

.testimonial-carousel .testimonial-copy {
  position: relative;
  color: #ebf6ff !important;
  font-size: 1.34rem;
  line-height: 1.8;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.testimonial-carousel .testimonial-card img {
  position: relative;
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 6px rgba(98, 195, 231, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.24);
}

.testimonial-carousel .testimonial-client {
  position: relative;
  margin-top: 6px;
  font-size: 1.7rem;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

.testimonial-carousel .testimonial-role {
  position: relative;
  display: inline-block;
  margin-top: 6px;
  color: #90defe !important;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 8px;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  background: #F195B2;
}

.testimonial-carousel .owl-dot::after {
  position: absolute;
  content: "";
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  border: 2px solid #F195B2;
  border-radius: 20px;
}

.testimonial-carousel .owl-dot.active {
  background: #62C3E7;
}

/* Services page: modern security animation (between Testimonial and Footer) */
.services-security-stage {
  position: relative;
  width: 100%;
  min-height: 260px;
  display: flex;
  justify-content: center;
}

.services-security-stage .sss-grid {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(98, 195, 231, 0.16), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(241, 149, 178, 0.14), transparent 26%),
    linear-gradient(150deg, rgba(9, 22, 43, 0.92), rgba(6, 14, 27, 0.84));
  border: 1px solid rgba(126, 243, 255, 0.16);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(126, 243, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Futuristic HUD backdrop */
.services-security-stage .sss-grid::before {
  content: "";
  position: absolute;
  inset: 18px;
  background:
    radial-gradient(circle at 50% 55%, rgba(98, 195, 231, 0.22), rgba(98, 195, 231, 0) 62%),
    radial-gradient(circle at 42% 70%, rgba(241, 149, 178, 0.10), rgba(241, 149, 178, 0) 55%),
    repeating-linear-gradient(
      0deg,
      rgba(98, 195, 231, 0.00) 0px,
      rgba(98, 195, 231, 0.00) 18px,
      rgba(98, 195, 231, 0.08) 18px,
      rgba(98, 195, 231, 0.08) 19px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(98, 195, 231, 0.00) 0px,
      rgba(98, 195, 231, 0.00) 18px,
      rgba(241, 149, 178, 0.05) 18px,
      rgba(241, 149, 178, 0.05) 19px
    );
  opacity: 0.85;
  border: 1px solid rgba(126, 243, 255, 0.1);
  border-radius: 18px;
  box-shadow: inset 0 0 24px rgba(126, 243, 255, 0.03);
  pointer-events: none;
}

/* Sweeping light beam */
.services-security-stage .sss-grid::after {
  content: "";
  position: absolute;
  inset: 28px;
  transform: none;
  background: linear-gradient(110deg,
    rgba(241, 149, 178, 0) 0%,
    rgba(241, 149, 178, 0.06) 35%,
    rgba(98, 195, 231, 0.10) 50%,
    rgba(241, 149, 178, 0.06) 65%,
    rgba(241, 149, 178, 0) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.9;
  border-radius: 18px;
  pointer-events: none;
  animation: sssSweep 4.8s ease-in-out infinite;
}

.services-security-stage .sss-core {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 260px;
  overflow: visible;
  margin: 0 auto;
}

.services-security-stage .sss-core::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 50% 50%, rgba(98, 195, 231, 0.30), rgba(98, 195, 231, 0) 60%),
    radial-gradient(circle at 40% 62%, rgba(241, 149, 178, 0.16), rgba(241, 149, 178, 0) 58%);
  pointer-events: none;
}

.services-security-stage .sss-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 50%;
  background: rgba(98, 195, 231, 0.95);
  box-shadow:
    0 0 0 7px rgba(98, 195, 231, 0.10),
    0 0 34px rgba(98, 195, 231, 0.55),
    0 0 70px rgba(241, 149, 178, 0.18);
  animation: sssPulse 2.6s ease-in-out infinite;
}

.services-security-stage .sss-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  margin-left: -170px;
  margin-top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(98, 195, 231, 0.38);
  box-shadow:
    0 0 0 1px rgba(241, 149, 178, 0.10) inset,
    0 0 22px rgba(98, 195, 231, 0.08);
  opacity: 0.98;
}

.services-security-stage .sss-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: rgba(241, 149, 178, 0.90);
  box-shadow: 0 0 22px rgba(241, 149, 178, 0.40);
}

.services-security-stage .sss-orbit-1 { transform: rotate(10deg); animation: sssSpin 7.4s linear infinite; }
.services-security-stage .sss-orbit-2 { width: 270px; height: 270px; margin-left: -135px; margin-top: -135px; transform: rotate(-25deg); animation: sssSpinReverse 10.0s linear infinite; opacity: 0.92; }
.services-security-stage .sss-orbit-3 { width: 190px; height: 190px; margin-left: -95px; margin-top: -95px; transform: rotate(40deg); animation: sssSpin 13.2s linear infinite; opacity: 0.80; }

.services-security-stage .sss-shield {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 148px;
  margin-left: -64px;
  margin-top: -74px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(98, 195, 231, 0.18), rgba(98, 195, 231, 0.03));
  border: 1px solid rgba(98, 195, 231, 0.55);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(241, 149, 178, 0.12) inset,
    0 0 28px rgba(98, 195, 231, 0.10);
  clip-path: polygon(50% 0%, 88% 16%, 88% 56%, 50% 100%, 12% 56%, 12% 16%);
  overflow: hidden;
}

/* Holographic shine + subtle circuitry */
.services-security-stage .sss-shield::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(120deg,
    rgba(241, 149, 178, 0) 0%,
    rgba(241, 149, 178, 0.10) 35%,
    rgba(98, 195, 231, 0.22) 50%,
    rgba(241, 149, 178, 0.10) 65%,
    rgba(241, 149, 178, 0) 100%
  );
  transform: translateX(-30%) rotate(12deg);
  opacity: 0.85;
  animation: sssGlint 3.6s ease-in-out infinite;
}

.services-security-stage .sss-shield::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(98, 195, 231, 0.00) 0px,
      rgba(98, 195, 231, 0.00) 10px,
      rgba(98, 195, 231, 0.06) 10px,
      rgba(98, 195, 231, 0.06) 11px
    );
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.services-security-stage .sss-scan {
  position: absolute;
  left: -20%;
  top: 18%;
  width: 140%;
  height: 3px;
  background: linear-gradient(90deg, rgba(241, 149, 178, 0), rgba(241, 149, 178, 0.9), rgba(241, 149, 178, 0));
  box-shadow: 0 0 24px rgba(241, 149, 178, 0.38);
  animation: sssScan 2.4s ease-in-out infinite;
}

.services-security-stage .sss-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(98, 195, 231, 0.92);
  box-shadow: 0 0 22px rgba(98, 195, 231, 0.40);
  opacity: 0.95;
  animation: sssFloat 3.1s ease-in-out infinite;
}

.services-security-stage .sss-node-1 { left: 36px; top: 58px; animation-delay: 0.0s; }
.services-security-stage .sss-node-2 { right: 44px; top: 48px; animation-delay: 0.8s; }
.services-security-stage .sss-node-3 { left: 52px; bottom: 54px; animation-delay: 1.2s; }
.services-security-stage .sss-node-4 { right: 62px; bottom: 44px; animation-delay: 0.4s; }

.services-security-stage .sss-status {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: inline-block;
  text-align: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fefff;
  text-shadow:
    0 0 10px rgba(127, 239, 255, 0.34),
    0 1px 0 rgba(3, 12, 25, 0.65);
  background: linear-gradient(180deg, rgba(18, 34, 58, 0.92), rgba(10, 24, 43, 0.86));
  border: 1px solid rgba(127, 239, 255, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 10px 26px rgba(4, 15, 29, 0.34),
    0 0 20px rgba(127, 239, 255, 0.12);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  opacity: 0.96;
  animation: sssStatusBreath 2.6s ease-in-out infinite;
}

.services-security-stage .sss-status::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(110deg,
    rgba(241, 149, 178, 0.00) 0%,
    rgba(241, 149, 178, 0.00) 38%,
    rgba(98, 195, 231, 0.32) 50%,
    rgba(241, 149, 178, 0.00) 62%,
    rgba(241, 149, 178, 0.00) 100%
  );
  transform: translateX(-130%);
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: sssTextScan 2.4s ease-in-out infinite;
}

@keyframes sssPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes sssSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes sssSpinReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes sssScan {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(54px); opacity: 1; }
}

@keyframes sssFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.85; }
  50% { transform: translate3d(0, -8px, 0); opacity: 1; }
}

@keyframes sssSweep {
  0%, 100% { transform: translateX(-18px); opacity: 0.65; }
  50% { transform: translateX(18px); opacity: 0.95; }
}

@keyframes sssGlint {
  0%, 100% { transform: translateX(-36%) rotate(12deg); opacity: 0.55; }
  50% { transform: translateX(18%) rotate(12deg); opacity: 0.95; }
}

@keyframes sssTextScan {
  0%, 18% { transform: translateX(-130%); opacity: 0; }
  40% { opacity: 0.85; }
  60% { opacity: 0.85; }
  82%, 100% { transform: translateX(130%); opacity: 0; }
}

@keyframes sssStatusBreath {
  0%, 100% { opacity: 0.92; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-1px); }
}

@media (max-width: 420px) {
  .services-security-stage { min-height: 220px; }
  .services-security-stage .sss-grid { min-height: 220px; }
  .services-security-stage .sss-core { height: 220px; }

  .testimonial-carousel .testimonial-card {
    padding: 30px 22px 26px;
    border-radius: 20px;
    min-height: 320px;
  }

  .testimonial-carousel .testimonial-copy {
    font-size: 1.08rem;
    line-height: 1.7;
  }

  .testimonial-carousel .testimonial-client {
    font-size: 1.42rem;
  }

  .testimonial-carousel .testimonial-role {
    font-size: 0.78rem;
    letter-spacing: 0.13em;
  }

  .services-security-stage .sss-grid {
    padding: 18px 10px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-security-stage * {
    animation: none !important;
    transition: none !important;
  }
}
