/* style.css */

:root {
  --primary-color: #0082f5;
  --secondary-color: #bfd13c;
  --tertiary-color: #174284;
  --text-color: #202020;
  --subtext-color: #444;
  --background-color: #ffffff;

  --light-bg: #f9fafc;
  --card-bg: #f1f4f7;
  --hover-color: #0082f5;
  --shadow-color: rgba(0, 0, 0, 0.1);

  --font-body: 'Roboto';
  --font-size-base: 0.8rem;
  --font-size-small: 0.85rem;
  --font-size-medium: 1.25rem;
  --font-size-large: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.5rem;
  --font-size-hero: 3rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 3rem;
  --border-radius-sm: 3px;
  --border-radius-md: 5px;
  --border-radius-lg: 8px;
  --border-radius-xl: 10px;
  --container-width: 95%;
  --container-max-width: 1200px;
  --z-index-low: 1;
  --z-index-medium: 10;
  --z-index-high: 100 --font-size-base: 1rem;

  --primary-light: rgba(0, 130, 245, 0.1);
  --secondary-light: rgba(191, 209, 60, 0.1);
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);

  --background-primary: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --background-secondary: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --background-tertiary: linear-gradient(120deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
}

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color)
}

.gradient-text {
  background: radial-gradient(circle, var(--primary-color) 0%, var(--secondary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  line-height: 1
}

.logo {
  display: block
}

.logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nav-cta {
  background-color: var(--primary-color);
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px;
  transition: background-color 0.3s ease !important
}

.nav-links a.nav-cta::after {
  display: none
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  left: 0;
  background-color: var(--text-color);
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--spacing-md) 0;
  overflow: hidden !important;
}
.nav-container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--spacing-md) 0 0 0;
  overflow: hidden !important;

}

.container p {
  color: var(--subtext-color)
}

.bg-white {
  background-color: var(--background-color)
}

.hero {
  padding-top: 0px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center
}

.hero h1 {
  font-size: var(--font-size-hero);
  margin-bottom: var(--spacing-md);
  font-weight: 500
}

.hero p {
  font-size: var(--font-size-large);
  color: var(--subtext-color);
  margin: 0 auto var(--spacing-xl);
  max-width: 700px
}


section h2 {
  font-size: var(--font-size-xl);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  text-align: center;
  color: var(--text-color)
}

section p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--subtext-color);
  font-size: var(--font-size-medium)
}

.benefits {
  padding: var(--spacing-lg) 0;
  text-align: center
}

#contacto,
#demo,
#presentacion,
#catalogo,
#reunion,
#verticales,
#documentos {
  scroll-margin-top: 80px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-cta:hover {
  background-color: var(--tertiary-color);
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--shadow-color);
}

.bg-gray {
  background-color: var(--light-bg);
}

.section-intro {
  text-align: center;
  font-size: var(--font-size-medium);
  margin: 0 auto var(--spacing-xl);
  max-width: 800px;
}

.benefit-columns {
  display: flex;
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
  gap: 1.8em;
  flex-direction: row;
  justify-content: center;
}


.icon {
  font-size: var(--font-size-xl);
  margin: var(--spacing-sm) 0;
}



.clientes {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: white;

}

.clientes-logos-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 5rem;
}

.equipo-logos-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--spacing-md) 0;
}

.equipo-logos {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 30s linear infinite;
  gap: var(--spacing-md);
}

.clientes-logos img {
  max-width: 100%;
  height: auto;
  margin: 0 var(--spacing-xl);
  opacity: 0.9;
  transition: opacity var(--transition-normal);
}

.clientes-logos img:hover {
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
  padding: 20px;
  justify-content: center;
  width: 100%;
}

.tech-card {
  background-color: white;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 130, 245, 0.08), 0 10px 20px rgba(0, 0, 0, 0.03);

}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0, 130, 245, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.08);
}

.tech-content {
  padding: 12px;
  width: 100%;
}

.tech-card h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.tech-card .icon {
  font-size: 20px;
}

.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}


.download-link {
  display: inline-flex;
  align-items: center;
  margin: 0.3rem 0.5rem;
  padding: 0.3rem 0.5rem;
  background-color: none;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-weight: 500;
  border: 1px solid var(--secondary-color);
}

.download-icon {
  color: var(--secondary-color);
}

.download-link i {
  margin-right: 8px;
}

.download-link:hover {
  background-color: var(--tertiary-color);
  text-decoration: none;
  color: white;
}

.faq-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 4px var(--shadow-color);
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: var(--z-index-low);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  font-size: var(--font-size-medium);
}


.faq-toggle:checked+.faq-header::after {
  content: '−';
}

.faq-content {
  max-height: 0;
  padding: 0 var(--spacing-md);
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  background-color: var(--card-bg);
}

.faq-toggle:checked~.faq-content {
  max-height: 200px;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-md);
}

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

.contact-form {
  max-width: 500px;
  margin: var(--spacing-md) auto;
  text-align: left;
}
.contact-info {
  display:flex; 
  justify-content:center; 
  gap:40px; 
  margin:60px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--spacing-sm);
  margin: var(--spacing-xs) 0 var(--spacing-sm);
  border: 1px solid var(--subtext-color);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
}

.contact-form input[type="submit"] {
  background-color: var(--text-color);
  color: var(--background-color);
  border: none;
  padding: var(--spacing-sm) var(--spacing-xl);
  cursor: pointer;
  font-size: var(--font-size-base);
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-normal);
}

.contact-form input[type="submit"]:hover {
  background-color: var(--hover-color);
}

.footer {
  font-size: var(--font-size-small);
  color: var(--text-color);
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 1rem;
}

/* Nuevos estilos para Documentos en Footer */
.footer-docs-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-doc-item {
  display: inline-block;
}

