:root {
  --color-primary: #2563eb;
  --color-secondary: #8b5cf6;
  --color-dark: #f8fafc;
  /* Light Background */
  --color-light: #0f172a;
  /* Dark Text */
  --color-white: #ffffff;
  --color-gray: #475569;
  /* Adjusted for light theme */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
}

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

a {
  text-decoration: none; /* Quita el subrayado */
  color: black; /* O el color que prefieras */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-dark);
  color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   BACKGROUND ANIMATION
   ============================================ */

.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  filter: blur(80px);
  animation: bgPulse 15s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar-new {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition);
}

.navbar-new.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-light);
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--color-light), rgba(15, 23, 42, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.navbar-link {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.7);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.navbar-link:hover {
  color: var(--color-primary);
}

.nav-portal {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.nav-portal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-new {
  padding: 10rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.7);
  /* Light theme overlay */
  z-index: -1;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--color-light);
}

.highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-gray);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.1));
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--color-light);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: var(--color-light);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-light);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--color-dark);
  transform: translateY(-2px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  padding: var(--spacing-xl) 0;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-light);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.icon-development {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.icon-training {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.icon-support {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.icon-consulting {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-light);
}

.service-title-link {
  color: inherit;
  text-decoration: none;
  transition: none;
}

.service-title-link:hover {
  color: inherit;
  text-decoration: none;
}

.service-description {
  color: var(--color-gray);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: var(--color-gray);
}

.service-features i {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
  padding: var(--spacing-xl) 0;
  background: rgba(248, 250, 252, 0.5);
  /* Very light gray */
}

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

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.google-icon {
  width: 24px;
  height: 24px;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-light);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-light);
}

.testimonial-date {
  color: var(--color-gray);
  font-size: 0.8125rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-light);
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--color-gray);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form-container {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-light);
}

.form-control {
  width: 100%;
  background: #f1f5f9;
  /* Light gray input */
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  color: var(--color-light);
  font-family: inherit;
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

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

.footer {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background: #60c7f0;
background: linear-gradient(0deg, rgba(96, 199, 240, 1) 0%, rgba(83, 237, 209, 1) 100%);
  margin-top: var(--spacing-xl);
  border-top: 1px solid var(--glass-border);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand h3 {
  color: var(--color-light);
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  color: var(--color-gray);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: var(--spacing-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-links h4 {
  color: var(--color-light);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-gray);
  text-decoration: none;
  transition: color var(--transition);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-link-plain {
  color: var(--color-gray) !important;
  text-decoration: none !important;
}

.footer-link-plain:hover {
  color: var(--color-gray) !important;
  text-decoration: none !important;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-new {
    padding: 0.75rem 0;
  }

  .navbar-container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .navbar-logo img {
    height: 32px;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-menu {
    gap: 1rem;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar-link {
    font-size: 0.8125rem;
  }

  .hero-new {
    padding: 4rem 0 2rem;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-top: 50px;
    margin-top: 50px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin: 0 auto 2rem;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-visual svg {
    width: 100%;
    height: auto;
  }

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

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

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