:root {
  --primary: #00f0ff;
  --primary-dark: #00a8ff;
  --secondary: #ff2d75;
  --dark: #0a0e17;
  --light: #ffffff;
  --gray: #8a8f98;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --section-spacing: 150px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

section {
  position: relative;
  overflow: hidden;
}

/* Particle Background */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.particle {
  position: absolute;
  background: rgba(0, 240, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}
/* Efecto de Constelación */
.constellation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
/* Nebulosa animada */
.nebula {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(0, 240, 255, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 45, 117, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(156, 39, 176, 0.1) 0%,
      transparent 40%
    );
  animation: nebulaPulse 30s infinite alternate;
}

/* Glow Effects */
.glow {
  text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

/* Header*/
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  transition: var(--transition);
}

header.scrolled {
  padding: 15px 0;
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 5px 30px rgba(0, 168, 255, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  margin-left: -1%;
}
.logo img {
  transition: transform 0.8s ease, color 0.8s ease;
  margin: 0 -10px 4px 0px;
}
.logo:hover img {
  transform: rotate(360deg) scale(1.2);
  color: var(--secondary);
}
.logo span {
  color: var(--primary);
  position: relative;
}

.logo span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.logo:hover span::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-right: -8%;
}

.nav-links a:not(.cta-button) {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-links > a:not(.cta-button)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:not(.cta-button):hover {
  color: var(--primary);
}

.nav-links > a:not(.cta-button):hover::before {
  width: 100%;
}

.nav-links .cta-button {
  padding: 7px 27px;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}
.nav-dropdown .dropdown-toggle svg {
  transition: transform 0.25s cubic-bezier(0.42, 0, 0.2, 1.38);
}
.nav-dropdown:focus-within .dropdown-toggle,
.nav-dropdown:hover .dropdown-toggle {
  color: var(--primary);
}
.nav-dropdown:focus-within .dropdown-toggle svg,
.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 14, 23, 0.97);
  border: 1px solid var(--primary);
  border-radius: 16px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.22s cubic-bezier(0.3, 1.4, 0.5, 1),
    transform 0.22s cubic-bezier(0.3, 1.4, 0.5, 1);
  z-index: 100;
}
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-dropdown .dropdown-menu li {
  list-style: none;
}
.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 14px 28px;
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
  border-radius: 8px;
  position: relative;
  padding-left: 38px;
}
.nav-dropdown .dropdown-menu a:hover,
.nav-dropdown .dropdown-menu a:focus {
  background: var(--primary);
  color: var(--dark);
  outline: none;
}
.nav-dropdown .dropdown-menu a:hover::before,
.nav-dropdown .dropdown-menu a:focus::before {
  background: var(--dark);
  opacity: 1;
}

.nav-dropdown .dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--primary, #00f0ff);
  border-radius: 50%;
  opacity: 0.7;
  transition: background 0.15s;
}

@media (max-width: 1024px) {
  .nav-dropdown {
    position: relative;
    width: 100%;
  }
  .nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 20;
    background: #10131b;
    border-radius: 0 0 12px 12px;
    min-width: 210px;
    width: 93vw;
    margin: 0 auto;
    box-shadow: 0 4px 24px 0 rgba(0, 240, 255, 0.1);
    padding: 7px 0 7px 0;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block !important;
    animation: dropdownSlideDown 0.17s cubic-bezier(0.42, 0, 0.2, 1.38);
  }
  .nav-dropdown .dropdown-menu li {
    list-style: none;
  }
  .nav-dropdown .dropdown-menu a {
    padding: 12px 24px;
    border-radius: 8px;
    width: 100%;
    display: block;
    text-align: left;
    font-size: 1rem;
    color: var(--light);
    transition: background 0.14s, color 0.14s;
    font-weight: 400;
    background: transparent;
    position: relative;
  }
  .nav-dropdown .dropdown-menu a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 20px;
    width: 4px;
    height: 4px;
    background: var(--primary, #00f0ff);
    border-radius: 50%;
    opacity: 0.37;
    display: inline-block;
  }
  .nav-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    color: var(--light) !important;
    padding-left: 20px !important;
  }

  .nav-dropdown {
    text-align: center;
  }

  .nav-dropdown .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .nav-dropdown.open .dropdown-toggle {
    border-bottom: 2px solid var(--primary, #00f0ff);
    display: inline-block;
    width: auto;
    color: var(--primary, #00f0ff) !important;
  }
  .nav-dropdown .dropdown-toggle .dropdown-arrow {
    transition: transform 0.22s cubic-bezier(0.4, 1, 0.6, 1);
    transform: rotate(0deg) !important;
  }
  .nav-dropdown.open .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg) !important;
  }

  @keyframes dropdownSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.cta-button {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
  text-decoration: none;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.6);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button.plan-cta {
  white-space: nowrap;
  overflow-x: auto;
  text-align: center;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .cta-button.plan-cta {
    padding: 10px 15px;
  }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  margin-left: 2%;
}

