/*<style>*/
  /* Variables and base styles */
  :root {
    --primary: #640D5F;
    --secondary: #D91656;
    --tertiary: #EB5B00;
    --quaternary: #FFB200;
    --quintenary: #04d353;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
  }



  /* Preloader */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-logo {
  width: 150px;
  margin-bottom: 20px;
}

.preloader-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle {
  fill: none;
  stroke: var(--primary, #3498db);
  stroke-dasharray: 339.292; /* Circunferencia del círculo (2 * Math.PI * radio) */
  stroke-dashoffset: 339.292; /* Inicia vacío */
  transition: stroke-dashoffset 0.2s linear;
  r: 54;
  cx: 60;
  cy: 60;
}

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: bold;
  color: var(--primary, #3498db);
}


  /* Header & Navigation */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(45deg,rgba(250, 110, 156, 1),rgba(100,13,95,1));

    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Change to space-between to push items apart */
  }
  .bytokio {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: larger;
    font-weight: bold;
    text-decoration: none;
    color: white;

  }

  .languages {
    display: flex;
    gap: .5rem;

  }

  .lang-button {
    background-color: transparent;
    font-size: 1.25rem;
    border: 0;
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    margin-right: 1rem; /* Add margin to separate from flags */
  }

  .logo img {
    height: 80px;
  }

  .language-flags {
    margin-left: 0; /* Remove left margin */
    margin-right: auto; /* Push navigation to the right */
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .language-flags img {
    width: 24px;
    height: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
  }

  .language-flags img:hover {
    transform: scale(1.1);
  }

  nav {
    margin-left: auto; /* Push nav to the right */
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
  }

  .nav-menu a {
    text-decoration: none;
    color: rgb(255, 255, 255);
  }

  .nav-menu span {
    color: var(--secondary);
  }

  .hamburger {
    color: white;
    display: none;
    cursor: pointer;

  }


  /* Sections */
  section {
    min-height: 100vh;
    padding: 80px 20px 20px;
    position: relative;
  }

  .section-divider {
    height: 0px;
    background: rgba(0,0,0,0.1);
    margin: 0;
  }

  /* Home Section */
  #inicio {
    background: linear-gradient(45deg, rgba(100,13,95,0.8), rgba(217,22,86,0.8));
    display: flex;
    flex-wrap: wrap;
  }

  .background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .background-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transition: opacity 1s;
  }

  .left-side, .right-side {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }

/* Contenedor principal */
.category-box {
  display: inline-block; /* Para que sean como "bloques" dentro del flujo */
  width: 35%; /* Ajusta el tamaño según tus necesidades */
  margin: 10px;
  position: relative;
}

/* Para forzar proporción 1:1 (cuadrados) */
.img-container {
  position:relative

  }

/* Imagen */
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen para que cubra el contenedor */
}