.footer-doc-link {
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.footer-doc-link i {
  color: var(--secondary-color);
}

.footer-separator {
  height: 1px;
  background-color: rgba(0,0,0,0.08);
  width: 100%;
}

.footer-left p {
  margin: 0;
  font-size: inherit;
}

.footer-right a {
  margin-left: var(--spacing-md);
  display: inline-block;
  font-size: 1.2rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}

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

.footer-right a img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-docs-list {
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-right a {
    margin: 0 0.5rem;
  }
}




.final-cta,
.final-cta .container,
.row,
.contact-column {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#hubspot-form {
  min-height: 600px;
}

.meetings-iframe-container,
.hs-form,
.hs-form-field,
.hs_submit,
.hs-form div,
.hs-form p {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.meetings-iframe-container iframe,
#hubspot-form iframe {
  /*max-height: 900px !important;*/
  margin-bottom: 100px !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  outline: none;
  position: relative;
  z-index: 101;
}

@media (min-width: 1000px) {
  .contact-column {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
    z-index: 20;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .menu-toggle.active .hamburger {
    background-color: transparent;
  }

  .menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .team-members,
  .casos-grid {
    flex-direction: column;
    align-items: center;
  }



  .team-member,
  .caso {
    width: 100%;
    max-width: 400px;
  }

  .hero h1 {
    font-size: calc(var(--font-size-hero) * 0.8);
  }

  .flip-card-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .clientes-logos-container {
    display: flex;
    overflow-x: hidden;
  }

  .clientes-logos {
    display: flex;
    flex-direction: column;
    width: max-content;
  }

  .clientes-logos img {
    max-height: 150px;
    height: auto;
    width: auto;
    margin: 0 var(--spacing-md);
    object-fit: contain;
  }

  .equipo-img img {
    max-height: 80px;
    height: auto;
    width: auto;
    margin: 0 var(--spacing-md);
    object-fit: contain;
  }

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

@media (max-width: 480px) {

  .nav-container {
    padding-top:0.5rem;
  }

  .nav-links {
    width: 100%;
    padding-top: 100px;
  }

  .hero h1 {
    font-size: calc(var(--font-size-hero) * 0.8);
  }

  .hero p {
    font-size: var(--font-size-medium);
  }

  .cta {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }



  .clientes-logos img {
    max-height: 90px;
    height: auto;
    width: auto;
    margin: 0 var(--spacing-md);
    object-fit: contain;
  }
}

.icon-color {
  color: var(--hover-color);
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #ffffff;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}


.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

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

i {
  color: var(--primary-color);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4em;
  justify-content: center;
  margin-bottom: 2em;
  margin-top: 4em;
}

.services-card {
  position: relative;
  width: 360px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(0, 130, 245, 0.10);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
  perspective: 800px;
}

.services-card-alt {
  position: relative;
  width: 360px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(0, 130, 245, 0.10);
  display: flex;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
  perspective: 800px;
  background-color: var(--tertiary-color);
}

.services-card:hover {
  transform: rotateY(8deg) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(0, 130, 245, 0.18);
}

.services-card-alt:hover {
  transform: rotateY(8deg) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(0, 130, 245, 0.18);
}


.services-card.mining {
  background-image: url('/img/industries/mining.webp');
}

.services-card.manufacture {
  background-image: url('/img/industries/manufacture.webp');
}

.services-card.energy {
  background-image: url('/img/industries/energy.webp');
}

.services-card.building {
  background-image: url('/img/industries/building.webp');
}

.services-card.forestry {
  background-image: url('/img/industries/forestry.webp');
}

.services-card.aquaculture {
  background-image: url('/img/industries/aquaculture.webp');
}

.services-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 130, 245, 0.45) 0%, rgba(23, 66, 132, 0.55) 100%);
  z-index: 1;
}

.services-content {
  position: relative;
  z-index: 4;
  background: rgba(23, 66, 132, 0.82);
  color: #fff;
  width: 100%;
  padding: 1.2em 0.7em;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 130, 245, 0.10);
}

.services-content-alt {
  position: relative;
  z-index: 4;
  color: #fff;
  width: 100%;
  padding: 1.2em 1em;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 130, 245, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.services-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  letter-spacing: -1px;
}

.services-title .highlight {
  color: var(--secondary-color);
  font-weight: 800;
  letter-spacing: 0;
}

.services-content-desc{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.services-desc {
  font-size: 1rem;
}

.services-icon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(0, 130, 245, 0.10);
  animation: icon-float 2.5s ease-in-out infinite alternate;
  font-size: 2em;
}

.services-icon-alt {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: icon-float 2.5s ease-in-out infinite alternate;
  font-size: 2em;
}

.services-icon i {
  color: var(--secondary-color);
}

.services-icon-alt i {
  color: var(--secondary-color);
}



@media (max-width: 900px) {
  .services-list {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
  }

  .services-card {
    width: 95vw;
    max-width: 340px;
    height: 170px;
  }

  .services-card-alt {
    width: 95vw;
    max-width: 340px;

  }

  .services-icon {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }

}

.highlight {
  color: var(--secondary-color);
  font-weight: 800;
  letter-spacing: 0;
}

/* --- CARDS OUR DEVELOPMENTS --- */
.developments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: center;
  margin-bottom: 2em;
}

.development-card {
  position: relative;
  width: 280px;
  min-height: 220px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 130, 245, 0.18);
  border: 2.5px solid rgba(0, 130, 245, 0.25);
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.2em 1.5em 1.5em 1.5em;
  transition: box-shadow 0.25s, border 0.25s, transform 0.22s;
}

.development-card:hover {
  box-shadow: 0 12px 48px 0 rgba(0, 130, 245, 0.28);
  border: 2.5px solid #0082f5;
  transform: scale(1.04);
}