.language-switcher-mobile {
  margin-top: 6px;
}

/* Hero Section*/
.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.1) 0%,
    rgba(10, 14, 23, 0) 70%
  );
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 30px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.3s;
}

.hero p {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.9s;
}

.secondary-button {
  background: transparent;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.secondary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.secondary-button:hover {
  color: var(--dark);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

.secondary-button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-3d-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -25%;
  left: 10%;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.5));
  overflow: visible !important;
  transition: opacity 0.1s ease;
}
.hero-3d-container.is-loading {
  opacity: 0;
}

.hero-3d-container #webzone-3d {
  width: 150% !important;
  height: 150% !important;
}

.hero > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-video-mobile {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  pointer-events: none;
}

#hero-video-mobile::-webkit-media-text-track-display {
  display: none !important;
}
#hero-video-mobile::cue {
  color: transparent !important;
  background: transparent !important;
  text-shadow: none !important;
}

@media (max-width: 768px) {
  .hero-3d-container {
    filter: none !important;
  }
  .hero-3d-container canvas {
    display: none !important;
  }

  .hero-video-mobile {
    display: block !important;
    width: 100%;
    height: auto;
    max-height: 60svh;
    margin: 0 auto;
    object-fit: cover;
    -webkit-mask-image: radial-gradient(circle, white 30%, transparent 80%);
    mask-image: radial-gradient(circle, white 30%, transparent 80%);
  }
}
@supports (height: 100dvh) {
  @media (max-width: 768px) {
    .hero {
      height: 100dvh;
    }
    .hero-video-mobile {
      max-height: 60dvh;
    }
  }
}
@media (min-width: 426px) and (max-width: 768px) {
  .hero-video-mobile {
    display: block;
    margin: 0 auto;
    max-width: 380px;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero > .container {
    flex-direction: column;
  }
}

/* Servicios */
.services {
  padding: var(--section-spacing) 0;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0, 240, 255, 0.03)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(50px);
}

.section-title-about {
  margin-bottom: 0px;
}

.section-title.animated {
  animation: fadeInUp 1s forwards;
}

.section-title h2 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(361px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition);
  transform-style: preserve-3d;
  transform: translateZ(0);
  opacity: 0;
  transform: translateY(50px) rotateX(20deg);
}

.service-card.animated {
  animation: cardAppear 1s forwards;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 30px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--dark);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--light);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 16px;
}

.learn-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
}

.learn-more::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.learn-more:hover {
  gap: 15px;
}

.learn-more:hover::after {
  width: 100%;
}

/* Portfolio Teaser Section */
.portfolio-teaser {
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.portfolio-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0, 240, 255, 0.03)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Header */
.teaser-head {
  text-align: center;
  margin-bottom: 30px;
}

.teaser-head h2 {
  margin-bottom: 0px !important;
}

