:root {
    --body-background-color:#fceffe;
    --primary-color: #634358;
    --secondary-color: #927281;
    --h2-color:#638cb2;
    --text-color: #150937;
    --navbar-bg-color: transparent;
    --navbar-bg-toggler-color:#fceffe;
    --navbar-bg-toggler-color-ejemplos:linear-gradient( to bottom,#fceffe,#fceffee4);;
    --navbar-scroll-toggler-bg-color: #fceffe;
    --navbar-scroll-bg-color: linear-gradient( to bottom,#fceffe,#fceffe9d);
    --navbar-brand-color: #e3e6f1;
    --navbar-links-scrolling-shadow: #695a5afe;
    --navbar-links-scrolling-color: #664a4a;
    --navbar-links-color: #754949;
    --navbar-links-shadow-color:#ffffff;
    --navbar-hamburgericon-up-color:  #d5a4c4;
    --navbar-hamburgericon-middle-color: #d5a4c4;
    --navbar-hamburgericon-down-color: #d5a4c4;
    --navbar-hamburgericon-up-scrolling-color:  #d2acd8;
    --navbar-hamburgericon-middle-scrolling-color: #d2acd8;
    --navbar-hamburgericon-down-scrolling-color: #d2acd8;
    --hero-text-color:#0d2043;
    --hero-text-border-color:#0d2043;
    --hero-text-bg:#abc1eb;
    --carousel-cta-bt-bg-color:transparent;
    --carousel-text-color:#a9ccec;
    --carousel-text-shadow-color:#638cb2;
    --carousel-cta-bt-bd-hover-color:#a63c3ac7;
    --carousel-cta-bt-text-hover-color:#f7fff0;
    --carousel-cta-bt-text-color:#6d94b8;
    --carousel-bt-color:#d2acd8; 
    --servicios-text-color: #ededed;
    --servicios-card-bg-color: #fff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-size: 2.5rem;
    --text-size: 1.5rem;
    --footer-bg: #222;
    --footer-text: #ddd;
  }

  @font-face {
    font-family: 'quebab';
    src: url('/fonts/Quebab-Shadow-ffp.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  

  body {
    font-family: var(--font-family);
    color: var(--text-color);
    scroll-behavior: smooth; /* Smooth scrolling */
  }

  .mchic-fondo{
    background-image: url('/mchicassets/img/mchic-fondo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  h2{
    color:var(--h2-color);
  }

  html, body {
    overflow-x: hidden;
    
  }

  /* Loader */
  #loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }
  .spinner-border {
    width: 3rem; height: 3rem;
  }

  /* Navbar */
  .navbar {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: var(--navbar-bg-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .navbar.scrolled {
    background: var(--navbar-scroll-bg-color); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .navbar-ejemlos-bg {
    background: var(--navbar-bg-toggler-color-ejemplos); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .navbar-brand{
    color: var(--navbar-brand-color) !important;
    text-shadow: 1px 4px 4px var(--navbar-links-scrolling-shadow);
  }

  .navbar-brand:hover{
    color: var(--navbar-brand-color) !important;
  }

  .navbar-toggler {
    border: none;
  }


  .nav-link{
    color:var(--navbar-links-color) !important;
  }

  .navbar-toggler:focus { box-shadow: none; }
  .navbar-toggler-icon {
    background-image: none !important;
    background-color: var(--navbar-hamburgericon-middle-color) !important;
    width: 24px; height: 2px;
    display: block;
    position: relative;
    transition: all 0.3s;
  }

  .navbar-toggler-icon::before {
    content: '';
    width: 24px; height: 2px;
    background-color: var(--navbar-hamburgericon-up-color);
    position: absolute; left: 0;
    transition: all 0.3s;
  }

  .navbar-toggler-icon::after {
    content: '';
    width: 24px; height: 2px;
    background-color: var(--navbar-hamburgericon-down-color);
    position: absolute; left: 0;
    transition: all 0.3s;
  }
  .navbar-toggler-icon::before { top: -8px; }
  .navbar-toggler-icon::after { top: 8px; }

  .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: var(--navbar-scroll-toggler-bg-color);
  }

  .navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: rotate(45deg); top: 0;
  }
  .navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg); top: 0;
  }

  /* Navbar links default (on top of hero video/image) */
  .navbar .nav-link,
  .navbar .navbar-brand,
  .navbar .navbar-toggler-icon {
    transition: color 0.3s ease;
  }

  /* When scrolled (dark text on white bg, for example) */
  .navbar.scrolled .nav-link,
  .navbar.scrolled .navbar-brand {
    color: var(--navbar-links-scrolling-color) !important; 
  }

  /* Custom hamburger icon color when scrolled */
  .navbar.scrolled .navbar-toggler-icon {
    background-color: var(--navbar-hamburgericon-middle-scrolling-color) !important;
  }

  .navbar.scrolled .navbar-toggler-icon::after {
    background-color: var(--navbar-hamburgericon-up-scrolling-color);
  }

  .navbar.scrolled .navbar-toggler-icon::before {
    background-color: var(--navbar-hamburgericon-down-scrolling-color);
  }

  .nav-link{
    text-shadow: 2px 2px 5px var(--navbar-links-shadow-color);
  }

  /* nav bar logo */

.navbar-logo {
  height: 60px !important;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Optional hover effect */
.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

.navbarservicesmenu-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--navbar-bg-toggler-color);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 8px 0;
  min-width: 180px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.25s ease;
}


.navbarservicesmenu-dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  transition: background-color 0.25s;
}

.dropdown-item:hover {
  background-color: #f3f8fa;
  color: #00a2d3;
}

/* Optional: smaller logo on mobile */
@media (max-width: 768px) {
  .navbar-logo {
    height: 26px;
  }
}

.navbar.scrolled .navbar-logo {
  content: url('/mchicassets/img/logo-icono.webp');
}


  /*------*/
  /* Hero */
  /*------*/

  .hero-video-cont{
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-video{
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .hero-img{
    width: 90%;
    height: auto;
    z-index: 2;
  }

  .hero-carousel-container{
    position:relative;
    min-width: 100%;
    margin: auto;
    overflow: hidden;
  }

  .hero-carousel-container-item{
    width: 100%;
    display: flex;
    transition: transform 0.5s ease;
  }

  .hero-carousel-item{
    min-width: 100%;
    position: relative;
  }

  .hero-carousel-img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    overflow: hidden;
  }

  .hero-carousel-button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--carousel-bt-color);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.5rem;
    z-index: 1;
  }

  .hero-text{
    font-family: 'quebab';
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    background-color: var(--hero-text-bg);
    border-radius: 20px;
    border-color: var(--hero-text-border-color);
    border-width: 25px;
    color: var(--hero-text-color);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 4rem;
    z-index: 2;
  }

  /* CAROUSEL*/

  .left{left: 10px;}
  .right{right:10px;}

  .carousel-caption {
    position: absolute;
    bottom: 0%;
    left: 10%;
    opacity: 0;
    transform: translateY(0px);
    transition: all 0.5s ease;
    z-index: 1;
  }
  
  .carousel-caption.show-caption {
    opacity: 1;
    transform: translateY(-15%);
  }

  .carousel-caption h1{
    font-size: 3rem;
    margin-bottom: 1rem;
    color:var(--carousel-text-color);
    text-shadow: 2px 2px 2px var(--carousel-text-shadow-color);
  }

  .carousel-caption p{
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    background-color: var(--carousel-cta-bt-bg-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color:var(--carousel-cta-bt-text-color);
  }

  .cta-btn:hover{
    background-color: var(--carousel-cta-bt-bd-hover-color);
    color: var(--carousel-cta-bt-text-hover-color);
  }

  /* TEXTO MCHIC */

  .sectiontextmchic {
    padding: 140px 80px;
    text-align: center;
    }

    .sectiontextsubsite{
      padding: 140px 80px 1px 80px;
      text-align: center;
    }
    
    .reveal {
    background: var(--body-background-color);
    }
    
    .glitch {
    font-size: 40px;
    font-weight: 600;
    position: relative;
    color: #fff;
    }

    .glitch-texto-largo{
      font-size: 20px;
      font-weight: 600;
      position: relative;
      color: #fff;
    }
    
    .glitch::before,
    .glitch::after,
    .glitch-texto-largo::before,
    .glitch-texto-largo::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    }
    
    .glitch::before,
    .glitch-texto-largo::before {
    color: #efc5b9;
    clip-path: inset(0 0 50% 0);
    animation: glitchTop 2s infinite;
    }
    
    .glitch::after,
    .glitch-texto-largo::after {
    color: #d3e3d6;
    clip-path: inset(50% 0 0 0);
    animation: glitchBottom 2s infinite;
    }
    
    @keyframes glitchTop {
    0% { transform: translate(0); }
    50% { transform: translate(-4px, -4px); }
    100% { transform: translate(0); }
    }
    
    @keyframes glitchBottom {
    0% { transform: translate(0); }
    50% { transform: translate(4px, 4px); }
    100% { transform: translate(0); }
    }

    .sectiontext-caracteristicas{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sectiontext-caracteristicas-icon{
      font-size: 3rem;
    }

    
    /*----------------*/
    /* NOSOTROS TEXTO */
    /*----------------*/

    .nosotros-text {
      text-align: justify;
    }

  /*------------*/
  /* servicios  */
  /*------------*/

  .carousel {
    padding: 100px 0;
  }

  .swiper {
    width: 90vw;
    height: 90vw;
   
  }

  .swiper-slide {
    background-size: contain;
    background-position: center;
    width: 70vw;
    height: 90vw;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
  }

  .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 250, 250, 0.8), transparent);
  }

  .slide-text {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    font-size: 24px;
    font-weight: 600;
  }

  /* ANIMACIONES SCROLL */
  .fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s ease;
  }

  .fade-up.show {
    opacity: 1;
    transform: translateY(0);
  }