.development-icon {
  font-size: 4em;
  align-items: center;
  justify-content: center;
}

.development-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #174284;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  text-align: center;
}

.development-desc {
  color: #222;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 0.2em;
}

@media (max-width: 900px) {
  .developments-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }

  .development-card {
    width: 95vw;
    max-width: 340px;
    min-height: 180px;
  }

}


/* --- benefits styles --- */


.beneficios-section {
  background: linear-gradient(170deg, #fff 0%, #f6faff 100%);
  padding: 6em 2em;
  position: relative;
  overflow: hidden;
}

.beneficios-bg {
  position: absolute;
  right: -10%;
  top: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(0, 130, 245, 0.05) 0%, rgba(0, 130, 245, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

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

.beneficios-header {
  text-align: center;
  margin-bottom: 3em;
}

.beneficios-title {
  font-size: 2.4rem;
  color: var(--tertiary-color);
  font-weight: 800;
  margin-bottom: 0.5em;
  background: linear-gradient(120deg, #174284 20%, #0082f5 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.beneficios-desc {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #444;
}

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

.beneficio-card {
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow:
    0 20px 40px rgba(0, 130, 245, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 360px;
  display: flex;
  flex-direction: column;
    justify-content: space-between;
}

.beneficio-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0, 130, 245, 0.1),
    0 15px 25px rgba(0, 0, 0, 0.05);
}

.beneficio-header {
  padding: 2em 2em 1em 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
}

.beneficio-icon-container {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0082f5 0%, #174284 100%);
  box-shadow: 0 8px 20px rgba(0, 130, 245, 0.2);
}

.beneficio-icon {

  fill: white;
  color: white;
  font-size: 2em;
}

.beneficio-title-container {
  flex: 1;
}

.beneficio-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #174284;
  margin-bottom: 0.3em;
}

.beneficio-subtitle {
  color: #666;
  font-size: 1rem;
}

.beneficio-content {
  padding: 0 2em 2em 2em;
}

.beneficio-info {
  margin: 1.5em 0;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
}

.beneficio-stats {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  border-top: 1px solid rgba(0, 130, 245, 0.1);
}

.beneficio-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.beneficio-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #0082f5;
  margin-bottom: 0.2em;
}

.beneficio-stat-label {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.beneficio-cta {
  display: flex;
  justify-content: center;
  margin-top: 4em;
  margin-bottom: 4em;
}

.beneficio-btn {
  background: linear-gradient(90deg, #0082f5 0%, #174284 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1em 2.5em;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(0, 130, 245, 0.2);
  text-decoration: none;
}

.beneficio-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 130, 245, 0.25);
}

.chip {
  display: inline-block;
  background: rgba(191, 209, 60, 0.15);
  color: #174284;
  padding: 0.2em 0.8em;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5em;
}

@media (max-width: 768px) {

  .services-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }

  .beneficio-stats {
    flex-wrap: wrap;
    gap: 1em;
  }

  .beneficio-stat {
    flex: 0 0 45%;
  }
  .beneficio-btn{
    width: 100%;
    max-width: 350px;
    font-size: 1rem;
    margin-left: 1.5em;
    margin-right: 1.5em;
  }
  .section-intro{
    padding: 0 1rem
  }
  .benefit-columns{
    margin-left: 1.5em;
    margin-right: 1.5em;
  }
}


/* CLIENTES DE CONFIANZA */

.clientes-section {
  padding: 4em 2em;
  background-color: #f9fbff;
  position: relative;
  overflow: hidden;
}

.clientes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(0, 130, 245, 0.03) 0%, rgba(191, 209, 60, 0.03) 100%);
  z-index: 0;
}

/* DOCUMENTOS CORPORATIVOS (sección en home) */
.documentos-section {
  padding: 5em 2em;
  padding-bottom: 8em;
  background: linear-gradient(135deg, #0f2744 0%, #1a3a5c 50%, #174284 100%);
  position: relative;
}

.documentos-section::before,
.documentos-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.15) 80%, transparent 100%);
}

.documentos-section::before {
  top: 0;
}

.documentos-section::after {
  bottom: 0;
}

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

.documentos-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.documentos-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.documentos-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5em;
  letter-spacing: -0.02em;
}

.documentos-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.documentos-list-wrapper {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: none;
}

.documentos-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.documentos-list-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25em 1.75em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease;
}

.documentos-list-item:last-child {
  border-bottom: none;
}

.documentos-list-item:hover {
  background: rgba(0, 130, 245, 0.02);
}

/* Icono del documento */
.doc-icon-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: var(--border-radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.documentos-list-item:hover .doc-icon-wrapper {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.doc-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.doc-icon-pdf {
  color: #e53935;
}

.doc-icon-word {
  color: #1976d2;
}

.doc-icon-excel {
  color: #388e3c;
}

.doc-icon-ppt {
  color: #e64a19;
}

.doc-icon-img {
  color: #7b1fa2;
}

.doc-icon-zip {
  color: #ffa000;
}

/* Contenido del documento */
.documentos-content {
  flex: 1;
  min-width: 0;
}

.doc-title {
  color: var(--tertiary-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: color 0.2s ease;
}

.doc-title:hover {
  color: var(--primary-color);
}

.documentos-desc {
  margin: 0.25rem 0 0;
  color: #6b7c8f;
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botón de descarga */
.doc-download-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6em 1.1em;
  background: transparent;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  border: 1.5px solid var(--primary-color);
  transition: all 0.2s ease;
}

.doc-download-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 130, 245, 0.25);
}

.doc-download-btn svg {
  width: 16px;
  height: 16px;
}

/* Contador de documentos */
.documentos-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85em 1.75em;
  background: var(--light-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.8rem;
  color: #6b7c8f;
}

.documentos-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--tertiary-color);
}