/* Botón CTA */
.btn {
  background: linear-gradient(45deg, #00f0ff, #00a8ff);
  color: #0a0e17;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.6);
}

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn.btn-primary i {
  display: inline-block;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn.btn-primary:hover i {
  transform: translate(4px);
}

/* Subtítulo */
.teaser-sub {
  color: #8a8f98;
  font-size: 18px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(40px);
}

.teaser-sub.animated {
  animation: fadeInUp 0.8s forwards;
}

/* Botón centrado */
.teaser-cta {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 60px;
}

/* Grid */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Cards */
.teaser-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  display: block;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

.teaser-card.animated {
  animation: scaleIn 0.8s forwards;
}

.teaser-card:nth-child(1) {
  animation-delay: 0.1s;
}
.teaser-card:nth-child(2) {
  animation-delay: 0.25s;
}
.teaser-card:nth-child(3) {
  animation-delay: 0.4s;
}

.teaser-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
}

/* Imágenes */
.teaser-card img {
  width: 100%;
  aspect-ratio:16/9;
  transition: transform 0.5s ease;
  object-fit: cover;
}



.teaser-card:hover img {
  transform: scale(1.05);
}

/* Meta */
.teaser-meta {
  padding: 30px;
}

.teaser-meta .tag {
  display: inline-block;
  background: rgba(0, 240, 255, 0.1);
  color: #00f0ff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.teaser-card:hover .tag {
  background: #00f0ff;
  color: #0a0e17;
}

.teaser-meta .title {
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.teaser-card:hover .title {
  color: #00f0ff;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.teaser-meta .sum {
  color: #8a8f98;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.teaser-card:hover .sum {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
  .teaser-head h2 {
    font-size: 36px;
  }

  .teaser-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .portfolio-teaser {
    padding: 100px 0;
  }

  .teaser-head h2 {
    font-size: 32px;
  }

  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .teaser-meta {
    padding: 25px;
  }

  .teaser-meta .title {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .teaser-head h2 {
    font-size: 28px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .teaser-meta {
    padding: 20px;
  }
}

/* Plans Section */
.plans {
  padding: var(--section-spacing) 0;
  position: relative;
  background: linear-gradient(to bottom, #0a0e17, #0c1120);
}

.plans::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 240, 255, 0.05) 0%,
    transparent 70%
  );
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.plan-card.featured {
  transform: translateY(-20px);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.2);
  border: 1px solid var(--primary);
}

.plan-card.featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 2;
}

/* ===== Plans: animación al scrollear ===== */
.plan-card {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.plan-card.animated {
  animation: planPop 0.8s ease-out forwards;
}

.plans-grid .plan-card:nth-child(1).animated {
  animation-delay: 0ms;
}
.plans-grid .plan-card:nth-child(2).animated {
  animation-delay: 180ms;
}
.plans-grid .plan-card:nth-child(3).animated {
  animation-delay: 360ms;
}

.plan-card.featured.animated {
  animation: planPopFeatured 0.9s ease-out forwards;
}

/* Keyframes */
@keyframes planPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes planPopFeatured {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1.03) translateY(-10px);
  }
}

.plan-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.plan-badge {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--primary);
  color: var(--dark);
  padding: 5px 30px;
  font-weight: 700;
  transform: rotate(45deg);
  font-size: 14px;
  z-index: 3;
}

.plan-header {
  padding: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.plan-header h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--plan-color);
  text-shadow: 0 0 10px var(--plan-color);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.plan-price span {
  color: var(--gray);
  font-size: 14px;
}

.plan-price h4 {
  font-size: 36px;
  color: var(--light);
  font-family: "Orbitron", sans-serif;
}

.plan-content {
  padding: 30px;
}

.plan-content p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 16px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--light);
  font-size: 15px;
}

.plan-features i {
  color: var(--plan-color);
  margin-top: 3px;
}

.plan-footer {
  margin-top: 30px;
}

.plan-footer p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
  font-style: italic;
}

.plan-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: var(--plan-color);
}

.plan-card:hover .plan-glow {
  opacity: 1;
}

.plan-card.featured:hover {
  transform: translateY(-30px);
}

/* Responsive */
@media (max-width: 992px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  .plan-header {
    padding: 20px;
  }

  .plan-content {
    padding: 20px;
  }

  .plan-price h4 {
    font-size: 28px;
  }
}

/* Sección Sobre Nosotros */
.about {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
}

.nebula-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(0, 112, 255, 0.15) 0%,
    transparent 50%
  );
  animation: nebula-pulse 15s infinite alternate;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Títulos */
.section-title h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title h2 span {
  color: var(--primary);
}

