/* Variables y fuentes */
:root {
  --color-bg-1: #0a0a0a;
  --color-bg-2: #1a1a1a;
  --color-surface-1: #1e1e1e;
  /*--color-surface-2: #2d2d2d;*/
  --color-surface-2: #2d2d2d88 ;
  --color-accent: #48e9b5;
  --color-accent-1: #8b5cf6;
  --color-accent-2: #a855f7;
  --color-accent-3: #9333ea;
  --color-secondary-1: #06b6d4;
  --color-highlight-1: #ec4899;
  --color-success-1: #10b981;
  --color-text-primary: #fff;
  --color-text-secondary: #a1a1aa;
  --color-text-muted: #71717a;
  --gradient-neon: linear-gradient(135deg, #48e9b5 0%, #46b2d6 50%, #2d225e 100%);
  --gradient-cosmic: linear-gradient(45deg, #1e1b4b 0%, #312e81 50%, #1e40af 100%);
  --gradient-vibrant: linear-gradient(90deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  --gradient-tech: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #48e9b5 0%, #46b2d6 50%, #2d225e 100%);
  --font-primary: system-ui, -apple-system, sans-serif;
  --font-heading: Inter, Helvetica, Arial, sans-serif;
  --font-mono: JetBrains Mono, Consolas, monospace;
  --radius: 12px;
  --transition: all 0.3s ease;
  --shadow-neon: 0 0 20px rgba(72, 233, 181, 0.9), 0 0 40px rgba(72, 233, 181, 0.9);
  --shadow-accent: 0 0 30px rgba(236, 72, 153, 0.4);
  --blur-backdrop: blur(10px);

  --border-width: 2px;
  --border-radius: 22px;


  --g3-1-x-position: 16.09375%;
  --g3-1-y-position: 33.12500000000001%;
  --g3-2-x-position: 48.55468750000001%;
  --g3-2-y-position: 9.648437500000002%;
  --g3-3-x-position: 78.6328125%;
  --g3-3-y-position: 79.8046875%;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  position: relative;
  background: var(--color-bg-1);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  /*height: 100vh;*/
  /*max-height: 100vh;*/
  background: var(--gradient-tech);
  box-sizing: border-box;
  padding-left: 48px;
}
.hero-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;   
    align-items: center;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.9;
}
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-surface-2);
  backdrop-filter: var(--blur-backdrop);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0;
}
.logo img {
  height: 100%;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--color-accent);
  background: rgba(139, 92, 246, 0.1);
}
/*.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}*/
/*.hero-content h1,
.hero-content p,
.hero-content .btn-primary {
  text-align: center;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  color: var(--color-text-secondary);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}*/
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    text-align: center;
}
.btn-primary {
  position: relative;
  background: linear-gradient(-45deg, #2d225e,  #46b2d6, #2d225e);
  background-size: 600%;
  color: #f3f4f6;
  border: none;
  box-shadow: 0 4px 24px rgba(44,62,80,0.08);
  font-weight: 700;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 1;
  overflow: hidden;
  animation: animeBtn 8s linear infinite;
  mix-blend-mode: difference;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25), 0 0px 1px #fff;
  align-content: center;
}