.documentos-count-badge span {
  background: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  padding: 0.15em 0.5em;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

/* Estado vacío */
.documentos-empty {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 3.5em 2em;
  color: #8a9aaa;
  gap: 0.5rem;
  border-bottom: none;
}

.doc-empty-icon {
  width: 52px;
  height: 52px;
  color: #c5d0db;
  margin-bottom: 0.5rem;
}

.documentos-empty span {
  font-size: 0.95rem;
}

/* Estado de carga */
.documentos-list-loading {
  justify-content: center;
  color: #6b7c8f;
  font-size: 0.9rem;
  padding: 3em 2em;
  gap: 0.75rem;
  border-bottom: none;
}

.doc-loading-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid #e0e8f0;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: doc-spin 0.7s linear infinite;
}

@keyframes doc-spin {
  to { transform: rotate(360deg); }
}

/* Error state */
.documentos-error {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 3em 2em;
  color: #b0b8c1;
  gap: 0.5rem;
  border-bottom: none;
}

@media (max-width: 768px) {
  .documentos-section {
    padding: 3.5em 1.25em;
  }
  
  .documentos-section::before {
    width: 80px;
  }
  
  .documentos-icon {
    width: 48px;
    height: 48px;
  }
  
  .documentos-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .documentos-title {
    font-size: 1.6rem;
  }
  
  .documentos-description {
    font-size: 0.95rem;
  }
  
  .documentos-list-item {
    padding: 1em 1.25em;
    gap: 1rem;
  }
  
  .doc-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .doc-icon {
    width: 20px;
    height: 20px;
  }
  
  .documentos-content {
    flex: 1;
    min-width: 0;
  }
  
  .doc-title {
    font-size: 0.95rem;
  }
  
  .documentos-desc {
    font-size: 0.8rem;
  }
  
  .doc-download-btn {
    padding: 0.5em 0.9em;
    font-size: 0.8rem;
  }
  
  .doc-download-btn span {
    display: none;
  }
  
  .documentos-count {
    padding: 0.75em 1.25em;
    font-size: 0.75rem;
  }

  .documentos-list-item {
    align-items: flex-start;
  }
}

/* DOCUMENTOS.PHP (página de gestión) */
.docs-page {
  padding: 4em 2em;
}

.docs-header {
  text-align: left;
  margin-bottom: 1.5em;
}

.docs-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #174284;
  margin-bottom: 0.75rem;
}

.docs-empty-text {
  color: #777;
  font-size: 0.95rem;
}

.docs-admin-section {
  text-align: left;
  margin-top: 2rem;
}