/* Sección superior (Misión y Visión) */
.top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.mission-box,
.vision-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.mission-box h3,
.vision-box h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission-box i,
.vision-box i {
  font-size: 1.3rem;
}

.mission-checklist {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
}

.mission-checklist li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.mission-checklist i {
  color: var(--primary);
}

/* Contenido principal*/

.about-image {
  flex: 1;
  position: relative;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.hexagon-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 0L93.3 25V75L50 100L6.7 75V25L50 0Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
  background-size: 60px 60px;
  z-index: 1;
  opacity: 0.5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.distortion-hover:hover img {
  transform: scale(1.05);
}

.glow-effect {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.3) 0%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: 0;
}

.values-section {
  flex: 1;
}

.values-section h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.value-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.value-icon {
  width: 50px;
  height: 50px;
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: white;
}

.value-item h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.value-item p {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.about {
  padding: var(--section-spacing) 0;
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1579389083078-4e7018379f7e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80")
    center/cover fixed;
  opacity: 0.1;
  z-index: -1;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-50px);
}

.about-image.animated {
  animation: fadeInLeft 1s forwards;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 240, 255, 0.3),
    rgba(255, 45, 117, 0.1)
  );
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 400px;
  display: block;
  transition: transform 5s ease;
}

.about-image:hover img {
  transform: scale(1.1);
}

.about-text {
  flex: 1;
  opacity: 0;
  transform: translateX(50px);
}

.about-text.animated {
  animation: fadeInRight 1s forwards;
}

.about-text h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--light);
}

.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 18px;
}

.about-features {
  margin-top: 40px;
}

/* About*/
.mission-box,
.vision-box {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}

.mission-box.animated {
  animation: fadeInUpScale 0.9s ease-out forwards;
}

.vision-box.animated {
  animation: fadeInUpScale 0.9s ease-out 0.15s forwards;
}

.values-section > h3 {
  opacity: 0;
  transform: translateY(24px);
}

.values-section > h3.animated {
  animation: fadeInUp 0.7s ease-out forwards;
  animation-delay: 60ms;
}

.value-item {
  opacity: 0;
  transform: scale(0.9);
}

.value-item.animated {
  animation: scaleInFade 0.6s ease-out forwards;
}

/* Keyframes */
@keyframes fadeInUpScale {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scaleInFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(0, 240, 255, 0.05);
  transform: translateX(10px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--light);
}

.feature-content p {
  margin-bottom: 0;
  font-size: 16px;
}
.features {
  padding: var(--section-spacing) 0;
  background: linear-gradient(to bottom, #0a0e17, #0c1120);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 240, 255, 0.05) 0%,
    transparent 70%
  );
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px 30px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: rotateY(180deg);
  background: var(--primary);
  color: var(--dark);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--light);
}

.feature-card p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
}

/* Features: cards */
.feature-card {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
}
.feature-card.animated {
  animation: fadeInUpScale 0.8s ease-out forwards;
}

.features-grid .feature-card:nth-child(1).animated {
  animation-delay: 0ms;
}
.features-grid .feature-card:nth-child(2).animated {
  animation-delay: 120ms;
}
.features-grid .feature-card:nth-child(3).animated {
  animation-delay: 240ms;
}
.features-grid .feature-card:nth-child(4).animated {
  animation-delay: 360ms;
}
.features-grid .feature-card:nth-child(5).animated {
  animation-delay: 480ms;
}
.features-grid .feature-card:nth-child(6).animated {
  animation-delay: 600ms;
}
.features-grid .feature-card:nth-child(7).animated {
  animation-delay: 720ms;
}
.features-grid .feature-card:nth-child(8).animated {
  animation-delay: 840ms;
}
.features-grid .feature-card:nth-child(9).animated {
  animation-delay: 960ms;
}

@keyframes fadeInUpScale {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Portfolio */
.portfolio {
  padding: var(--section-spacing) 0;
  position: relative;
}

.portfolio::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--dark), transparent);
  z-index: 2;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
  transform: scale(0.95);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item.animated {
  animation: scaleIn 0.8s forwards;
}

