/* FAQ acordeón animado */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.faq-item {
  border-radius: 12px;
  background: #232b2b;
  box-shadow: 0 2px 12px #00ff4133;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.open {
  box-shadow: 0 4px 24px #00ff4166;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #00ff41;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #1a1a1a;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #181c1f;
  color: #fff;
  padding: 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item.open .faq-answer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  max-height: 300px;
}
.plan-badge-premium[style*="a259e6"] {
  text-align: center;
  width: 100%;
  display: block;
}
/* ==== PLANES PREMIUM (NUEVA SECCIÓN) ==== */
.planes-premium {
  background: linear-gradient(120deg, #181c1f 60%, #232b2b 100%);
  padding: 6rem 0 5rem 0;
}
.planes-titulo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.planes-subtitulo {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}
.planes-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.plan-card-premium {
  background: linear-gradient(135deg, #232b2b 80%, #00ff4133 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid #00ff4140;
  position: relative;
  overflow: hidden;
}
.plan-card-premium.destacado {
  border: 2.5px solid var(--primary);
  box-shadow: 0 16px 40px 0 #00ff4133, 0 2px 8px 0 #0008;
  z-index: 2;
}
.plan-badge-premium {
  background: #00ff41;
  color: #181c1f;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 20px;
  padding: 0.3em 1.2em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px #00ff4133;
  display: inline-block;
}
.plan-badge-premium.destacado {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.plan-header-premium {
  text-align: center;
  margin-bottom: 1.2rem;
}
.plan-nombre {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.plan-precio-premium {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.plan-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}
.plan-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.plan-beneficios-premium {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem 0;
  width: 100%;
}
.plan-beneficios-premium li {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5em;
}
.plan-beneficios-premium li:before {
  content: '\2713';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 1.1em;
  top: 0.1em;
}

.btn-plan-premium {
  display: inline-block;
  background: var(--primary);
  color: #181c1f;
  font-weight: 700;
  padding: 0.8em 2.2em;
  border-radius: 30px;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 12px #00ff4133;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-plan-premium:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 24px #00ff4166;
}

/* Botón destacado (Plan Negocio Escalable) SIEMPRE blanco con texto verde, cambia a verde con texto blanco al pasar mouse */

/* ==== SERVICIOS ADICIONALES PREMIUM ==== */
.servicios-adicionales-premium {
  background: linear-gradient(120deg, #181c1f 60%, #232b2b 100%);
  padding: 5rem 0 4rem 0;
}
.adicionales-titulo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.adicionales-subtitulo {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.adicionales-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.adicional-card-premium {
  background: linear-gradient(135deg, #232b2b 80%, #00ff4133 100%);
  border-radius: 14px;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.18);
  padding: 1.8rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1.5px solid #00ff4140;
  position: relative;
  overflow: hidden;
}
.adicional-card-premium:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px 0 #00ff4133, 0 2px 8px 0 #0008;
  border-color: var(--primary);
}
.adicional-icono-premium {
  background: linear-gradient(135deg, #fff 60%, #00ff41 100%);
  border-radius: 30px;
  box-shadow: 0 0 0 8px #00ff4133, 0 4px 24px #00ff4133;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  width: 110px;
  transition: box-shadow 0.2s;
}
.adicional-icono-premium img {
  width: 80px !important;
  height: 80px !important;
  filter: drop-shadow(0 0 16px #00ff4166) drop-shadow(0 4px 16px #00ff4133);
  border-radius: 20px;
}
.adicional-nombre {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.adicional-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.adicional-precio {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: auto;
}
/* ==== PROCESO PREMIUM (NUEVA SECCIÓN) ==== */
.proceso-premium {
  background: linear-gradient(120deg, #181c1f 60%, #232b2b 100%);
  padding: 6rem 0 5rem 0;
}
.proceso-titulo {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.proceso-subtitulo {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.proceso-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.2rem;
  margin-top: 2rem;
}
.proceso-card-premium {
  background: linear-gradient(135deg, #232b2b 80%, #00ff4133 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1.5px solid #00ff4140;
  position: relative;
  overflow: hidden;
}
.proceso-card-premium:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px 0 #00ff4133, 0 2px 8px 0 #0008;
  border-color: var(--primary);
}
.proceso-icono-premium {
  background: #181c1f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #00ff4122;
  padding: 1rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
}
.proceso-icono-premium img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px #00ff4166);
}
.proceso-info-premium {
  text-align: center;
}
.proceso-numero {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}
.proceso-nombre {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.proceso-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
/* ==== SERVICIOS PREMIUM (NUEVA SECCIÓN) ==== */
.servicios-premium {
  background: linear-gradient(120deg, #181c1f 60%, #232b2b 100%);
  padding: 6rem 0 5rem 0;
}
.servicios-titulo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.servicios-subtitulo {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}
.servicios-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.servicio-card-premium {
  background: linear-gradient(135deg, #232b2b 80%, #00ff4133 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid #00ff4140;
  position: relative;
  overflow: hidden;
}
.servicio-card-premium:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 40px 0 #00ff4133, 0 2px 8px 0 #0008;
  border-color: var(--primary);
}
.servicio-icono-premium {
  background: #181c1f;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #00ff4122;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 90px;
}
.servicio-icono-premium img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 12px #00ff4166);
}
.servicio-info-premium {
  text-align: center;
}
.servicio-nombre {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.servicio-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.servicio-beneficios {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.servicio-beneficios li {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5em;
}
.servicio-beneficios li:before {
  content: '\2713';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 1.1em;
  top: 0.1em;
}
.btn-servicio {
  display: inline-block;
  background: var(--primary);
  color: #181c1f;
  font-weight: 700;
  padding: 0.8em 2.2em;
  border-radius: 30px;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 12px #00ff4133;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-servicio:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 24px #00ff4166;
}
/* ==== VARIABLES ==== */
:root {
  --bg-color: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --primary: #00ff41;
  --secondary: #ffffff;
  --accent: #cccccc;
  --text-muted: #b8b8b8;
  --font-main: 'Inter', sans-serif;
  --glow-primary: 0 0 20px var(--primary);
  --glow-strong: 0 0 30px var(--primary), 0 0 40px var(--primary);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--secondary);
  line-height: 1.6;
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ==== TYPOGRAPHY ==== */
h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: 'Poppins', var(--font-main);
}

/* ==== GRADIENT TEXT EFFECT ==== */
.gradient-text {
  background: linear-gradient(45deg, #00ff41, #ffffff, #00ff41);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite, fadeInUp 1.2s ease-out forwards;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.3));
  opacity: 0;
  transform: translateY(30px);
  /* Fallback para navegadores que no soportan background-clip */
  color: var(--primary);
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==== UTILITY CLASSES ==== */
.underline-green {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

/* ==== HEADER ==== */
header {
  background: rgba(26, 26, 26, 0.475);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

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

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-menu a {
  padding: 10px 20px;
  text-transform: uppercase;
.clientes-frase {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem auto 0 auto;
  max-width: 480px;
  background: linear-gradient(120deg, #00ff41 0%, #00ddeb 100%);
  color: #181818;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,255,65,0.12);
  padding: 1.2rem 2rem;
  text-align: center;
  letter-spacing: 0.5px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.clientes-frase:hover {
  box-shadow: 0 16px 48px rgba(0,255,65,0.22);
  transform: scale(1.04);
}
  box-shadow: transparent;
  border: 1px solid #ffffff80;
  transition: 0.5s ease;
  user-select: none;
  text-decoration: none;
  display: inline-block;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary);
  text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;
  box-shadow: 0 0 5px var(--primary), 0 0 20px var(--primary), 0 0 50px var(--primary),
    0 0 100px var(--primary);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-color);
  box-shadow: var(--glow-primary);
}

/* ==== HERO ==== */
#hero {
  padding: 8rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Video de fondo para index.html */
#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Imagen de fondo para las demás páginas */
body:not(.home-page) #hero {
  background-image: url('img/Hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contenedor de botones del hero */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  line-height: 1;
}

/* Card animada con ondas para hero */
.hero-card {
  margin: 2rem 0;
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0, 255, 65, 0.45);
  position: relative;
  width: 320px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
}

.hero-card .wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.4;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg, #00ff41, #00ddeb 60%, #5b42f3);
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.hero-card.playing .wave {
  border-radius: 40%;
  animation: wave 3000ms infinite linear;
}

.hero-card .wave:nth-child(2),
.hero-card .wave:nth-child(3) {
  top: 210px;
}

.hero-card.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}

.hero-card .wave:nth-child(2) {
  animation-duration: 50s;
}

.hero-card.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

.hero-card .wave:nth-child(3) {
  animation-duration: 45s;
}

.hero-card .card-content {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  font-weight: 600;
  z-index: 10;
  padding: 1.2rem;
  width: 90%;
}

.hero-card .card-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-align: justify;
}

.hero-card .card-content p {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.3px;
}

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

/* ==== Botón WhatsApp (hero) ==== */
.hero-buttons .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(37, 211, 102, 0.6);
  color: #ffffff;
  background: rgba(37, 211, 102, 0.1);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-buttons .btn-whatsapp .icon {
  width: 20px;
  height: 20px;
  color: #25D366;
}

.hero-buttons .btn-whatsapp:hover,
.hero-buttons .btn-whatsapp:focus {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.35);
}

.hero-icons-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.icon-3d {
  position: absolute;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 12px var(--primary));
  opacity: 0.95;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.icon-html {
  top: 4%;
  left: 78%;
  animation-name: float1;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
.icon-css {
  top: 40%;
  left: 85%;
  animation-name: float2;
  animation-direction: alternate-reverse;
  animation-timing-function: ease-in;
}
.icon-js {
  top: 12%;
  left: 92%;
  animation-name: float3;
  animation-direction: normal;
  animation-timing-function: linear;
}
.icon-figma {
  top: 28%;
  left: 82%;
  animation-name: float4;
  animation-direction: reverse;
  animation-timing-function: ease-out;
}
.icon-react {
  top: 18%;
  left: 88%;
  animation-name: float5;
  animation-direction: alternate-reverse;
  animation-timing-function: cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-30px) scale(1.1) rotate(10deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(25px) scale(1.08) rotate(-8deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-20px) scale(1.12) rotate(12deg); }
}
@keyframes float4 {
  0%, 100% { transform: translateY(180) scale(3) rotate(90deg); }
  50% { transform: translateY(18px) scale(1.5) rotate(-6deg); }
}
@keyframes float5 {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-82px) scale(2.09) rotate(12deg); }
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.3);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  text-align: left;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.price-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--bg-color);
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  box-shadow: var(--glow-primary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg-color);
  box-shadow: var(--glow-primary);
}

.hero-image {
  position: relative;
  text-align: center;
}

.glow-effect {
  position: relative;
  display: inline-block;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.3));
}

/* ==== SECTIONS ==== */
section {
  padding: 5rem 0;
}

/* ==== SERVICIOS PRINCIPALES ==== */
#servicios-principales {
  background: var(--bg-color);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
  border-color: var(--primary);
}

.service-image {
  margin-bottom: 1.5rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img {
  max-height: 100%;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.3s ease;
}

.service-card:hover .service-image img {
  filter: grayscale(0%) brightness(1);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: auto;
}

.service-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ==== PORTAFOLIO DESTACADO ==== */
#portafolio-destacado {
  background: var(--bg-color);
}

.featured-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.featured-project {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.featured-project:hover {
  transform: translateY(-5px);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.featured-project:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: var(--secondary);
}

.project-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.project-overlay p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==== CTA FINAL ==== */
#cta-final {
  background: var(--bg-secondary);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==== BENEFICIOS ==== */
#beneficios {
  background: var(--bg-color);
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
/* Animated Gradient Wave Card Styles */
.wave-card {
  position: relative;
  background: #181818;
  border-radius: 18px;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.wave-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(0,255,65,0.22);
}
.wave-bg {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120%;
  height: 120%;
  z-index: 0;
  border-radius: 40%;
  opacity: 0.45;
  filter: blur(18px);
  animation: waveGradient 6s linear infinite;
}
.wave-blue { background: linear-gradient(120deg, #2b5caa 0%, #4bb3d3 100%); }
.wave-green { background: linear-gradient(120deg, #7bb661 0%, #00ff41 100%); }
.wave-cyan { background: linear-gradient(120deg, #4bb3d3 0%, #00ddeb 100%); }
.wave-orange { background: linear-gradient(120deg, #ff7f50 0%, #ffd966 100%); }
.wave-lime { background: linear-gradient(120deg, #b6e34e 0%, #00ff41 100%); }
.wave-yellow { background: linear-gradient(120deg, #ffd966 0%, #ffb347 100%); }
@keyframes waveGradient {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
  100% { transform: rotate(0deg) scale(1); }
}
.wave-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wave-card h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
  z-index: 2;
}
.wave-card p {
  color: #f3f3f3;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.12);
  z-index: 2;
}

.benefit-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 65, 0.15);
  border-color: rgba(0, 255, 65, 0.3);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 65, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.benefit-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) saturate(100%) invert(84%) sepia(84%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}

.benefit-content h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==== CLIENTES ==== */
#clientes {
  background: var(--bg-color);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.3s ease;
}

.client-logo img {
  max-width: 120px;
  max-height: 60px;
    filter: none;
  transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: none;
  transform: scale(1.05);
}

/* ==== FOOTER ==== */

footer {
  background: transparent;
  padding: 0;
  margin-top: 3rem;
  border: none;
}

.footer-animated-bg {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 1rem;
  background: radial-gradient(circle at 60% 40%, #1a237e 0%, #111 80%);
  animation: footerRadial 8s ease-in-out infinite alternate;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@keyframes footerRadial {
  0% {
    background-position: 60% 40%;
    background-size: 120% 120%;
  }
  100% {
    background-position: 40% 60%;
    background-size: 140% 140%;
  }
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}


.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s, transform 0.3s;
  position: relative;
  display: inline-block;
}
/* Efecto de subrayado animado */
.footer-nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  transform: translateY(-4px) scale(1.08);
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.footer-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer-social {
  display: flex;
  gap: 1rem;
}


.footer-social a.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1), background 0.3s;
  will-change: transform;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.footer-social a.social-icon:hover, .footer-social a.social-icon:focus {
  background: var(--primary);
  transform: scale(1.18) rotate(-8deg) translateY(-6px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}


.footer-copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.7s cubic-bezier(.4,2,.6,1);
}
.footer-copy:hover, .footer-copy:focus {
  color: var(--primary);
}

/* ==== WHATSAPP flotante (esquina) ==== */
.btn-whatsapp.floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-primary);
  transition: all 0.3s ease;
  z-index: 1000;
}

.btn-whatsapp.floating:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-strong);
}

.btn-whatsapp.floating img {
  width: 30px;
  height: 30px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-visual-container {
    height: 350px;
  }
  
  .laptop {
    width: 240px;
    height: 160px;
    transform: rotateY(0deg) rotateX(5deg) translateZ(0px);
  }
  
  .pc-monitor {
    width: 200px;
    height: 130px;
    transform: rotateY(0deg) rotateX(0deg) translateZ(-30px) translateX(80px) translateY(-20px);
  }
  
  .smartphone {
    width: 90px;
    height: 180px;
    transform: rotateY(0deg) rotateX(0deg) translateZ(20px) translateX(-80px) translateY(30px);
  }
  
  .tablet {
    width: 160px;
    height: 110px;
    transform: rotateY(0deg) rotateX(0deg) translateZ(-10px) translateX(60px) translateY(80px);
  }
  
  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-2x2 {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .featured-portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    display: none;
  }
  
  /* Mostrar menú en móviles como botones apilados */
  .nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu.mobile-active a {
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding: 12px 16px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}