.docs-card {
  border-radius: 20px;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.docs-card-wide {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.docs-card-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.docs-intro {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.docs-item {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #f5f7fb;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs-admin-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.docs-item-main {
  flex: 1 1 auto;
  min-width: 0;
}

.docs-item-title a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #174284;
  text-decoration: none;
}

.docs-item-title a:hover {
  color: var(--primary-color);
}

.docs-item-title i {
  color: var(--primary-color);
}

.docs-item-description {
  color: #444;
  font-size: 0.9rem;
  margin: 0.2rem 0 0.4rem 0;
}

.docs-meta-row {
  margin-top: 0.1rem;
}

.docs-meta {
  color: #666;
  font-size: 0.85rem;
}

.docs-item-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.docs-item strong a i {
  color: var(--primary-color);
}

.docs-edit-form input[type="text"],
.docs-edit-form textarea {
  font-size: 0.9rem;
  width: 100%;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 0.2rem;
}

.docs-edit-fields label {
  font-size: 0.85rem;
  color: #555;
}

.docs-admin-actions {
  margin-top: 0.25rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.docs-btn-sm {
  padding: 0.4em 1.2em;
  font-size: 0.9rem;
}

.docs-btn-danger {
  background: #ffffff;
  color: #c0392b;
  border-color: #c0392b;
}

.docs-btn-danger:hover {
  background: #c0392b;
  color: #ffffff;
}

.docs-admin-alert {
  font-size: 0.95rem;
  border-left: 4px solid var(--primary-color);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: #e8f4ff;
  color: #174284;
}

.docs-admin-alert-error {
  border-left-color: #c0392b;
}

.docs-form {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.docs-form-login {
  max-width: 400px;
}

.docs-form label {
  font-size: 0.9rem;
  color: #555;
}

.docs-form input[type="text"],
.docs-form input[type="password"],
.docs-form input[type="file"],
.docs-form textarea {
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.docs-form textarea {
  resize: vertical;
  min-height: 80px;
}

.docs-help-text {
  display: block;
  margin-bottom: 0.75rem;
  color: #666;
  font-size: 0.85rem;
}

.docs-session-info {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.docs-session-info a {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
}

.docs-session-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .docs-page {
    padding: 3em 1.5em;
  }

  .docs-card-wide,
  .docs-card-narrow {
    max-width: 100%;
  }

  .docs-item-actions {
    align-items: flex-start;
  }
}

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

.clientes-header {
  text-align: center;
  margin-bottom: 3em;
}

.clientes-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--tertiary-color);
  margin-bottom: 0.5em;
}

.clientes-desc {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2em auto;
  color: #444;
}

/* Estilos para el carrusel de clientes */
.clientes-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1em 0;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.clientes-track {
  display: flex;
  gap: 4em; /* Espacio generoso entre logos */
  width: max-content;
  padding: 1em 0;
  align-items: center;
}

.clientes-track:hover {
  animation-play-state: paused;
}

.clientes-track-1 {
  animation: scroll-left 120s linear infinite;
}

.clientes-track-2 {
  animation: scroll-right 120s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Estilos específicos para las tarjetas de cliente en el carrusel */
.clientes-slider-container .cliente-item {
  width: 180px; /* Tamaño fijo más pequeño que el equipo */
  height: 100px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  filter: grayscale(100%) opacity(0.6); /* Por defecto gris y tenue */
}

.clientes-slider-container .cliente-item:hover {
  filter: grayscale(0%) opacity(1); /* Color y opacidad full al hover */
  transform: scale(1.1);
  z-index: 10;
}

.clientes-slider-container .cliente-card {
  width: 100%;
  height: 100%;
  background: transparent; /* Fondo transparente para integración limpia */
  border-radius: 0;
  box-shadow: none; /* Sin sombras para diferenciar del equipo */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.clientes-slider-container .cliente-logo {
  max-width: 100%;
  max-height: 70px; /* Altura controlada */
  object-fit: contain;
}

@media (max-width: 768px) {
  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
  }

  .cliente-item {
    height: 100px;
  }
}

.soluciones-demo-section {
  padding: 12em 2em;
  background: linear-gradient(160deg, #174284 0%, #0d2a58 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 130, 245, 0.15);
}

.soluciones-demo-container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.soluciones-demo-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #bfd13c 0%, 50%, #0082f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8em;
  position: relative;
  display: inline-block;
}

.soluciones-demo-desc {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2em auto;
  line-height: 1.6;
  color: white;
}

.soluciones-demo-buttons {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.demo-btn {
  position: relative;
  padding: 1.2em 2em;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  min-width: 240px;
  text-decoration: none;
}

.demo-btn-bond {
  background: rgba(255, 255, 255, 0.1);
  color: #bfd13c;
  border: 2px solid #bfd13c;
  box-shadow:
    0 10px 30px rgba(191, 209, 60, 0.2),
    0 0 10px rgba(191, 209, 60, 0.1) inset;

}



.demo-btn-bond:hover {
  transform: translateY(-5px);
  background: rgba(191, 209, 60, 0.1);
  box-shadow:
    0 15px 40px rgba(191, 209, 60, 0.3),
    0 0 15px rgba(191, 209, 60, 0.15) inset;
}

.demo-btn-nebula {
  background: rgba(255, 255, 255, 0.1);
  color: #0082f5;
  border: 2px solid #0082f5;
  box-shadow:
    0 10px 30px rgba(0, 130, 245, 0.2),
    0 0 10px rgba(0, 130, 245, 0.1) inset;
}


.demo-btn-nebula:hover {
  transform: translateY(-5px);
  background: rgba(0, 130, 245, 0.1);
  box-shadow:
    0 15px 40px rgba(0, 130, 245, 0.3),
    0 0 15px rgba(0, 130, 245, 0.15) inset;
}

.demo-btn-icon {
  margin-right: 10px;
  width: 32px;
  height: 32px;
  fill: currentColor;
}


@media (max-width: 768px) {
  .soluciones-demo-title {
    font-size: 2rem;
  }

  .soluciones-demo-desc {
    font-size: 1.05rem;
  }

  .soluciones-demo-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }

  .demo-btn {
    width: 100%;
    max-width: 280px;
  }
}

.sections-container {
  padding-top: 4em;
  padding-bottom: 4em;

}



/* conoce section */
.conoce-cta-section {
  padding: 10em 0em;
  background: white;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.conoce-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background:
    linear-gradient(120deg, var(--primary-color) 0%, transparent 70%),
    linear-gradient(240deg, var(--secondary-color) 0%, transparent 70%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 10px);
}

.conoce-cta-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.conoce-cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--tertiary-color);
  margin-bottom: 0.8em;
  position: relative;
  display: inline-block;
}

.conoce-cta-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.conoce-cta-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2em auto;
  line-height: 1.6;
  color: #555;
}

.conoce-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  padding: 0.8em 1.5em;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: none;
}

.download-btn-primary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
}

.download-btn-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 130, 245, 0.15);
}
.download-btn-primary:hover .download-btn-icon {
  color: white;
  transform: translateY(2px);
}

.download-btn-secondary {
  background: white;
  color: var(--tertiary-color);
  border: 2px solid var(--tertiary-color);
  text-decoration: none;
}

.download-btn-secondary:hover {
  background: var(--tertiary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(23, 66, 132, 0.15);
}

.download-btn-icon {
  margin-right: 8px;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.download-btn:hover .download-btn-icon {
  transform: translateY(2px);
}

.conoce-cta-divider {
  position: relative;
  text-align: center;
  margin: 2em auto 0em;
  max-width: 300px;
}

.conoce-cta-divider::before,
.conoce-cta-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.conoce-cta-divider::before {
  left: 0;
}

.conoce-cta-divider::after {
  right: 0;
}

.conoce-cta-dots {
  display: inline-flex;
  gap: 4px;
}

.conoce-cta-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
}

.conoce-cta-dot:first-child {
  background: var(--primary-color);
}

.conoce-cta-dot:nth-child(2) {
  background: var(--secondary-color);
}

.conoce-cta-dot:last-child {
  background: var(--tertiary-color);
}

.conoce-cta-contact {
  font-size: 0.9rem;
  color: #777;
  margin-top: 2.5em;
}

.conoce-cta-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.conoce-cta-contact a:hover {
  color: var(--tertiary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .conoce-cta-title {
    font-size: 1.8rem;
  }

  .conoce-cta-desc {
    font-size: 1rem;
  }

  .conoce-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .download-btn {
    width: 100%;
    max-width: 265px;
    justify-content: center;
  }
  .contact-info{
    display:flex; 
    justify-content:center; 
    gap:40px; 
    margin:60px 0;
    flex-direction: column;
  }
  .conoce-cta-contact{
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
}



/* TESTIMONIOS */

.testimonios-section {
  background-color: var(--background-color);
  padding: 4em 2em;
  margin: 0em auto;
  position: relative;
  overflow: hidden;
}

.testimonios-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 130, 245, 0.08) 0, rgba(0, 130, 245, 0) 50px),
    radial-gradient(circle at 70% 60%, rgba(191, 209, 60, 0.08) 0, rgba(191, 209, 60, 0) 100px);
  z-index: 0;
  opacity: 0.8;
}