.portfolio-item:nth-child(1) {
  animation-delay: 0.1s;
}
.portfolio-item:nth-child(2) {
  animation-delay: 0.3s;
}
.portfolio-item:nth-child(3) {
  animation-delay: 0.5s;
}
.portfolio-item:nth-child(4) {
  animation-delay: 0.7s;
}
.portfolio-item:nth-child(5) {
  animation-delay: 0.9s;
}
.portfolio-item:nth-child(6) {
  animation-delay: 1.1s;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: scale(1);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-overlay h3 {
  color: var(--light);
  font-size: 24px;
  margin-bottom: 10px;
  transform: translateY(30px);
  transition: var(--transition);
}

.portfolio-overlay p {
  color: var(--gray);
  transform: translateY(30px);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  transition-delay: 0.1s;
}

.portfolio-overlay p {
  transition-delay: 0.2s;
}

/* Testimonials */
.testimonials {
  padding: var(--section-spacing) 0;
  background: linear-gradient(to bottom, var(--dark), #0c1120);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0, 240, 255, 0.03)" d="M0,100 L100,100 L100,0 Q50,20 0,0 Z"></path></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
}

.testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonials-slider {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 500px;
}

.testimonial {
  position: absolute;
  top: 7%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonial.active {
  opacity: 1;
  z-index: 2;
}

.testimonial-text {
  font-size: 24px;
  font-style: italic;
  margin-bottom: 40px;
  color: var(--light);
  position: relative;
  max-width: 800px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 60px;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -30px;
  left: -40px;
}

.testimonial-text::after {
  bottom: -60px;
  right: -40px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px var(--primary);
}

.author-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--light);
}

.author-role {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.testimonial-dot::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.testimonial-dot.active::before {
  opacity: 0.5;
  animation: pulseDot 2s infinite;
}

.testimonials-container {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
}
.testimonials-container.animated {
  animation: fadeInUpScale 0.8s ease-out forwards;
}

.testimonial {
  transform: translateY(10px) scale(0.98);
  filter: blur(2px);
}

.testimonial.active {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* FAQ Section */
.faq {
  padding: var(--section-spacing) 0;
  background: linear-gradient(to bottom, #0a0e17, #0c1120);
  position: relative;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 240, 255, 0.05) 0%,
    transparent 70%
  );
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
}

.faq-item {
  opacity: 0;
  transform: translateY(24px);
}
.faq-item.animated {
  animation: fadeInUp 0.7s ease-out forwards;
}

.faq-container .faq-item:nth-child(1).animated {
  animation-delay: 0ms;
}
.faq-container .faq-item:nth-child(2).animated {
  animation-delay: 100ms;
}
.faq-container .faq-item:nth-child(3).animated {
  animation-delay: 200ms;
}
.faq-container .faq-item:nth-child(4).animated {
  animation-delay: 300ms;
}
.faq-container .faq-item:nth-child(5).animated {
  animation-delay: 400ms;
}
.faq-container .faq-item:nth-child(6).animated {
  animation-delay: 500ms;
}
.faq-container .faq-item:nth-child(7).animated {
  animation-delay: 600ms;
}
.faq-container .faq-item:nth-child(8).animated {
  animation-delay: 700ms;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--light);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 25px;
}

.faq-answer.active {
  padding: 0 25px 25px;
}

.faq-answer p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.7;
}

.faq-list {
  margin: 15px 0;
  padding-left: 20px;
}

.faq-list li {
  margin-bottom: 10px;
  color: var(--gray);
  line-height: 1.6;
}

.faq-link {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

.faq-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-answer.active {
    padding: 0 20px 20px;
  }
}

/* Contacto*/
.contact {
  padding: var(--section-spacing) 0;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0, 240, 255, 0.03)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}

.contact-container {
  display: flex;
  gap: 80px;
}

.contact-info {
  flex: 1;
  opacity: 0;
  transform: translateX(-50px);
}

.contact-info.animated {
  animation: fadeInLeft 1s forwards;
}

.contact-info h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--light);
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 18px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(0, 240, 255, 0.05);
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
}

.contact-content h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--light);
}

.contact-content a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-content a:hover {
  color: var(--primary);
}

.contact-content p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.1);
  opacity: 0;
  transform: translateX(50px);
}