/* Título superpuesto */
/* Título centrado */
/* Overlay del título */
/* Título siempre visible */
.title-overlay {
  position: absolute;
  bottom: 10px;
  width: 99%;
  background: rgba(0, 0, 0, 0.0);
  color: white;
  padding: 10px 0;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

  .slogan {
    font-size: 3rem;
    color: white;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
  }

  
  .slogan2 {
    font-size: 4rem;
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
  }

  /* Contact Form */
  #mail {
    padding: 80px 20px;
    background: linear-gradient(45deg, rgba(235,91,0,0.8), rgba(255,178,0,0.8));
  }

  .contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
  }

  .form-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .form-header h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .form-header p {
    color: #666;
    font-size: 1.1rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
    position: relative;
  }

  .form-group label {
    position: absolute;
    left: 1rem;
    top: -0.5rem;
    background: white;
    padding: 0 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(100,13,95,0.1);
  }

  .submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217,22,86,0.3);
  }



  /* Footer */
  footer {
    background: linear-gradient(45deg,rgba(100,13,95,1), rgba(250, 110, 156, 1) );
    color: white;
    padding: 2rem;
    text-align: center;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .social-icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s;
  }

  .social-icons a:hover {
    color: var(--quaternary);
  }

  /* Chat Button */
  .chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--quintenary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 1);
    transition: transform 0.3s;
  }

  .chat-button:hover {
    transform: scale(1.1);
  }

  /* Somos Section Styles */
  #somos {
    padding: 80px 20px;
    background: linear-gradient(45deg, rgba(235,91,0,0.8), rgba(255,178,0,0.8));
  }

  .somos-header {
    text-align: center;
    font-size: 3rem;
    color: white;
    margin-bottom: 3rem;
  }

  .somos-header h2 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .somos-content {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 4rem;
  }

  .test-header {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
  }

  .test-header h3 {
    font-size: 1rem;
    margin-bottom: 2rem;
  }


  .test-header2 {
    text-align: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
  }

  .test-header2 h4 {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .test-content {
    max-width: 600px;
    margin: 0 auto;
    color: rgb(255, 255, 255);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1;
    text-align: justify;
    margin-bottom: 4rem;
  }

  .ventajas-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .cards-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .card-content {
    padding: 2rem;
  }

  .card-title-vid {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .card-text-vid {
    color: #333;
    text-align: justify;
    line-height: 1.6;
  }

  .card-title-exp {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .card-text-exp {
    color: #333;
    text-align: justify;
    line-height: 1.6;
  }

  /* Servicios Section Styles */
  #servicios {
    padding: 80px 20px;
    background: linear-gradient(45deg, rgba(100,13,95,0.8), rgba(217,22,86,0.8));
    color: white;
  }

  .servicios-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .servicios-header h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .servicios-targets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
  }

  .target {
    background: rgba(255,255,255,0.9);
    padding: 1rem 2rem;
    border-radius: 10px;
    color: var(--primary);
    font-weight: bold;
    flex: 1 1 200px;
    text-align: center;
  }

  .servicios-description {
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: justify;
    font-style: italic;
    line-height: 1.6;
    font-size: .9rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
  }

  .service-card:hover {
    transform: scale(1.15);
  }

  .service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .service-content {
    padding: 2rem;
  }

  .service-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .service-text {
    color: #333;
    text-align: justify;
    line-height: 1.6;
  }

/* Clientes Section Styles */
#clientes {
  padding: 80px 20px;
  background: linear-gradient(45deg, #640D5F, #EE66A6);
  color: white;
}

.clientes-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.titulo-clientes {
  font-size: 3rem;
  color: #ffffff;
}

.carousel-container {
  width: 400px;
  height: 400px;
  margin: 0 auto 3rem;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.news-reference {
  margin-top: 20px;
  color: white;
}

.news-text a {
  color: #FFD700;
  text-decoration: none;
}



  .carouselRedes-container {
    width: 400px;
    height: 400px;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  .carouselRedes-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .carouselRedes-slide.active {
    opacity: 1;
  }

  .carouselRedes-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }



  .news-reference {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .news-reference h3 {
    color: #640D5F;
    margin-bottom: 1rem;
  }

  .news-reference p {
    color: #333;
  }

  .news-reference2 {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .news-reference2 h3 {
    color: #640D5F;
    margin-bottom: 3rem;
  }

  .news-reference2 p {
    color: #333;
  }

  .news-reference a {
    color: #EE66A6;
    text-decoration: none;
    font-weight: bold;
  }

  .news-reference a:hover {
    color: #640D5F;
    text-decoration: underline;
  }

  /* Redes Section Styles */
  #redes {
    padding: 80px 20px;
    background: linear-gradient(45deg, rgba(100,13,95,0.8), rgba(217,22,86,0.8));
  }

  .redes-container {
    max-width: 100%px;    
    margin: 0 auto;
    text-align: center;
  }

  .redes-container h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .social-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
  }

  .social-card {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  }

  .social-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
  }

  .social-card span {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .social-card.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
  }

  .social-card.facebook {
    background: #1877F2;
    color: white;
  }

  .social-card.tiktok {
    background: #afafaf;
    color: white;
  }

  .social-card.whatsapp {
    background: #25D366;
    color: white;
  }

  .titulo-cliente {
    color: white;
  }

  @media (max-width: 768px) {
      .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0; /* Align dropdown to right */
        width: 100%;
        background: linear-gradient(45deg,rgba(250, 110, 156, 1),rgba(100,13,95,1));
        padding: 1rem;
        flex-direction: column;
      }

      .category-box {
        flex: 1 1 calc(50% - 10px); /* Mantiene dos elementos por fila */
        width: 48%; /* Dos por fila en pantallas medianas */

      }

     

    /* Diseño responsivo */

    .img-container {
        width: 80%;
        margin: 0 auto; /* Centra el contenedor */
        text-align: center; /* Centra las imágenes */
    }

    .img-container img {
        display: block; /* Hace que cada imagen ocupe toda la línea */
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-bottom: 10px; /* Espacio entre imágenes */
    }

    .title-overlay {
      font-size: 0.8rem; /* Reduce el tamaño del texto en pantallas pequeñas */
      padding: 8px 15px; /* Ajusta el espacio del texto */
      width: 39.5%;
    }

    .contact-form {
           padding: 2rem;
         }

         
    .nav-menu.active {
      display: flex;
    }

    .hamburger {
      display: block;
    }

    .left-side, .right-side {
      flex: 100%;
    }

    .slogan {
      font-size: 1.8rem;
    }

    .cards-container {
      flex-direction: column;
    }
    
    .card {
      max-width: 100%;
    }

    .services-grid {
      grid-template-columns: 1fr;
    }

    .social-card {
      width: 150px;
      height: 150px;
    }
    
    .social-card i {
      font-size: 3rem;
    }
    
    .social-card span {
      font-size: 1rem;
    }

    .language-flags {
      margin-left: 1rem;
      gap: 0.5rem;
    }
  
    .language-flags img {
      width: 20px;
      height: 15px;
    }


    #whatsapp-chat {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
    }
    
    #whatsapp-chat img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }


    .carouselRedes-container {
      width: 60%; /* Ancho ajustado */
      height: 50%;
      aspect-ratio: 4 / 4; /* Relación de aspecto más cuadrada */
    }

    .carouselRedes-slide img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