.testimonios-container {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.testimonios-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2em;
  padding: 1.5em 0.5em;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  margin: 0 -1em;
}

.testimonios-slider::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

.testimonio-card {
  display: flex;
  flex-direction: column;
  width: 360px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(0, 130, 245, 0.08),
    0 1px 5px rgba(0, 130, 245, 0.03),
    0 -1px 3px rgba(0, 0, 0, 0.01),
    0 0 0 1px rgba(0, 130, 245, 0.1);
  padding: 1.8em;
  position: relative;
  scroll-snap-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonio-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 15px 35px rgba(0, 130, 245, 0.15),
    0 1px 5px rgba(0, 130, 245, 0.05),
    0 0 0 1px rgba(0, 130, 245, 0.12);
}

.testimonio-quote {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 50px;
  height: 40px;
  fill: rgba(191, 209, 60, 0.6);
  z-index: 1;
}

.testimonio-content {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5em;
  position: relative;
  z-index: 2;
}

.testimonio-author {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.testimonio-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0082f5 0%, #174284 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  margin-right: 1em;
  box-shadow: 0 3px 10px rgba(0, 130, 245, 0.2);
}

.testimonio-info {
  flex: 1;
}

.testimonio-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #174284;
  margin-bottom: 0.1em;
}

.testimonio-role {
  font-size: 0.9rem;
  color: #0082f5;
}

.testimonio-company {
  display: inline-block;
  background: rgba(191, 209, 60, 0.15);
  color: #174284;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3em 0.8em;
  border-radius: 30px;
  margin-top: 0.4em;
}

.testimonio-stars {
  margin-top: 0.6em;
  display: flex;
  align-items: center;
  gap: 3px;
}

.testimonio-star {
  color: #bfd13c;
  font-size: 1rem;
}

.testimonios-controls {
  display: flex;
  justify-content: center;
  gap: 0.8em;
  margin-top: 2em;
}

.testimonio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 130, 245, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.testimonio-dot.active {
  background: #0082f5;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonio-card {
    width: 85vw;
    max-width: 360px;
  }
}


/* SECCIÓN POR QUÉ ELEGIRNOS */
.why-us-alt-section {
  padding: 7em 2em;
  background: linear-gradient(160deg, #174284 0%, #0d2a58 100%);
  position: relative;
  overflow: hidden;
  margin: 3em auto;
  max-width: 1200px;
  border-radius: 24px;
  color: white;
}

.why-us-alt-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  background:
    radial-gradient(circle at 0% 0%, var(--primary-color) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, var(--secondary-color) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-us-alt-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.why-us-alt-container-2 {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.why-us-alt-header {
  text-align: center;
  margin-bottom: 4em;
}

.why-us-alt-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #bfd13c 0%, 50%, #0082f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1em;
  position: relative;
  display: inline-block;
}

.why-us-alt-desc {
  font-size: 1.2rem;
  color: var(--background-color);
  margin-bottom: 2em;
}

.why-us-alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
}

.why-us-alt-grid-2 {
  display: flex;
  gap: 2em;
}

.why-us-alt-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2em;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.why-us-alt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-us-alt-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.why-us-alt-card:hover::before {
  opacity: 1;
}

.why-us-alt-icon {
  width: 60px;
  height: 60px;
  fill: var(--secondary-color);
  color: var(--secondary-color);
  font-size: 2.5rem;
}

.why-us-alt-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8em;
  color: var(--secondary-color);
}

.why-us-alt-card-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5em;
}

.why-us-alt-card-text-2 {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5em;
  text-align: center;
}

.why-us-alt-metric {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.3em;
}

.why-us-alt-metric-2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 0.3em;
}

.why-us-alt-metric-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .why-us-alt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-us-alt-grid {
    grid-template-columns: 1fr;
  }

  .why-us-alt-title {
    font-size: 2rem;
  }

  .why-us-alt-card {
    padding: 1.5em;
  }
}


/* SECCIÓN ACERCA DE NOSOTROS */
.faq-section {
  padding: 5em 2em;
  background: linear-gradient(170deg, #f8fbff 0%, #f1f7ff 100%);
  position: relative;
  overflow: hidden;
  margin: 0em auto;

}

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

.faq-header {
  text-align: center;
  margin-bottom: 3em;
}

.faq-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--tertiary-color);
  margin-bottom: 0.5em;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 130, 245, 0.1);
  transform: translateY(-2px);
}

.faq-question {
  padding: 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f9fbff;
}

.faq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tertiary-color);
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  fill: var(--primary-color);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.5em;
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5em 1.5em 1.5em;
}

.faq-answer p {
  margin: 0 0 1em 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.faq-answer a:hover {
  color: var(--tertiary-color);
  text-decoration: underline;
}

.faq-more {
  margin-top: 2em;
  text-align: center;
}

.faq-more-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
  position: relative;
  padding-right: 24px;
}

.faq-more-link:hover {
  color: var(--tertiary-color);
}

.faq-more-link svg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.faq-more-link:hover svg {
  transform: translate(5px, -50%);
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 1.9rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-question-text {
    font-size: 1rem;
  }
}


/* NEW HERO */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
  max-width: 640px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--background-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  -webkit-text-fill-color: var(--primary-color);
  z-index: 1;
}

