@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --violet: #8e79d8;
  --violet-dark: #4a1c6a;
  --violet-hover: #b2a7da;
  --dark: #1a1a1d;
  --dark-soft: #2b2b30;
  --light: #f4f4f6;
  --gray: #b2a7da;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes carouselVertical {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(-360deg);
  }
}

@keyframes showImg1 {
  0% { opacity: 1; }
  25% { opacity: 0.2; }
  75% { opacity: 0.2; }
  100% { opacity: 1; }
}

@keyframes showImg2 {
  0% { opacity: 0.2; }
  25% { opacity: 1; }
  50% { opacity: 0.2; }
  100% { opacity: 0.2; }
}

@keyframes showImg3 {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  75% { opacity: 0.2; }
  100% { opacity: 0.2; }
}

@keyframes showImg4 {
  0% { opacity: 0.2; }
  75% { opacity: 1; }
  100% { opacity: 0.2; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato";
}

body {
  background: var(--dark);
  color: var(--light);
  animation: fadeIn 0.6s ease-in;
  margin-top: 70px;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-on-scroll.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 60px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
  background: var(--dark);
  background-image: none !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

.navbar.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.navbar nav {
  display: flex;
  align-items: center;
}

.lang-switcher-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 40px;
}

.lang-btn:hover {
  color: var(--violet-hover);
}

.lang-btn.active {
  color: var(--violet);
  font-weight: 600;
}

.logo img {
  max-height: 60px;
  width: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--violet);
  transition: all 0.3s ease;
  display: block;
  transform-origin: center;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

.navbar nav a {
  margin-left: 25px;
  color: var(--light);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.navbar nav a.active {
  color: var(--violet);
  font-weight: 600;
}

.navbar nav a:hover:not(.active):not(.btn) {
  color: var(--violet);
}

.navbar .btn:hover {
  background: var(--violet-hover);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transform: translateY(-2px);
}

/* DROPDOWN MENU */
.navbar nav .dropdown {
  position: relative;
  display: inline-block;
  margin-left: 25px;
}

.navbar nav .dropdown .dropdown-toggle {
  margin-left: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}

.navbar nav .dropdown .dropdown-toggle:hover {
  color: var(--violet);
}

.navbar nav .dropdown .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.navbar nav .dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.navbar nav .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--dark);
  border: 1px solid var(--violet);
  border-radius: 4px;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Crear un puente invisible entre el toggle y el menú */
.navbar nav .dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 10px;
  background: transparent;
  z-index: 999;
}

.navbar nav .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar nav .dropdown.active .dropdown-menu {
  display: block;
}

.navbar nav .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  margin-left: 0;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(138, 69, 240, 0.2);
}

.navbar nav .dropdown-menu a:last-child {
  border-bottom: none;
}

.navbar nav .dropdown-menu a.active {
  color: var(--violet);
  font-weight: 600;
}

.navbar nav .dropdown-menu a:hover {
  background: rgba(138, 69, 240, 0.1);
  color: var(--violet);
}

.navbar nav .dropdown.active .dropdown-menu {
  display: block;
}

.navbar nav .dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.btn {
  display: inline-block;
  background: var(--violet-dark);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--violet-hover);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transform: translateY(-2px);
}

.btn:active,
.btn:focus,
.btn:visited {
  color: #ffffff !important;
  outline: none;
}
/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  padding: 80px 60px 40px 60px;
  background: var(--dark);
  min-height: 600px;
  position: relative;
  overflow: visible;
  margin-top: 0;
}

.hero-text {
  opacity: 1;
  z-index: 2;
  grid-column: 1 / 3;
  grid-row: 1;
}

.hero-text.slide-up {
  animation: slideUp 0.8s ease-out 0.2s forwards;
}

.hero h1 {
  font-size: 50px;
  font-weight: 300;
  color: #b8a7e8;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: -200px;
  margin-left: 100px;
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero p {
  margin: 20px 0 30px;
  color: #e0e0e0;
  font-size: 20px;
  margin-left: 100px;
}

.hero .btn {
  margin-left: 200px;
  margin-top: 30px;
}

.hero .btn:hover {
  background: var(--violet-hover);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transform: translateY(-2px);
}

.hero-image {
  opacity: 1;
  position: relative;
  z-index: 1;
  margin-bottom: -100px;
  grid-column: 2;
  grid-row: 1;
}

.hero-image.slide-up {
  animation: slideUp 0.8s ease-out 0.4s forwards;
}

.hero-image img {
  max-width: 750px;
  height: auto;
  margin-right: -60px;
  margin-top: -120px;
}

/* INFO */
.info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 160px 80px 160px;
  background: linear-gradient(90deg, #f2f2f2, #c9b8ff);
  color: #222;
  gap: 60px;
}

.info:not(.slide-up) {
  opacity: 0;
}

.info.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  white-space: nowrap;
}