.services {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 120px;
  background: var(--body-background-color);
  }
  
  .card {
  width: 280px;
  height: 180px;
  background: linear-gradient(135deg, #ff4d6d, #6a00ff);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: 0.5s;
  }
  
  .card:hover {
  transform: rotateY(15deg) rotateX(10deg) scale(1.05);
  }

  .swiper-cta-btn {
    background-color: var(--carousel-cta-bt-bg-color);
    padding: 1% 3%;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color:var(--carousel-cta-bt-text-color);
  }

  .swiper-cta-btn:hover{
    background-color: var(--carousel-cta-bt-bd-hover-color);
    color: var(--carousel-cta-bt-text-hover-color);
  }


  @media(min-width:1000px){

   .swiper {
    width: 80vh;
    height: 70vh;
    } 

    .swiper-slide{
      width: 55vh;
    height: 70vh;
    }

  }

  /* CLIENTES */

 
 .clients {
  background: var(--body-background-color);
  padding: 120px 0;
  overflow: hidden;
}

.logos {
  overflow: hidden;
  position: relative;
}

.logos-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

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

.clientes-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
}
 
  /*-----------------------*/
  /* Bussiness description */
  /*-----------------------*/

  .business-description{
    width: 100%;
    max-width: 100vw;
    padding: 1vw 2vw 1vw 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
  }

  .business-dec-carousel-cont {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
  }

  /* --- Images Layer --- */
  .business-dec-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }

  .business-dec-carousel-slide.business-dec-carousel-active {
    opacity: 1;
    z-index: 1;
  }

  /* --- Text + Button Content --- */
  .business-dec-carousel-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) translateY(0px);
    text-align: center;
    opacity: 0;
    transition: all 1s ease;
    z-index: 1;
  }

  .business-dec-carousel-content.business-dec-carousel-active {
    opacity: 1;
    transform: translateX(-50%) translateY(-10%);
    
  }

  .business-dec-carousel-content h1 {
    color: var(--carousel-text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  }

  .business-dec-carousel-content button {
    background: var(--carousel-cta-bt-bg-color);
    border: none;
    color: var(--carousel-cta-bt-text-color);
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.3s;
  }

  .business-dec-carousel-content button:hover {
    background: var(--carousel-cta-bt-bd-hover-color);
  }

  /* --- Navigation Buttons --- */
  .business-dec-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    transition: background 0.3s;
  }

  .business-dec-carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .business-dec-carousel-prev {
    left: 20px;
  }

  .business-dec-carousel-next {
    right: 20px;
  }



  /*----------*/
  /* Services */
  /*----------*/

  .services .card {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    border: none;
    transition: transform 0.3s;
  }

  .services .card.active {
    background-color: var(--servicios-card-bg-color); 
    transition: background-color 0.3s;
  }
  
  .services .card:hover { transform: translateY(-10px); }

  .services video {
    width: 100%;
    display: block;
  }
  .services .card.active video { display: block; }

  .services-carousel-1-container,
  .services-carousel-2-container,
  .services-carousel-3-container,
  .services-carousel-4-container,
  .services-carousel-5-container{
    position:relative;
    width: 100%;
    height: 100vh;
    margin: auto;
    overflow: hidden;
  }

  .services-carousel-1-container-item,
  .services-carousel-2-container-item,
  .services-carousel-3-container-item,
  .services-carousel-4-container-item,
  .services-carousel-5-container-item{
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .services-carousel-1-item,
  .services-carousel-2-item,
  .services-carousel-3-item,
  .services-carousel-4-item,
  .services-carousel-5-item{
    min-width: 100%;
    height: 100%;
    position: relative;
  }

  .services-carousel-1-img,
  .services-carousel-2-img,
  .services-carousel-3-img,
  .services-carousel-4-img,
  .services-carousel-5-img{
    width: 100%;
    height: 100%;
    display: flex;
    object-fit: cover;
    overflow: hidden;
  }

  .services-carousel-1-button,
  .services-carousel-2-button,
  .services-carousel-3-button,
  .services-carousel-4-button,
  .services-carousel-5-button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--carousel-bt-color);
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.5rem;
    z-index: 1;
  }

  .services-carousel-1-button-left,
  .services-carousel-2-button-left,
  .services-carousel-3-button-left,
  .services-carousel-4-button-left,
  .services-carousel-5-button-left{left: 10px;}

  .services-carousel-1-button-right,
  .services-carousel-2-button-right,
  .services-carousel-3-button-right,
  .services-carousel-4-button-right,
  .services-carousel-5-button-right{right:10px;}

  



  /*---------------*/
  /* Why choose us */
  /*---------------*/
  .why-us .icon {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 3rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }

  /* Contact */
  .contact .bi {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 2rem;
    margin: 0 10px;
    color: var(--primary-color);
    transition: transform 0.3s;
  }
  .contact .bi:hover { transform: scale(1.2); }

  /* Footer */
  footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 20px 0;
  }

  /* Scroll-to-top */
  #scrollTopBtn {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  #scrollTopBtn:hover { background: var(--secondary-color) }

  /*-----------*/
  /* direccion */
  /*-----------*/

  .ubicacion_container{
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow: hidden;
    
  }

  .ubicacion_image iframe {
    width: 100%;
    height: 90vh;
    max-width: 100vw;
    display: block;
    border: none;
  }

  .ubicacion_image video {
    width: 100%;
    height: 90vh;
    max-width: 100vw;
    display: block;
    border: none;
  }

  .ubicacion_image{
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      overflow: hidden;
      margin: 0;
  }
      

  .ubicacion_text{
      flex: 1;
      width: 100%;
      height: auto;
      margin: 0;
      padding: 5px;
      text-align: center;
  }

  .ubicacion_text p{
      font-size: 1rem;
  }

  @media(min-width:768px){

    .ubicacion_container{
      flex-direction: row;
      align-items: center;
      justify-content: center;
      max-width: 100%;
    }

  }



  @media(min-width:1000px){

    /* Carousel */

    .hero-carousel-item{
      max-width: 400px;
      max-height: 800px;
    }
  
    .hero-carousel-img{
      
    }
    

  }

  /*----------*/
  /* SUBSITES */
  /*----------*/

.subsite-caract-col{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.subsite-caract-row{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.subsite-caract-item{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 5%;
  padding: 10px 10px;
  font-size: 1.5rem;
}

.subsite-caract-icon{
  font-size: 2rem;
  
}

.subsite-caract-icon-img{
  width: 50px%;
  height: 50px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* 👈 left corner */
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}