.hero-title .highlight::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 8px;
  left: 0;
  background-color: var(--secondary-light);
  z-index: -1;
  transform: scaleX(0.8) rotate(-1deg);
  transition: transform 0.5s;
}

.hero-title:hover .highlight::before {
  transform: scaleX(1.05) rotate(-1deg);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-subtitle strong {
  color: var(--tertiary-color);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2.5em;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0075e6 100%);
  color: white;
  box-shadow:
    0 10px 25px rgba(0, 130, 245, 0.25),
    0 5px 10px rgba(0, 130, 245, 0.15);
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
  z-index: -1;
  transition: opacity 0.3s;
  opacity: 0;
}

.hero-btn-primary:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 35px rgba(0, 130, 245, 0.3),
    0 8px 15px rgba(0, 130, 245, 0.18);
}

.hero-btn-primary:hover::before {
  opacity: 1;
}

.hero-btn-primary i {
  color: white;
}

.hero-btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.hero-btn-secondary:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow:
    0 10px 25px rgba(0, 130, 245, 0.15),
    0 5px 10px rgba(0, 130, 245, 0.08);
}

.hero-btn svg {
  margin-right: 8px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-image {
  width: 80%;
  max-width: 600px;
  transform-style: preserve-3d;
  transform: rotateY(10deg) rotateX(5deg);
  animation: float 5s ease-in-out infinite alternate, appear 1s ease-out forwards;
  filter: drop-shadow(0 20px 40px rgba(0, 130, 245, 0.25));
  opacity: 0;
}

.hero-floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.hero-sub-cta {
  font-size: 0.9rem;
  color: #777;
}
.hero-sub-cta a {
  color: var(--primary-color);
  text-decoration: none;
}
.hero-sub-cta a:hover {
  text-decoration: underline;
}
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.6;
  animation: floatElement 8s ease-in-out infinite alternate;
}

.floating-element.small {
  width: 10px;
  height: 10px;
}

.floating-element.medium {
  width: 20px;
  height: 20px;
}

.floating-element.large {
  width: 30px;
  height: 30px;
}

.floating-element.primary {
  background: var(--primary-color);
}

.floating-element.secondary {
  background: var(--secondary-color);
}

.floating-element.tertiary {
  background: var(--tertiary-color);
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.9rem;
  animation: badgeFloat 4s ease-in-out infinite alternate;
  z-index: 20;
}

.hero-badge.iot {
  top: 10%;
  right: 5%;
  color: var(--primary-color);
}

.hero-badge.ai {
  bottom: 15%;
  left: 5%;
  color: var(--tertiary-color);
}

.hero-badge .icon {
  background: currentColor;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge .icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 130, 245, 0.08) 0%, rgba(23, 66, 132, 0.1) 100%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230082f5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0.5;
}

.hero-bg-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-carousel-images {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-carousel-images.active {
  opacity: 1;
}

.hero-carousel-images.image1 {
  background-image: url('/img/iot/bond-1-compressed.webp');
}

.hero-carousel-images.image2 {
  background-image: url('/img/iot/bond-5.webp');
}

.hero-carousel-images.image3 {
  background-image: url('/img/vision/vision-1.webp');
}

.hero-carousel-images.image4 {
  background-image: url('/img/nebula/nebula-5.webp');
}


.hero-carousel-images.iot-image1 {
  background-image: url('/img/iot/bond-1-compressed.webp');
}

.hero-carousel-images.iot-image2 {
  background-image: url('/img/iot/bond-2.webp');
}

.hero-carousel-images.iot-image3 {
  background-image: url('/img/iot/bond-3.webp');
}

.hero-carousel-images.iot-image4 {
  background-image: url('/img/iot/bond-4.webp');
}

.hero-carousel-images.iot-image5 {
  background-image: url('/img/iot/bond-5.webp');
}

.hero-carousel-images.vision-image1 {
  background-image: url('/img/vision/vision-1.webp');
}

.hero-carousel-images.vision-image2 {
  background-image: url('/img/vision/vision-2.webp');
}

.hero-carousel-images.vision-image3 {
  background-image: url('/img/vision/vision-3.webp');
}

.hero-carousel-images.nebula-image1{
  background-image: url('/img/nebula/nebula-5.webp');
}

.hero-carousel-images.nebula-image2{
  background-image: url('/img/nebula/nebula-3.webp');
}


.hero-carousel-images.nebula-image3{
  background-image: url('/img/nebula/nebula-4.webp');
}

.hero-carousel-images.nebula-image4{
  background-image: url('/img/nebula/nebula-1.webp');
}


.hero-carousel-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.hero-carousel-dot:hover {
  background-color: white;
  transform: scale(1.2);
}

.hero-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 130, 245, 0.7) 0%,
      rgba(23, 66, 132, 0.75) 60%,
      rgba(191, 209, 60, 0.5) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%,
      rgba(191, 209, 60, 0.4) 0%,
      transparent 50%),
    radial-gradient(circle at 70% 80%,
      rgba(0, 130, 245, 0.4) 0%,
      transparent 50%);
  mix-blend-mode: screen;
  z-index: 2;
  opacity: 0.6;
}

.hero-clients {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-clients-title {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.hero-clients-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-client-logo {
  height: 40px;
  opacity: 0.6;
  transition: all 0.3s;
  filter: grayscale(1);
}

.hero-client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-3px);
}