.info-text p {
  font-size: 19px;
  line-height: 1.8;
  margin: 0;
  color: #2d2d2d;
  font-weight: 400;
  text-align: center;
}
.info-text p:nth-child(3) {
  text-align: center;
}
.info-text .btn {
  margin-top: 20px;
  align-self: center;
}

.info-image.fade-in {
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  margin-bottom: -100px;
}

.info-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.info-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
}
/* CARDS Y CLIENTES COMBINADOS */
.cards-clients {
  padding: 80px 60px 100px;
  background: linear-gradient(90deg, #ffff, #ffff);
  position: relative;
}

.cards-clients:not(.slide-up) {
  opacity: 0;
}

.cards-clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/site/assets/images/qr-pattern-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.cards-clients.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 300px));
  gap: 140px;
  margin-bottom: 80px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: #0f0f14;
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.6s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.card a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  order: 2;
  flex: 1;
}

.card:hover {
  background: #0f0f14 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(142, 121, 216, 0.4);
  border-color: rgba(142, 121, 216, 0.6);
}

.card:hover img {
  transform: scale(1.1);
}

.card img {
  max-width: 80px;
  height: auto;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  order: 1;
}

.card:first-child img {
  max-width: 60px;
}

.clients-section {
  text-align: center;
  padding-top: 60px;
  margin-bottom: 20px;
}

.clients-section h2 {
  color: #5a3a7a;
  font-size: 50px;
  font-weight: 400;
  margin-bottom: 60px;
  letter-spacing: -2px;
}

.client-logos {
  position: relative;
  width: 200px;
  height: 300px;
  margin: 60px auto;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-logos-carrusel {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: carouselVertical 35s linear infinite;
}

.client-logos img {
  position: absolute;
  width: 180px;
  height: 180px;
  left: 10px;
  top: 10px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
  transform-style: preserve-3d;
}

.client-logos img:nth-child(1) {
  transform: rotateX(0deg) translateZ(90px);
  animation: showImg1 35s linear infinite;
}

.client-logos img:nth-child(2) {
  transform: rotateX(90deg) translateZ(90px);
  animation: showImg2 35s linear infinite;
}

.client-logos img:nth-child(3) {
  transform: rotateX(180deg) translateZ(90px);
  animation: showImg3 35s linear infinite;
}

.client-logos img:nth-child(4) {
  transform: rotateX(270deg) translateZ(90px);
  animation: showImg4 35s linear infinite;
}

/* FOOTER */
.footer {
  background: #1a1a1d;
  display: grid;
  grid-template-columns: 1fr auto 2fr;
  grid-template-rows: 1fr auto;
  gap: 60px;
  padding: 60px 80px 0 80px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
  justify-self: center;
  margin-top: 70px;
  margin-left: 70px;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-self: center;
  margin-left: 70px;
}

.footer-logo {
  max-width: 130px;
  height: auto;
  margin-left: 50px;
}

.socials {
  display: flex;
  gap: 25px;
  padding-left: 100px;
  padding-top: 20px;
}

.socials a {
  display: inline-block;
  transition: all 0.3s ease;
}

.socials a:hover {
  transform: translateY(-2px);
}

.socials img {
  width: 42px;
  height: 42px;
  transition: all 0.3s ease;
}

.socials a:hover img {
  opacity: 0.8;
  filter: brightness(1.2);
}

.footer-image {
grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  margin-right: -80px;
  margin-top: -80px;
  max-width: 900px;
}

.footer-image img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-copyright {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  text-align: left;
  line-height: 1.4;
  margin-left: 170px;
  margin-bottom: 50px;

  
}

.footer-copyright p {
  margin: 0;
  white-space: nowrap;
}

/* PAGE SECTIONS */
.page-section {
  min-height: calc(100vh - 200px);
  padding: 80px 60px;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 42px;
  color: var(--violet);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  color: var(--gray);
}

.page-content {
  max-width: 900px;
  margin: 0 auto 60px;
}

.content-block {
  margin-bottom: 50px;
}

.content-block h2 {
  color: var(--violet);
  font-size: 28px;
  margin-bottom: 20px;
}

.content-block p {
  line-height: 1.8;
  color: var(--light);
  font-size: 16px;
}

.content-block ul {
  list-style: none;
  color: var(--light);
  line-height: 2;
  padding-left: 0;
}

.content-block li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.content-block li:before {
  content: '•';
  color: var(--violet);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* CLIENTES GRID */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.cliente-card {
  background: rgba(142, 121, 216, 0.1);
  border: 1px solid rgba(142, 121, 216, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 50px;
}

.card-icon {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  padding: 12px;
  width: 80px;
  height: 80px;
}

.card-icon img {
  height: 60px;
  object-fit: contain;
}

.cliente-card h2 {
  color: var(--violet);
  font-size: 20px;
  margin-bottom: 15px;
}

.cliente-card p {
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

.cliente-card ul {
  list-style: none;
  padding-left: 0;
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
}

.cliente-card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  text-align: justify;
}

.cliente-card ul li:before {
  content: '•';
  color: var(--violet);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* CASOS DE ESTUDIO */
.casos-section {
  margin-bottom: 80px;
}

.casos-section h2 {
  color: var(--violet);
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 400;
  margin-left: 150px;
}

.caso-estudio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.caso-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.caso-imagen img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.caso-imagen-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  margin-left: -25px;
}

.caso-imagen-logo img {
  max-width: 250px;
  height: auto;
  object-fit: contain;
}

.caso-contenido {
  max-width: 500px;
}

.caso-contenido p a img {
  max-width: 50px;
  height: auto;
}

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

.caso-contenido p {
  color: var(--light);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--dark-soft);
  border: none;
  color: var(--violet);
  box-shadow: inset 0 0 0 0.5px var(--violet);
}

.btn-secondary:hover {
  background: var(--violet);
  color: white;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transform: translateY(-2px);
}

.card a {
  text-decoration: none;
  color: var(--violet);
}

/* CONTACT FORM */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.contact-form h2,
.contact-info h2 {
  color: var(--violet);
  font-size: 24px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--light);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-soft);
  border: 1px solid rgba(123, 63, 228, 0.3);
  color: var(--light);
  padding: 12px 15px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
}