.contact-form.animated {
  animation: fadeInRight 1s forwards;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--light);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--light);
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.05);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: linear-gradient(to bottom, #0c1120, #05080f);
  padding: 100px 0 50px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary),
    transparent
  );
}

.footer-content {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-column {
  flex: 1;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  transition: transform 0.8s ease, color 0.8s ease;
  margin: 0 -10px 4px 0px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-about p {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 16px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 5%;
}
.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-decoration: none;
  font-size: 20px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--primary);
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--light);
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-input {
  flex: 1;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px 0 0 10px;
  color: var(--light);
  font-size: 16px;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-button {
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 0 25px;
  border-radius: 0 10px 10px 0;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray);
  font-size: 14px;
}
select.ts-hidden-accessible {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.form-group .ts-wrapper.focus .ts-control,
.form-group .ts-control:focus-within {
  outline: 0;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.form-group.has-error .ts-control,
.form-group:has(select.error) .ts-control {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

.form-group:has(select.success) .ts-control {
  border-color: var(--success) !important;
}

.form-group .ts-dropdown {
  background: var(--dark);
  color: var(--light);
}
.form-group .ts-dropdown .option {
  background: transparent;
  color: inherit;
}

.ts-wrapper {
  display: block;
}
.ts-control {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--light);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ts-control input {
  color: inherit;
  min-width: 80px;
}
.ts-dropdown {
  position: absolute;
  z-index: 50;
  width: 100%;
  background: #0e1117;
  color: #dbe3ea;
  border: 1px solid #2a2f3a;
  border-radius: 12px;
  margin-top: 6px;
  max-height: 260px;
  overflow: auto;
}
.ts-dropdown .option {
  padding: 8px 12px;
  cursor: pointer;
}
.ts-dropdown .active {
  background: #1a1f29;
}
#collabForm .ts-control.error {
  border-color: #ff4d4f !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.15);
}

.ts-control .fi,
.ts-dropdown .fi {
  margin-right: 0.5rem;
}

#collabForm .ts-wrapper.single .ts-control {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem;
}

#collabForm .ts-control .item {
  display: flex;
  align-items: center;
  margin-right: 0.25rem;
}

#collabForm .ts-dropdown .dropdown-input {
  padding: 6px 10px;
  border-bottom: 1px solid #2a2f3a;
}
#collabForm .ts-dropdown .dropdown-input > input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: inherit;
  font: inherit;
  padding: 6px 8px;
}

#collabForm .ts-control:has(.ts-placeholder) {
  gap: 0 !important;
}
#collabForm .ts-control:has(.ts-placeholder) .ts-placeholder {
  margin-left: 0 !important;
}

#collabForm .ts-control {
  position: relative;
}
#collabForm .ts-control::after {
  content: "";
  display: block;
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--light);
  border-bottom: 2px solid var(--light);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

#collabForm .ts-control[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-135deg);
}

#portfolioList .pf-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
#portfolioList .pf-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
#portfolioList .pf-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
#portfolioList .pf-btn.pf-remove {
  border-color: #ff4d4f;
  color: #ff4d4f;
}
.summary-details a {
  color: inherit;
  text-decoration: none;
}
.summary-details a:hover,
.summary-details a:focus {
  text-decoration: none;
}

/* Scroll Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 1000;
  transition: width 0.1s ease;
}
/* Botón Principal */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Efecto Hover */
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Tooltip (Texto emergente) */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  pointer-events: none;
}