/* Ajuste responsivo */
@media (max-width: 480px) {
  .category-box {
    flex: 1 1 calc(60% - 10px); /* Mantiene dos elementos por fila */
  }

  .title-overlay {
    font-size: 0.8rem; /* Reduce el tamaño del texto en pantallas pequeñas */
    padding: 8px 15px; /* Ajusta el espacio del texto */
    width: 39%;
  }

  .carouselRedes-container {
    width: 100%; /* Usa todo el ancho disponible */
    height: 90%;
    aspect-ratio: 1 / 1; /* Contenedor cuadrado */
  }
}


.languages {
    position: relative;
    display: inline-block;
    z-index: 1000;
}



.language-selector {
    position: relative;
    display: inline-block;
}

.current-language {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.current-language:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.current-language img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.current-language span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    flex-grow: 1;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.3s ease;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    margin-top: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.lang-option:hover {
    background: rgba(103, 126, 234, 0.1);
    transform: translateX(4px);
}

.lang-option.selected {
    background: rgba(103, 126, 234, 0.15);
    font-weight: 600;
}

.lang-option img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-option span {
    color: #333;
    font-weight: 500;
}

.lang-option.selected span {
    font-weight: 600;
    color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .current-language {
        min-width: 100px;
        padding: 6px 10px;
    }
    
    .current-language span {
        font-size: 13px;
    }
    
    .lang-option {
        padding: 8px 10px;
        font-size: 13px;
    }
}


}