.contact-form .btn {
  align-self: flex-start;
}

.info-item {
  margin-bottom: 40px;
}

.info-item h3 {
  color: var(--violet);
  font-size: 16px;
  margin-bottom: 10px;
}

.info-item p {
  color: var(--light);
  line-height: 1.6;
}

.info-item a {
  color: var(--violet);
  text-decoration: none;
  transition: color 0.3s;
}

.info-item a:hover {
  color: #c9b8ff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  background: var(--dark-soft);
  border: 1px solid var(--violet);
  color: var(--violet);
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}

.social-btn:hover {
  background: var(--violet);
  color: var(--light);
}

.partners-showcase {
  text-align: center;
  margin: 60px 0;
  margin-top: 100px;
}

.partners-showcase h2 {
  color: var(--violet);
  margin-bottom: 40px;
}
/* logo */

@keyframes infiniteLoop {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-100px * 10), 0, 0);
    }
}

section {
    background: var(--off-white);
}

.brandsCarousel {
    max-width: 960px;
    max-height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.brandsCarousel::before,
.brandsCarousel::after {
    content: "";
    width: 100px;
    height: 100px;
    background: linear-gradient(to right, rgba(250, 250, 240, 1) 0%, rgba(250, 250, 240, 0) 100%);
    position: absolute;
    z-index: 2;
}

.brandsCarousel::before {
    top: 0;
    left: 0;
}

.brandsCarousel::after {
    top: 0;
    right: 0;
    transform: rotateZ(180deg);
}

.carouselTrack {
    width: calc(100px * 20);
    animation: infiniteLoop 10s linear infinite;
    animation-fill-mode: forwards;
    will-change: transform;
}

.brandLogo {
    width: 100px;
    height: 50px;
    align-items: center;
    margin: auto;
    overflow: hidden;
}

.brandLogo svg {
    width: 100px;
    height: 50px;
}

/* Partner Logos Carousel */
.partner-logos {
  max-width: 100%;
  max-height: 150px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.partner-logos::before,
.partner-logos::after {
  content: "";
  width: 100px;
  height: 150px;
  background: linear-gradient(to right, var(--dark) 0%, rgba(26, 26, 29, 0) 100%);
  position: absolute;
  z-index: 2;
}

.partner-logos::before {
  top: 0;
  left: 0;
}

.partner-logos::after {
  top: 0;
  right: 0;
  transform: rotateZ(180deg);
}

@keyframes partnerCarouselLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50px * 10), 0, 0);
  }
}