.hero-stats {
  position: absolute;
  bottom: 15%;
  right: 12%;
  background: white;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1s forwards;
  z-index: 20;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.hero-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: rotateY(10deg) rotateX(5deg) translateY(0);
  }

  100% {
    transform: rotateY(5deg) rotateX(3deg) translateY(-20px);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: rotateY(20deg) rotateX(10deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotateY(10deg) rotateX(5deg) scale(1);
  }
}

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

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

  100% {
    transform: translateY(15px) translateX(-10px);
  }
}

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

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

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    max-width: 80%;
  }

  .hero-visual {
    order: -1;
    margin-top: 4rem;
  }

  .hero-image {
    width: 70%;
    max-width: 500px;
  }

  .hero-badge.iot {
    top: 15%;
    right: 15%;
  }

  .hero-badge.ai {
    bottom: 15%;
    left: 15%;
  }

  .hero-stats {
    position: relative;
    bottom: unset;
    right: unset;
    margin: 2rem auto 0;
    max-width: 300px;
  }

  .hero-clients {
    align-items: center;
  }

  .hero-bg-image {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.15;
  }
}

@media (max-width: 768px) {
  .hero-bg-image {
    display: none;
  }

  .hero-bg-gradient {
    display: none;
  }

  .hero-container {
    min-height: auto;
    padding: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-badge {
    display: none;
  }

  .hero-image {
    width: 90%;
  }

  .hero-clients-logos {
    justify-content: center;
  }

  .hero-client-logo {
    height: 30px;
  }
}

.custom-icon {
  width: 86px;
}

/* tecnologia section  */
.tabs-section {
  background: linear-gradient(170deg, #fff 0%, #f8fbff 100%);
  padding: 4em 2em;
  position: relative;
  overflow: hidden;
}

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

.tabs-header {
  text-align: center;
  margin-bottom: 3em;
}

.tabs-title {
  font-size: 2.4rem;
  color: var(--tertiary-color);
  font-weight: 800;
  margin-bottom: 0.5em;
  background: linear-gradient(120deg, #174284 20%, #0082f5 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.tabs-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}


.tab-button {
  padding: 1em 2em;
  border: none;
  background: white;
  color: var(--tertiary-color);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 130, 245, 0.1);
  position: relative;
  overflow: hidden;
}

.tab-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.tab-button span {
  position: relative;
  z-index: 2;
}

.tab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 130, 245, 0.15);
}

.tab-button.active {
  color: white;
}

.tab-button.active span {
  color: white;
}


.tab-button.active::before {
  opacity: 1;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}



.tab-card {
  background: white;
  border-radius: 20px;
  padding: 2em;
  box-shadow:
    0 10px 30px rgba(0, 130, 245, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tab-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0, 130, 245, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.08);
}



@media (max-width: 768px) {
  .tech-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-left: 1.5em;
    margin-right: 1.5em;
  }

  .tab-button {
    padding: 0.5em 1em;
    font-size: 1rem;
    border-radius: 20px;
  }


  .tabs-title {
    font-size: 2rem;
  }
}



/*  Galería del Equipo - Carrusel Infinito "Wave" */

.team-gallery-section {
  background: linear-gradient(170deg, #f6faff 0%, #fff 100%);
  padding: 4em 0;
  position: relative;
  overflow: hidden;
}

.team-gallery-container {
  max-width: 100%; /* Full width for carousel */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.team-gallery-header {
  text-align: center;
  margin-bottom: 3em;
  padding: 0 2em;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team-gallery-title {
  font-size: 2.4rem;
  color: var(--tertiary-color);
  font-weight: 800;
  margin-bottom: 0.5em;
  background: linear-gradient(120deg, #174284 20%, #0082f5 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.team-gallery-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 40px 0 60px 0; /* Espacio extra para efectos hover y stagger */
  /* Máscara de desvanecimiento en los bordes */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.team-gallery-track {
  display: flex;
  gap: 2em; /* Más espacio entre cartas */
  width: max-content;
  animation: scroll-team 120s linear infinite; /* 120s = más lento (ajusta este valor) */
  padding-left: 2em; /* Inicio visual */
  align-items: center;
}

.team-gallery-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-team {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1em)); /* Ajuste por el gap */
  }
}

.team-gallery-item {
  position: relative;
  border-radius: 20px; /* Bordes más suaves */
  overflow: hidden;
  aspect-ratio: 16/9; /* Formato panorámico para ver la imagen completa */
  width: 360px; /* Más ancho para apreciar el detalle */
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Estilo base "Glass" */
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Efecto Stagger (Alternado) */
.team-gallery-item:nth-child(even) {
  transform: translateY(25px);
}

.team-gallery-item:nth-child(odd) {
  transform: translateY(-25px);
}

.team-gallery-item:hover {
  /* Al hacer hover, la carta se destaca y se alinea */
  transform: translateY(0) scale(1.05);
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0, 130, 245, 0.25); /* Sombra azulada */
  border-color: var(--primary-color);
}

.team-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cubre el área sin deformar */
  transition: transform 0.6s ease;
  filter: grayscale(20%); /* Un poco desaturado por defecto */
}

.team-gallery-item:hover .team-gallery-image {
  transform: scale(1.05);
  filter: grayscale(0%); /* Color completo al hover */
}

.team-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 66, 132, 0.95) 0%, rgba(23, 66, 132, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5em;
}

.team-gallery-item:hover .team-gallery-overlay {
  opacity: 1;
}

.team-gallery-caption {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s; /* Pequeño retraso */
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.team-gallery-item:hover .team-gallery-caption {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .team-gallery-item {
    width: 280px;
  }
  
  /* Reducir efecto stagger en móvil */
  .team-gallery-item:nth-child(even) {
    transform: translateY(15px);
  }

  .team-gallery-item:nth-child(odd) {
    transform: translateY(-15px);
  }
  
  .team-gallery-title {
    font-size: 2rem;
  }
}
.icon-padding {
  padding-right: 8px;
}

.hero-link-download {
  display:inline-flex; gap:8px; align-items:center;
  margin-top:12px; color:#0b63ff; font-weight:500; text-decoration:none;
}
.hero-link-download:hover { text-decoration:underline; }