/* Tooltip visible al hover */
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Responsive: Móvil */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 26px;
    bottom: 16px;
    right: 12px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 1348px) {
  .nav-links {
    gap: 23px;
    margin-right: -1%;
  }
  .language-switcher-mobile {
    margin-top: 1px;
  }
  .logo {
    font-size: 26px;
  }
  .nav-links .cta-button {
    padding: 7px 20px;
  }
  .hero h1 {
    font-size: 60px;
  }

  .hero-3d-container {
    left: 5%;
  }

  .about-content {
    gap: 50px;
  }

  .contact-container {
    gap: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }
  .logo {
    font-size: 25px;
  }
  .nav-links {
    gap: 1.2rem;
  }

  .nav-links .language-switcher {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .language-switcher-mobile {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
  }

  .lang-options a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 600;
  }

  .lang-options a:hover {
    color: #00f0ff;
  }

  .lang-divider {
    width: 40%;
    margin: 1.5rem auto 0.8rem;
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 992px) {
  :root {
    --section-spacing: 100px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero > .container {
    flex-direction: column;
  }
  .hero-3d-container {
    order: -1;
    position: relative;
    top: 0;
    left: 0 !important;
    transform: none !important;
    width: 100%;
    height: auto;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
  }
  .hero-3d-container #webzone-3d {
    width: 135%;
    height: 135%;
    margin: -5% 0 0 0;
  }

  .top-section {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-image,
  .about-text {
    flex: none;
    width: 100%;
    min-height: 200px;
  }
  .about-image img {
    height: auto;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: none;
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: auto;
  }
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero::before {
    display: none;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .about-text .intro-text {
    text-align: left;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonial {
    padding: 40px 30px;
  }

  .testimonial-text {
    font-size: 20px;
  }

  .footer-content {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-column {
    flex: 1 1 45%;
  }
}

@media (max-width: 576px) {
  :root {
    --section-spacing: 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-content {
    margin-bottom: 4rem;
  }
  .hero-3d-container #webzone-3d {
    width: 115% !important;
    height: 115% !important;
    margin: 5% 0 0 0 !important;
  }
  .logo,
  .footer-logo {
    font-size: 22px;
    margin-left: -5%;
  }
  .service-card,
  .portfolio-item {
    padding: 30px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .newsletter-button {
    border-radius: 10px;
    padding: 15px;
  }
}


@media (max-width: 375px) {
  .hero-content {
    margin-bottom: 2rem;
  }
}
@media (max-width: 360px) {
  .logo {
    font-size: 20px;
    margin-left: -9%;
  }
  .mobile-menu-btn {
    margin-left: 5%;
  }
}
@media (min-width: 1024px) {
  .lang-divider {
    display: none;
  }
}
/* Efecto de cursor personalizado */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}
/* SVG Filter para efecto de distorsión */
.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
@media (min-width: 1024px) and (max-width: 1440px) {
  body :not(header):not(footer) > .container,
  body :not(header):not(footer) .container {
    max-width: 1100px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    padding-top: 0;
  }
  .hero h1 {
    font-size: 56px;
    line-height: 1.15;
  }
  .hero p {
    font-size: 18px;
  }
  .hero-3d-container {
    left: auto;
  }
  .hero-3d-container #webzone-3d {
    width: 170% !important;
    height: 170% !important;
  }

  .section-title h2,
  .about-text h2 {
    font-size: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }
  .service-card {
    padding: 32px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
  }
  .plans-grid {
    gap: 24px;
  }
  .plan-price h4 {
    font-size: 32px;
  }
}

@media (min-width: 1080px) and (max-width: 1440px) {
  .plan-card:nth-of-type(2) .cta-button.plan-cta {
    left: -5% !important;
  }
}
@media (min-width: 1024px) and (max-width: 1080px) {
  .plan-card:nth-of-type(2) .cta-button.plan-cta {
    padding-left: 6%;
    padding-right: 6%;
    left: -3%;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .hero-3d-container #webzone-3d {
    width: 160% !important;
    height: 160% !important;
  }
  .logo {
    font-size: 20px;
  }
  .nav-links a {
    font-size: 15px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: auto;
  }

  .hero > .container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .hero-3d-container {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0px;
    filter: none !important;
    pointer-events: none;
    display: block !important;
  }

  .hero-video-mobile {
    display: block !important;
    width: 100%;
    height: auto;
    max-height: 60svh;
    margin: 0 auto;
    object-fit: cover;
    -webkit-mask-image: radial-gradient(
      circle at 50% 50%,
      white 30%,
      transparent 80%
    );
    mask-image: radial-gradient(circle at 50% 50%, white 30%, transparent 80%);
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px) {
    .hero {
      height: 100dvh;
    }
    .hero-video-mobile {
      max-height: 60dvh;
    }
  }
}