.partner-logos-carousel {
  width: calc(150px * 15);
  display: flex;
  animation: partnerCarouselLoop 15s linear infinite;
  will-change: transform;
}

.partner-logos-carousel img {
  width: 150px;
  height: 150px;
  align-items: center;
  margin: auto;
  overflow: hidden;
  object-fit: contain;
}

@import url(https://fonts.bunny.net/css?family=source-code-pro:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);

@keyframes beat {
    to {
        transform: scale(1.2);
    }
}

.copyrightNotice {
    font-family: 'Source Code Pro', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
}

#heart {
    width: 1rem;
    height: 1rem;
    animation: beat .25s infinite alternate;
}

a {
    text-decoration: none;
    color: var(--light-blue);
    position: relative;
}

a::after {
    content: "";
    width: 0;
    height: 0.125rem;
    left: 0;
    bottom: 0;
    transition: width .4s ease;
    background: var(--light-blue);
    position: absolute;
}

a:hover::after {
    width: 100%;
}
/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto 60px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(123, 63, 228, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: var(--dark-soft);
  border: none;
  color: var(--light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(123, 63, 228, 0.15);
}

.faq-icon {
  color: var(--violet);
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s;
}

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

.faq-answer {
  display: none;
  padding: 20px;
  background: rgba(123, 63, 228, 0.05);
  color: var(--light);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.faq-answer li {
  margin-bottom: 10px;
}

/* PRIVACY CONTENT STYLES */
.privacy-content {
  color: #e0e0e0 !important;
  line-height: 1.8;
}

.privacy-content h2 {
  color: #A78BFA;
  font-size: 32px;
  margin: 30px 0 15px;
  margin-top: 40px;
  font-weight: 400;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content h3 {
  color: #A78BFA !important;
  font-size: 18px;
  margin: 20px 0 10px;
  font-weight: 600;
}

.privacy-content p {
  margin-bottom: 15px;
  color: #e0e0e0 !important;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-content ul,
.privacy-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.privacy-content li {
  margin-bottom: 10px;
  color: #e0e0e0 !important;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-content a {
  color: #A78BFA;
  text-decoration: none;
  transition: color 0.3s;
}

.privacy-content a:hover {
  color: #d4a5ff;
  text-decoration: underline;
}

.privacy-content strong {
  color: #e0e0e0 !important;
  font-weight: 700 !important;
  display: inline !important;
  transition: none !important;
}

/* SOLUCIONES PAGE STYLES */
.soluciones-section {
  padding: 80px 60px 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.soluciones-header {
  text-align: center;
  margin-bottom: 100px;
}

.soluciones-header h1 {
  font-size: 48px;
  color: var(--violet);
  font-weight: 400;
}

.como-funciona-section {
  background: linear-gradient(to bottom, var(--violet-hover) 0%, var(--light) 100%);
  padding: 60px;
  margin: 80px calc(-50vw + 50%) 0 calc(-50vw + 50%);
  width: 100vw;
}

.como-funciona-title {
  text-align: center;
  font-size: 36px;
  color: #1a1a1d;
  margin-bottom: 40px;
  font-weight: 800;
}

.como-funciona-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-wrapper {
  flex: 1;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
}

.buttons-wrapper .btn {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.buttons-wrapper .btn-primary {
  background: var(--violet);
  color: var(--light);
}

.buttons-wrapper .btn-secondary {
  background: transparent;
  border: none;
  color: #1a1a1d;
  box-shadow: inset 0 0 0 0.5px #1a1a1d;
}

.buttons-wrapper .btn-secondary:hover {
  background: var(--violet);
  color: var(--light);
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transform: translateY(-2px);
}

.soluciones-video {
  width: 100%;
  max-width: 800px;
  margin: 60px auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.soluciones-video video {
  width: 100%;
  height: auto;
  display: block;
}

.soluciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

/* Las tarjetas de soluciones ahora usan estilos de cliente-card */

.soluciones-more {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px;
  background: rgba(142, 121, 216, 0.05);
  border-radius: 12px;
}

.soluciones-more h2 {
  color: var(--violet);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
}

.soluciones-more ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.soluciones-more ul li {
  color: var(--light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  text-align: left;
}

.soluciones-more ul li:before {
  content: '✓';
  color: var(--violet);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.soluciones-cta {
  text-align: center;
  margin-top: 60px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar {
    flex-direction: row;
    gap: 0;
    padding: 15px 20px;
  }
  
  .navbar-right {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: var(--dark);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    gap: 0;
    margin-left: 0;
    align-items: stretch;
  }
  
  .navbar-right.active {
    max-height: 500px;
  }
  
  .navbar nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
  }
  
  .navbar nav a {
    margin-left: 0;
    padding: 12px 20px;
    display: block;
  }
  
  /* Dropdown mobile styles */
  .navbar nav .dropdown {
    margin-left: 0;
    width: 100%;
  }
  
  .navbar nav .dropdown .dropdown-toggle {
    width: 100%;
    padding: 12px 20px;
    margin: 0;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  
  .navbar nav .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .navbar nav .dropdown-menu {
    position: static;
    margin: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(142, 121, 216, 0.08);
    min-width: auto;
  }
  
  .navbar nav .dropdown-menu a {
    padding: 10px 40px;
    display: block;
    text-align: center;
  }
  
  .lang-switcher-header {
    flex-direction: row;
    gap: 10px;
    border-top: 1px solid rgba(142, 121, 216, 0.2);
    padding: 15px 20px 0;
  }
  
  .navbar nav .dropdown-menu a {
    padding: 8px 15px;
  }
  
  .hero,
  .info,
  .cards,
  .clients,
  .page-section {
    padding: 40px 20px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    padding: 40px 20px;
  }
  
  .hero h1 {
    font-size: 32px;
    margin-top: 0;
    margin-left: 0;
    max-width: 100%;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 16px;
    text-align: left;
    margin-left: -1px;
  }
  
  .hero .btn {
    margin-left: 0;
  }
  
  .hero-text {
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero-image {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
    margin-top: 20px;
  }
  
  .hero-image img {
    max-width: 100%;
    margin-top: 0;
    margin-left: 12px;
  }
  
  .hero-text,
  .info-text {
    max-width: 100%;
    white-space: normal;
    margin-left: 0;
    padding: 20px 0px;
    gap: 5px;
    padding-left: 40px;
  }
  
  .info-text p {
    font-size: 16px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .card {
    min-width: auto;
  }
  
  .page-cta {
    flex-direction: column;
    align-items: center;
  }

  .page-cta .btn {
    width: auto;
  }
  
  .footer {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 40px 20px 10px 20px;
    gap: 30px;
  }
  
  .footer-left {
    order: 1;
    margin-left: 0;
  }
  
  .footer-links {
    order: 2;
    padding-top: 0;
    margin-top: 0;
    margin-left: 0;
    align-items: center;
  }
  
  .footer-logo {
    max-width: 140px;
    margin-left: 25px;
  }
  
  .socials {
    gap: 20px;
    padding-left: 0;
    justify-content: center;
  }
  
  .socials img {
    width: 36px;
    height: 36px;
  }
  
  .footer-image {
    order: 4;
    grid-column: 1;
    grid-row: auto;
    margin: 0;
    max-width: 100%;
    align-self: stretch;
  }
  
  .footer-copyright {
    order: 5;
    grid-column: 1;
    grid-row: auto;
    text-align: center;
    justify-self: center;
    padding-right: 0;
    padding-bottom: 20px;
    margin-left: 0;
    margin-bottom: 0;
  }
  
  .footer-copyright p {
    white-space: normal;
  }

  .soluciones-section {
    padding: 40px 20px;
  }

  .soluciones-header h1 {
    font-size: 32px;
  }

  .soluciones-video {
    margin-bottom: 40px;
  }

  .como-funciona-section {
    padding: 40px 20px;
    margin: 40px -20px 20px -20px;
  }

  .como-funciona-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .como-funciona-content {
    flex-direction: column;
    gap: 30px;
  }

  .video-wrapper {
    max-width: 100%;
  }

  .buttons-wrapper {
    width: 100%;
  }

  .buttons-wrapper .btn {
    width: 100%;
  }

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



  .solucion-card-more .solucion-icon-multiple {
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .solucion-card-more .solucion-icon-multiple img {
    transform: none;
    max-width: 140px;
  }

  .solucion-card:nth-child(1),
  .solucion-card:nth-child(2),
  .solucion-card:nth-child(3),
  .solucion-card:nth-child(4),
  .solucion-card:nth-child(5) {
    grid-area: auto;
  }

  .solucion-card:nth-child(5) {
    margin-top: 0;
    margin-right: 0;
  }

  .solucion-icon {
    justify-content: center;
    margin-bottom: 15px;
  }

  .solucion-icon img {
    width: 80px;
  }

  .solucion-content h2 {
    font-size: 20px;
    text-align: center;
  }

  .solucion-content p,
  .solucion-content ul {
    text-align: left;
  }
}

/* DTD PAGE STYLES */
.dtd-section {
  padding: 80px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.dtd-what-is,
.dtd-why,
.dtd-commitment,
.dtd-value-proposition {
  margin-bottom: 80px;
}

.dtd-what-is h2,
.dtd-why h2,
.dtd-commitment h2,
.dtd-value-proposition h2 {
  color: #A78BFA;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
}

.dtd-what-is p,
.dtd-commitment p {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.dtd-what-is p strong,
.dtd-commitment p strong {
  font-weight: 700;
}

.dtd-why ul {
  list-style: none;
  padding-left: 0;
}

.dtd-why ul li {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.dtd-why ul li:before {
  content: '•';
  color: var(--violet);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.dtd-why ul li:last-child:before {
  content: '';
  display: none;
}

.dtd-why ul li:last-child {
  padding-left: 0;
}

.dtd-why ul li em {
  font-style: italic;
  font-weight: 600;
}

.value-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.value-lists {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-column h3 {
  color: #A78BFA;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 30px;
}

.value-column h3:first-of-type {
  margin-top: 0;
}

.value-column ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.value-column ul li {
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 0;
}

.value-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  max-width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
}

.dtd-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-primary {
  display: inline-block;
  background: var(--violet-dark);
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--violet-hover);
  color: #ffffff;
  box-shadow: inset 0 0 0 0.5px #ffffff;
  transform: translateY(-2px);
}

/* DTD Responsive */
@media (max-width: 768px) {
  .clientes-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cliente-card {
    padding: 20px;
  }

  .card-icon {
    display: none;
  }

  .card-icon img {
    display: none;
  }

  .cliente-card h2 {
    font-size: 18px;
  }

  .cliente-card p {
    font-size: 13px;
  }

  .casos-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    margin-left: 0;
  }

  .caso-estudio {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .caso-imagen-logo {
    justify-content: center;
    margin-left: 0;
  }

  .caso-contenido h3 {
    font-size: 20px;
  }

  .caso-contenido p {
    font-size: 13px;
  }

  .faq-question {
    text-align: left;
  }

  .faq-icon {
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .dtd-section {
    padding: 40px 20px;
  }

  .value-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .value-image {
    order: -1;
  }

  .phone-mockup {
    max-height: 500px;
  }

  .dtd-what-is h2,
  .dtd-why h2,
  .dtd-commitment h2,
  .dtd-value-proposition h2 {
    font-size: 24px;
  }
}

/* Floating Validate Button */
.float-validate-btn {
  position: fixed;
  top: 15vh;
  right: 30px;
  width: 80px;
  height: 80px;
  background: var(--violet);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(142, 121, 216, 0.4);
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  pointer-events: auto;
}

.float-btn-text {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  max-width: 45px;
  text-align: center;
}

.float-validate-btn svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  margin: 0 auto;
  margin-top: -28px;
  opacity: 1;
  pointer-events: none;
  flex-shrink: 0;
}

.float-btn-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-validate-btn:hover {
  background: var(--violet-hover);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 16px rgba(142, 121, 216, 0.6);
  width: auto;
  padding: 12px 16px;
  border-radius: 60px;
}

.float-validate-btn:hover .float-btn-text {
  opacity: 1;
}

.float-validate-btn:hover svg {
  opacity: 0;
}

.float-validate-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .float-validate-btn {
    top: 14vh;
    right: 20px;
    width: 70px;
    height: 70px;
  }

  .float-validate-btn svg {
    width: 28px;
    height: 28px;
    margin-top: -35%;
  }

  .float-validate-btn:hover {
    width: auto;
    padding: 10px 14px;
  }

  .float-validate-btn:hover svg {
    width: 18px;
    height: 18px;
  }
}