.btn:hover{
  transform: translateY(-5px) scale(1.05); /* 🚀 CRECE Y SUBE */
  box-shadow: 0 15px 35px rgba(72, 233, 181, 0.4); /* 💎 SOMBRA COLOR */
  filter: brightness(1.1); /* ✨ MÁS BRILLANTE */
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 8px;
  z-index: -1;
  background: linear-gradient(-45deg, #2d225e, #46b2d6, #2d225e);
  background-size: 600%;
  filter: blur(18px);
  opacity: 0.7;
  animation: animeBtn 8s linear infinite;
  transition: opacity 0.3s;
}

@keyframes animeBtn {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.btn-primary:hover {
  box-shadow: 0 15px 35px rgba(72, 233, 181, 0.4); 
  background: linear-gradient(-45deg, #48e9b5, #2d225e, #46b2d6, #48e9b5);
  color: #fff;
  /*box-shadow: 0 8px 32px rgba(44,62,80,0.12);*/
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 10px 22px;
}

.btn-gradient {
  display: flex;
  text-decoration: none;
  padding: 3px;
  background: linear-gradient(45deg, #48e9b5,  #46b2d6, #2d225e);
  border-radius: 50px;
  justify-content: center;
}

.btn-gradient span{
  display: block;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  border-radius: 40px;
} 

.btn-gradient-slider {
  background:  #2d225e;
}

/*.btn-gradient-hero {
  background:  linear-gradient(135deg, #0f172a 0%, #1e293b 100%);;
}*/


/*.btn-gradient a {
  display: block;
  padding: 13px 28px;
  border-radius: 48px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}*/

.btn-gradient:hover {
  /*transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);*/
  box-shadow: 0 15px 35px rgba(72, 233, 181, 0.4); 
  background: linear-gradient(-45deg, #48e9b5, #2d225e, #46b2d6, #48e9b5);
  color: #fff;
}

.btn-gradient:hover a {
  transform: scale(1.02);
}

/* Animación del gradiente */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
  /*background: linear-gradient(to right, 
  #0f172a 0%, 
  #1e293b 100%) padding-box,  linear-gradient(to right, 
#48e9b5, 
#2d225e, 
#46b2d6, 
#48e9b5);
  color: var(--color-white);
  border-radius: 50px;
  border: 4px solid transparent; 
  background-color: transparent !important;
}*/
/*.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: inherit; 
  border-radius: inherit;
  z-index: -1;
}*/

.btn-prueba {
  font-weight: bold;
  letter-spacing: 1px;
  color: #ddd;
  width: 120px;
  position: relative;
  background: linear-gradient(to right, orange, red),
    linear-gradient(to right, orange, red);
  background-position: var(--border-radius) 0, var(--border-radius) 100%;
  background-repeat: no-repeat;
  background-size: calc(100% - var(--border-radius) - var(--border-radius))
    var(--border-width);
  padding: 14px 24px;
  border-radius: var(--border-radius);
  border: none;
}

.btn-gradient:hover {
  background: linear-gradient(#2d225e99, #2d225e99) padding-box, linear-gradient(-45deg, #48e9b599, #2d225e99, #46b2d699, #48e9b599);
}

.btn-secondary:hover {
  background: var(--color-accent);
    color: var(--color-white);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 22px;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
}
.hero-image {
  /*margin-top: 2.5rem;*/
  display: flex;
  justify-content: center;
}
.hero-image img {
  position: relative;
  max-width: 100%;
  border-radius: var(--radius);
 /* box-shadow: var(--shadow-neon);*/
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(40px);
  will-change: transform;
  pointer-events: none;
}

.blob-1 {
  width: 400px; height: 400px;
  background: linear-gradient(135deg, #48e9b5 0%, #46b2d6 100%);
  left: 10%; top: 10%;
  animation: moveHorizontal 15s ease-in-out infinite;
}

.blob-2 {
  width: 400px; height: 400px;
  background: linear-gradient(135deg, #ff5770 0%, #6501de 100%);
  right: 5%; top: 30%;
  animation: moveVertical 15s linear infinite;
}

.blob-3 {
  width: 350px; height: 350px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  left: 50%; top: 60%;
  transform: translate(-50%, -50%);
  transition: left 0.2s, top 0.2s;
  animation: moveInCircle 10s linear infinite;
}

@-webkit-keyframes animateGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes animateGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes moveHorizontal {
  0% { transform: translateX(-50%) translateY(-10%);}
  50% { transform: translateX(50%) translateY(10%);}
  100% { transform: translateX(-50%) translateY(-10%);}
}

@keyframes moveInCircle {
  0% { transform: rotate(0deg);}
  50% { transform: rotate(180deg);}
  100% { transform: rotate(360deg);}
}

@keyframes moveVertical {
    0% { transform: translateY(-30%); }
    50% { transform: translateY(60%); }
    100% { transform: translateY(-30%); }
  }

/* Proceso */
.proceso {
  background: var(--color-bg-2);
  padding: 4rem 2rem;
  text-align: center;
}
.proceso h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-accent-1);
}
.proceso-pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.paso {
  background: var(--color-surface-1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.08);
  transition: var(--transition);
}
.paso:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.paso h3 {
  color: var(--color-accent-2);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.paso p {
  color: var(--color-text-secondary);
}

/* Aliados Slider */
.aliados {
  background: var(--color-surface-2);
  padding: 3rem 2rem;
  text-align: center;
}
.aliados h2 {
  color: var(--color-accent-1);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.slider {
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-track {
  display: flex;
  gap: 2.5rem;
  width: 100vw;
  max-width: 100vw;
  justify-content: space-between;
  /*animation: slider-move-full 25s linear infinite;*/
  box-sizing: border-box;
}
.slide {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide img {
  max-width: 120px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px #fff8);
  background: transparent;
}
@keyframes slider-move-full {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.slide img {
  height: 48px;
  filter: drop-shadow(0 0 10px #8b5cf6aa);
  border-radius: 8px;
  padding: 8px;
  transition: var(--transition);
}
/*.slide img:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-neon);
}*/ 

/* Portafolio */
.portafolio {
  background: var(--color-bg-1);
  padding: 4rem 2rem;
  text-align: center;
}
.portafolio h2 {
  color: var(--color-accent-1);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.proyectos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
  transition: var(--transition);
  text-align: left;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card h3 {
  color: var(--color-accent-2);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--color-text-secondary);
}


/* Contacto */


/*#gradient-canvas {
  width: 100%;
  height: 100%;
  --gradient-color-1: #a960ee;
  --gradient-color-2: #ff333d;
  --gradient-color-3: #90e0ff;
  --gradient-color-4: #ffcb57;
  z-index: 0;
}

/*.contacto-container {
  background: url('assets/stacked-steps-haikei\ \(2\).svg');
}*/

.gradient-background {
  position: relative;
  z-index: 1;
  padding: 48px 48px 362px;
  background: radial-gradient( 100% 100% at var(--g3-3-x-position) var(--g3-3-y-position), #2d225e -80%, transparent ), radial-gradient( 100% 100% at var(--g3-1-x-position) var(--g3-1-y-position), #48e9b5 -71%, transparent ), radial-gradient( 100% 100% at var(--g3-2-x-position) var(--g3-2-y-position), #46b2d6 -52%, transparent ), #2d225e;
  animation-name: g-3; 
  animation-iteration-count: infinite; 
  animation-duration: 6s; 
  transition-timing-function: ease-in;
}

.gradient-background-confirm {
  display: flex;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  z-index: 1;
  background: radial-gradient( 100% 100% at var(--g3-3-x-position) var(--g3-3-y-position), #2d225e -80%, transparent ), radial-gradient( 100% 100% at var(--g3-1-x-position) var(--g3-1-y-position), #48e9b5 -71%, transparent ), radial-gradient( 100% 100% at var(--g3-2-x-position) var(--g3-2-y-position), #46b2d6 -52%, transparent ), #2d225e;
  animation-name: g-3; 
  animation-iteration-count: infinite; 
  animation-duration: 6s; 
  transition-timing-function: ease-in;
}

.entry-label{
  width: 100%;
  text-align: left;
}

.formulario-recaptcha {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.confirm {
  background: rgba(255, 255, 255, 0.27);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.31);
  padding: 4rem 2rem;
  text-align: center;
  /* margin: 2rem auto; */
  width: 800px;
}
.text-confirm {
  font-size: 40px; 
  font-weight: 600; 
  margin: 0;
  line-height: 1;
}
.text-confirm-p {
  font-size: 20px; 
  font-weight: 400; 
  margin: 0;
  line-height: 1;
  padding-bottom: 32px;
  padding-top: 20px;
}

  @property --g3-1-x-position { syntax: "<percentage>"; inherits: false; initial-value: 16.09375%; }
  @property --g3-1-y-position { syntax: "<percentage>"; inherits: false; initial-value: 33.12500000000001%; } 
  @property --g3-2-x-position { syntax: "<percentage>"; inherits: false; initial-value: 48.55468750000001%; }
  @property --g3-2-y-position { syntax: "<percentage>"; inherits: false; initial-value: 9.648437500000002%; } 
  @property --g3-3-x-position { syntax: "<percentage>"; inherits: false; initial-value: 78.6328125%; } 
  @property --g3-3-y-position { syntax: "<percentage>"; inherits: false; initial-value: 79.8046875%; }

 
    @keyframes g-3 { 50% { --g3-1-x-position: 42.69531250000001%; --g3-1-y-position: 91.5625%; --g3-2-x-position: 91.7578125%; --g3-2-y-position: 33.046875%; --g3-3-x-position: 5.742187500000001%; --g3-3-y-position: 5.546875000000001%; } }

/*.gradient-background {
  background: linear-gradient(50deg,#d69047,#C4BFDE,#5b411d,#48e9b5);
  background-size: 240% 240%;
  animation: gradient-animation 24s ease infinite;
}*/

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.contacto {
  /* From https://css.glass */

  background: rgba(255, 255, 255, 0.27);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.31);
  padding: 4rem 2rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
}
.contacto h2 {
  color: var(--color-text-primary);
  font-size: 2rem;
  margin: 0;
} 

.contacto-span {
  color: #2d225e;
}
.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 800px;
  margin: 12px;
}
.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto select {
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
  border-radius: 8px;
  padding:  8px 1.2rem;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  resize: none;
  outline: none;
  /*transition: var(--transition);*/
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  /*backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);*/
}

.formulario-contacto select option {
  background-color:rgba(0, 0, 0, 0.1);
  color: #ffffff;
}
.formulario-contacto select option:checked {
  background-color: #2d225e;
  color: #ffffff;
}
.formulario-contacto select option[disabled] {
  color: rgba(255, 255, 255, 0.6);
}


.formulario-contacto input:focus,
.formulario-contacto textarea:focus,
.formulario-contacto select:focus {
  border: 2px solid rgba(255, 255, 255, 0.5);
  /*box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);*/
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px) scale(1.03); /* 🚀 AÚN MÁS GRANDE */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 
              0 0 30px rgba(255, 255, 255, 0.3);
}
.formulario-contacto button {
  margin-top: 0.5rem;
}


.formulario-input {
  display: flex;
  gap: 10px;
}

.formulario-label {
  display: flex;
  flex-grow: 1;
  gap: 4px;
  flex-basis: 50%;
  flex-direction: column;
  align-items: flex-start;
}

/* Footer */
.footer {
  z-index: 1;
  width: 100%;
  position: absolute;
  bottom: 0;
  color: var(--color-text-muted);
  text-align: center;
}
.footer-image {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  background-image: url(assets/Vector.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 100%;
  height: 200px;
  background-position: center 101%;
  bottom: auto;
  top: auto;
  right: auto;
  left: auto;
  pointer-events: none;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 75px;
    padding: 0;
    padding-left: 48px;
}
.footer-logo-container {
  background: #2d225e;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  padding-right: 48px;
  padding-bottom: 24px
}

.footer-logo-text p {
  text-align: right;
  margin: 0;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.footer-links {
  justify-content: center;
  display: flex;
  gap: 1.5rem;
  background: #2d225e;
  padding: 12px;
}
.footer-hr {
  width: 100%;
  border: 1px solid #48e9b5;
  margin: 0;
}
.footer-content-container {
  background: #2d225e;
  margin: 0;
  padding: 0 40px;
}
.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--color-accent-1);
}




/* Responsive */
@media (max-width: 1024px) {
  .hero {
    gap: 24px;
  }
    .hero-title {
      margin: 0;
        font-size: 2.5rem;
    }
    .hero-container {
      padding: 8rem 24px 0;
      position: relative;
      display: flex;
      flex-direction: column-reverse;
      gap: 24px;
      text-align: center;
    }
 /* .hero-content {
    padding: 0 0.5rem;
    gap: 1.5rem;
  }*/
  .hero-image {
   /* margin-top: 2rem;*/
    justify-content: center;
  }
  .header-nav {
    flex-direction: row;
    gap: 0;
    padding: 1rem 0.5rem;
  }
  .menu-toggle {
    display: flex !important;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    right: 0;
    background: var(--color-bg-2);
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    height: calc(100vh - 64px);
    box-shadow: -8px 0 24px rgba(139,92,246,0.08);
    transform: translateX(100%);
    transition: transform 0.3s;
    padding: 1.2rem 0.7rem;
    border-radius: 12px 0 0 12px;
    z-index: 1050;
    opacity: 0.98;
    margin: 0;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    margin-bottom: 1rem;
  }
  .nav-links a {
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
    width: 100%;
  }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
  .hero {
    padding: 8rem 0 0 0;
    gap: 24px;
  }
  .hero-cta {
    flex-direction: column;
    /*align-items: center;*/
}
  /*.hero-content {
    padding: 0 0.5rem;
    gap: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }*/
  .proceso-pasos, .proyectos {
    flex-direction: column;
    gap: 1.5rem;
  }
  .slider-track {
    gap: 1rem;
  }
  .footer-image {
    height: 85px !important;
  }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
  .hero {
    flex-direction: column;
    gap: 24px;
    /*justify-content: flex-start;*/
    /*align-items: center ;*/
    height: auto;
    min-height: 100vh;
    max-height: none;
    padding: 5rem 0 0 0
  }
  .hero-container {
    padding: 3rem 24px 
  }
  
  .split-slider {
    height: 100% !important;
    width: 100vw;
    min-height: 100vh;
    overflow: visible !important;
  }
  .split-slider-inner{
    overflow: visible  !important;
  }
  
  .split-slide {
    height: 100% !important;
    min-height: 100vh;
    flex-direction: column;
    display: flex;
  }
  
  .split-image {
    height: 40vh; /* Reducimos la altura de la imagen para dar más espacio al contenido */
    width: 100%;
    flex: 0 0 40vh;
    min-height: 40vh;
  }
  
  .split-image img {
    height: 500px !important;
    width: 100%;
    object-fit: cover;
  }
  
  .split-content {
    width: 100%;
    flex: 1;
    height: 60vh;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
  }
  
  .split-slider-controls {
    bottom: 0.5rem;
    right: 0.5rem !important;
    z-index: 50;
  }
  
  .split-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
  }
  
  .split-slider-indicators {
    top: 500px !important;
    gap: 0.6rem;
    flex-direction: column;
    z-index: 50;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }
  
  .indicator.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(72, 233, 181, 0.6);
  }
  
  .split-content {
    padding: 1.5rem 2rem;
    text-align: center;
    align-items: center;
  }
  
  .split-content h2 {
    text-align: left;
    align-self: flex-start;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .split-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  .formulario-input {
    flex-direction: column;
  }
  .formulario-contacto {
    margin: 0;
  }

  .contacto {
    margin: 0;
    padding: 24px;
  }
  .gradient-background {
    padding: 48px 24px 328px;
  }
  .footer-logo-container {
    flex-direction: column !important;
  }
  .footer-logo{
    display: flex;
    justify-content: space-evenly;
    padding-left: 0;
  }
  .footer-logo-container {
    align-items: center !important;
  }
  .footer-logo-text {
    padding-right: 0;
    padding-bottom: 12px;
    align-items: center;
  }

  .contacto h2 {
    line-height: 2.5rem;
  }
}
  
  /* Ajustes para pantallas desde 360px 
  @media  (max-width: 480px) {
    .split-slider {
      height: 100vh;
      min-height: 100vh;
      overflow: visible !important;
    }
    
    .split-slide {
      height: 100% !important;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      gap: 0;
      margin: 0;
      padding: 0;
    }
    
    .split-image {
      height: 35vh;
      flex: 0 0 35vh;
      min-height: 35vh;
      margin: 0;
      padding: 0;
    }
    
    .split-image img {
      height: 35vh !important;
      width: 100%;
      object-fit: cover;
      margin: 0;
      padding: 0;
    }
    
    .split-content {
      height: 65vh;
      min-height: 65vh;
      flex: 1;
      padding: 2rem 1.5rem;
      margin: 0;
      border-top: none;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      overflow: hidden;
    }
    
    .split-content h2 {
      font-size: 1.6rem;
      margin-bottom: 1rem;
    }
    
    .split-content p {
      font-size: 0.95rem;
      line-height: 1.5;
      margin-bottom: 1.5rem;
    }
    
    .split-content .btn {
      margin-top: auto;
      align-self: flex-start;
    }
    
    .split-slider-controls {
      bottom: 0.3rem;
      right: 0.3rem;
    }

    .split-slider-inner {
      overflow: visible !important;
    }

     
    .split-slider-btn {
      width: 35px;
      height: 35px;
      font-size: 1.2rem;
    }
    
    .split-slider-indicators {
      gap: 0.4rem;
    }
    
    .indicator {
      width: 6px;
      height: 6px;
    }  
}*/

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: var(--color-accent);
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
} 

.gradient-text {
    background: linear-gradient(135deg, #48e9b5 0%, #46b2d6 50%, #2d225e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.split-section {
  display: flex;
  align-items: stretch;
  min-height: 60vh;
  background: var(--color-bg-2);
  border-radius: 18px;
  overflow: hidden;
  margin: 4rem auto;
  max-width: 1100px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.10);
}
.split-image {
  flex: 0 0 50%;
  width: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  /*transition: transform 0.5s ease-in-out;*/
  transition: background 0.5s;
  height: 100vh; /* Asegura que cubra toda la altura de la pantalla */
}
.split-image img {
  width: 100%;
  height: 100vh; /* Asegura que la imagen cubra toda la altura de la pantalla */
  object-fit: cover;
  /*transition: transform 0.5s ease-in-out;*/
  transition: transform 1.2s cubic-bezier(.77,0,.18,1);
  border-radius: 0;
}
.split-section:hover .split-image img {
  transform: scale(1.06) rotate(-2deg);
}
.split-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: justify;
  padding: 4rem 8rem;
  background: transparent;
  transition: background 0.5s;
  opacity: 0.97;
  animation: fadeInUp 1.2s ease;
  max-width: 100%;
  overflow: hidden;
}
.split-content h2 {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin: 0;
  font-weight: 700;
  text-align: left;
  align-self: flex-start;
  width: 100%;
}
.split-content p {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* Efecto de desplazamiento */
.split-slider-inner:hover .section-up {
  transform: translateY(-100%); /* Sube al pasar el ratón */
}

.split-slider-inner:hover .section-down {
  transform: translateY(100%); /* Baja al pasar el ratón */
}


@media (max-width: 900px) {
  .split-section {
    flex-direction: column;
    min-height: 0;
    max-width: 98vw;
  }
  .split-image, .split-content {
    /*flex: 0 0 100%;*/
    width: 100%;
    min-height: 50vh; /* Cambia a altura relativa en móviles */
    padding: 0;
  }
  .split-content {
    padding: 48px;
    text-align: left;
    align-items: center;
  }
  
  .split-content h2 {
    text-align: left;
    align-self: flex-start;
  }
  
  .split-slider {
    height: 100vh;
    width: 100vw;
  }
  
  .split-slide {
    height: 100vh;
    flex-direction: column;
  }
  
  .split-slider-controls {
    bottom: 1rem;
    right: 1rem;
  }
  
  .split-slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
  
  .split-slider-indicators {
    gap: 0.8rem;
    flex-direction: row !important;
    transform: translate(-50%, -24%) !important;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

.split-slider {
  position: relative;
  /*width: 100vw;
  height: 100vh;*/
  margin: 0;
  background: #2d225e;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  height: 100vh;
  min-height: 100vh;
}
.split-slider-inner {
  position: relative;
  height: 100%;
}
/* Indicadores circulares */
.split-slider-indicators {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 30;
  pointer-events: none;
  /* Posicionamiento en la división entre imagen y texto */
  left: 50%;
  margin-left: 0;
  /* Ajuste fino para estar en la línea divisoria */
  transform: translate(10%, -50%);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.indicator:hover {
  background: rgba(72, 233, 181, 0.6);
  border-color: var(--color-accent);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(72, 233, 181, 0.5);
}

.split-slider-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
}
.split-slider-btn {
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.9;
  transition: color 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.split-slider-btn:hover {
  color: var(--color-accent-1);
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}
.split-slide {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100vh; /* Ajusta la altura para ocupar toda la pantalla */
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s cubic-bezier(.77,0,.18,1);
  gap: 0;
  margin: 0;
  padding: 0;
}

.split-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.split-slide.next {
  opacity: 0;
}

.split-slide.prev {
  opacity: 0;
}
/* Mejoras para el split slider */
.split-slider-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.split-image, .split-content {
  transition: transform 0.6s cubic-bezier(.77,0,.18,1);
}

/* Estados iniciales */
.split-slide .split-image {
  transform: translateY(0);
}

.split-slide .split-content {
  transform: translateY(0);
}

/* Animaciones para NEXT (siguiente) */
.split-slide.next .split-image {
  transform: translateY(-100%); /* La imagen sube */
}

.split-slide.next .split-content {
  transform: translateY(100%); /* El contenido baja */
}

/* Animaciones para PREV (anterior) */
.split-slide.prev .split-image {
  transform: translateY(100%); /* La imagen baja */
}

.split-slide.prev .split-content {
  transform: translateY(-100%); /* El contenido sube */
}

/* Efectos para el slide activo */
.split-slide.active .split-image {
  transform: scale(1.02);
}

.split-slide.active .split-content {
  transform: translateY(0);
}

.footer-logo-container {
  align-items: end;
}

/* Mejoras para móviles */
@media (max-width: 900px) {
  .split-slide.active .split-image {
    transform: scale(1.01);
  }
  
  /* En móviles, las animaciones son más sutiles */
  .split-slide.next .split-image {
    transform: translateY(-50%);
  }
  
  .split-slide.next .split-content {
    transform: translateY(50%);
  }
  
  .split-slide.prev .split-image {
    transform: translateY(50%);
  }
  
  .split-slide.prev .split-content {
    transform: translateY(-50%);
  }
}

/* Altura uniforme para inputs y selects del formulario */
.formulario-contacto input,
.formulario-contacto select {
  min-height: 44px;
}