/* ============================================
   Widget Slider Startup - Estilos Scoped
   Todos los estilos están scoped bajo .slider-startup-widget
   ============================================ */

.slider-startup-widget {
  /* ============================================
     Estilos base de tipografía
     ============================================ */
  font-size: 16px;
  line-height: 1.7;
  font-family: var(--primary_font);
  font-weight: 400;
  color: var(--primary_color_font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  a {
    text-decoration: none;
    transition: 0.3s;
    color: var(--primary_color_font);
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

  /* ============================================
     Títulos
     ============================================ */
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    font-family: var(--primary_font);
    line-height: 1.4074;
    color: #fff;
    margin: 0 0 20px;
  }

  h1 {
    font-size: 100px;
    line-height: 1.19;
    font-weight: 700;
    
    @media only screen and (max-width: 1199px) {
      font-size: 90px;
    }
    
    @media only screen and (max-width: 991px) {
      font-size: 54px;
    }
    
    @media only screen and (max-width: 767px) {
      font-size: 46px;
      margin-bottom: 20px;
    }
    
    @media only screen and (max-width: 575px) {
      font-size: 36px;
    }
    
    @media only screen and (max-width: 480px) {
      font-size: 32px;
    }
  }

  p {
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
    color: #fff;
    margin: 0 0 30px;
  }

  /* ============================================
     Theme Gradient
     ============================================ */
  .theme-gradient {
    color: var(--primary_color);
  }

  /* ============================================
     Slider Area
     ============================================ */
  .slider-area {
    position: relative;
  }

  .slider-style-4 {
    position: relative;
    
    .inner {
      padding-top: 80px;
      
      @media only screen and (max-width: 767px) {
        padding-top: 50px;
      }
      
      > * {
        animation-name: fadeOutUp;
        animation-fill-mode: both;
        animation-duration: 1s;
      }
      
      .title {
        font-family: var(--primary_font);
        margin-bottom: 25px;
        display: block;
        font-size: 70px;
        line-height: 1.1;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        color: #fff;
        
        @media only screen and (max-width: 767px) {
          font-size: 42px;
        }
        
        @media only screen and (max-width: 575px) {
          font-size: 33px;
        }
      }
      
      .description {
        font-size: 22px;
        line-height: 43px;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        color: #fff;
        
        @media only screen and (max-width: 767px) {
          font-size: 20px;
          line-height: 35px;
          
          br {
            display: none;
          }
        }
        
        @media only screen and (max-width: 575px) {
          font-size: 16px;
          line-height: 28px;
        }
      }
      
      .button-group {
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
      }
    }
    
    .slick-active .inner > * {
      animation-name: fadeInUp;
    }
    
    .slick-active .inner .title {
      animation-delay: 0.5s;
    }
    
    .slick-active .inner .description {
      animation-delay: 1s;
    }
    
    .slick-active .inner .button-group {
      animation-delay: 1.2s;
    }
  }

  .slider-style-4.variation-2 {
    position: relative;
  }

  /* ============================================
     Padding Top 80
     ============================================ */
  .pt--80 {
    padding-top: 80px;
    
    @media only screen and (max-width: 767px) {
      padding-top: 60px;
    }
  }

  /* ============================================
     Row 30
     ============================================ */
  .row--30 {
    margin-left: -30px;
    margin-right: -30px;
    
    @media only screen and (min-width: 1200px) and (max-width: 1599px) {
      margin-left: -15px;
      margin-right: -15px;
    }
    
    @media only screen and (min-width: 992px) and (max-width: 1199px) {
      margin-left: -15px;
      margin-right: -15px;
    }
    
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      margin-left: -15px;
      margin-right: -15px;
    }
    
    @media only screen and (max-width: 767px) {
      margin-left: -15px !important;
      margin-right: -15px !important;
    }
    
    > [class*="col"], > [class*="col-"] {
      padding-left: 30px;
      padding-right: 30px;
      
      @media only screen and (min-width: 1200px) and (max-width: 1599px) {
        padding-left: 15px;
        padding-right: 15px;
      }
      
      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        padding-left: 15px;
        padding-right: 15px;
      }
      
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        padding-left: 15px !important;
        padding-right: 15px !important;
      }
    }
  }

  /* ============================================
     Margin Utilities
     ============================================ */
  .mt--0 {
    margin-top: 0 !important;
  }

  .mt--5 {
    margin-top: 5px !important;
  }

  .mt--10 {
    margin-top: 10px !important;
  }

  .mt--15 {
    margin-top: 15px !important;
  }

  .mt--20 {
    margin-top: 20px !important;
  }

  .mt--25 {
    margin-top: 25px !important;
  }

  .mt--30 {
    margin-top: 30px !important;
  }

  .mt--40 {
    margin-top: 40px !important;
  }

  .mb--0 {
    margin-bottom: 0 !important;
  }

  .mb--5 {
    margin-bottom: 5px !important;
  }

  .mb--10 {
    margin-bottom: 10px !important;
  }

  .mb--15 {
    margin-bottom: 15px !important;
  }

  .mb--20 {
    margin-bottom: 20px !important;
  }

  .mb--25 {
    margin-bottom: 25px !important;
  }

  .mb--30 {
    margin-bottom: 30px !important;
  }

  .mb--40 {
    margin-bottom: 40px !important;
  }

  /* ============================================
     Padding Utilities
     ============================================ */
  .pt--0 {
    padding-top: 0 !important;
  }

  .pt--5 {
    padding-top: 5px !important;
  }

  .pt--10 {
    padding-top: 10px !important;
  }

  .pt--15 {
    padding-top: 15px !important;
  }

  .pt--20 {
    padding-top: 20px !important;
  }

  .pt--25 {
    padding-top: 25px !important;
  }

  .pt--30 {
    padding-top: 30px !important;
  }

  .pt--40 {
    padding-top: 40px !important;
  }

  .pb--0 {
    padding-bottom: 0 !important;
  }

  .pb--5 {
    padding-bottom: 5px !important;
  }

  .pb--10 {
    padding-bottom: 10px !important;
  }

  .pb--15 {
    padding-bottom: 15px !important;
  }

  .pb--20 {
    padding-bottom: 20px !important;
  }

  .pb--25 {
    padding-bottom: 25px !important;
  }

  .pb--30 {
    padding-bottom: 30px !important;
  }

  .pb--40 {
    padding-bottom: 40px !important;
  }

  /* ============================================
     Text Start
     ============================================ */
  .text-start {
    text-align: left;
  }

  /* ============================================
     Height 850
     ============================================ */
  .height-850 {
    height: 850px;
    display: flex;
    align-items: center;
    
    @media only screen and (max-width: 1199px) {
      height: 710px;
    }
    
    @media only screen and (max-width: 991px) {
      height: auto;
      padding: 150px 0;
    }
    
    @media only screen and (max-width: 767px) {
      height: auto;
      padding: 100px 0;
    }
  }

  /* ============================================
     Background Images (bg_image)
     ============================================ */
  .bg_image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
  }

  /* Background images ahora son inline con XImage */

  /* ============================================
     Data Black Overlay
     ============================================ */
  [data-black-overlay] {
    position: relative;
  }

  [data-black-overlay] > div,
  [data-black-overlay] > * {
    position: relative;
    z-index: 2;
  }

  [data-black-overlay]:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
  }

  [data-black-overlay="1"]:before {
    background-color: #000000;
    opacity: 0.1;
  }

  /* ============================================
     Banner Startup Agency Content
     ============================================ */
  .banner-startup-agency-content {
    background: rgba(255, 255, 255, 0.0588235294);
    padding: 70px 180px 50px 80px !important;
    border-radius: 6px;
    border-left: 10px solid var(--primary_color);
    border-right: 4px solid #fefefe;
    max-width: max-content;
    margin: 0;
    backdrop-filter: blur(5px);
    overflow: hidden;
    margin-top: -30px;
    
    @media only screen and (max-width: 991px) {
      padding: 50px 80px 50px 60px !important;
    }
    
    @media only screen and (max-width: 767px) {
      padding: 30px !important;
    }
    
    @media only screen and (max-width: 575px) {
      padding: 25px !important;
    }
    
    .title {
      margin-top: 25px;
      color: #fff;
      
      @media only screen and (max-width: 991px) {
        font-size: 46px !important;
      }
      
      @media only screen and (max-width: 767px) {
        font-size: 36px;
      }
      
      @media only screen and (max-width: 575px) {
        font-size: 32px !important;
      }
    }
    
    p.description {
      line-height: 1.5 !important;
      color: #fff;
    }
    
    .social-icon {
      justify-content: flex-start;
      
      li a:hover {
        transform: translateY(-3px);
        
        i {
          color: #fff;
        }
        
        &::after {
          transform: scale(1.05);
        }
      }
    }
    
    .button-group {
      justify-content: flex-start;
    }
  }

  /* ============================================
     Tmp Badge 2
     ============================================ */
  .tmp-badge-2 {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    font-weight: 500;
    padding: 0px 14px;
    border-radius: 4px;
    display: inline-block;
    background: var(--primary_color);
    color: #fff;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s;
    margin-bottom: 15px;
    
    &:hover {
      background: var(--primary_color);
      color: #fff;
    }
  }

  /* ============================================
     Estilos de Botones (.tmp-btn)
     ============================================ */
  .tmp-btn,
  .btn-default {
    padding: 0 28px;
    border-radius: 5px;
    background: var(--primary_color);
    transition-duration: 300ms;
    color: #ffffff;
    font-family: var(--primary_font);
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    display: flex;
    height: 50px;
    line-height: 49px;
    letter-spacing: 0.5px;
    width: max-content;
    transition: 0.4s;
    border: 0 none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.6s;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  @media only screen and (max-width: 767px) {
    .tmp-btn,
    .btn-default {
      padding: 0 16px;
      height: 42px;
      line-height: 42px;
    }
  }

  .tmp-btn::after {
    position: absolute;
    content: "";
    transition-duration: 800ms;
    width: 200%;
    height: 200%;
    top: 110%;
    left: 50%;
    background: var(--primary_color);
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: -1;
  }

  .tmp-btn i {
    padding-left: 6px;
    display: inline-block;
    top: 2px;
    position: relative;
    font-size: 17px;
    line-height: 1;
  }

  .tmp-btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tmp-btn .btn-icon i {
    padding-left: 6px;
    padding-right: 0;
    top: 0;
    font-size: 17px;
    display: inline-block;
  }

  .tmp-btn.btn-large {
    height: 60px;
    line-height: .3;
    padding: 0 37px;
    font-size: 17px;
  }

  @media only screen and (max-width: 767px) {
    .tmp-btn.btn-large {
      padding: 0 18px;
      font-size: 14px;
    }
  }

  .tmp-btn.round,
  .btn-default.round {
    border-radius: var(--general_border_radius);
  }

  .tmp-btn:hover {
    color: #ffffff;
    transform: translate3d(0, -2px, 0);
    background-color: transparent;
  }

  .tmp-btn:hover::after {
    opacity: 1;
    top: -30%;
  }

  .tmp-btn:focus {
    box-shadow: none;
    border: none;
    background-color: unset;
    background: var(--primary_color);
  }

  /* Botón hover-icon-reverse */
  .tmp-btn.hover-icon-reverse .icon-reverse-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tmp-btn.hover-icon-reverse .btn-text {
    display: inline-block;
    transition: transform 0.6s 0.125s cubic-bezier(0.1, 0.75, 0.25, 1);
    margin-inline-start: -23px;
    line-height: 1 !important;
  }

  .tmp-btn.hover-icon-reverse .btn-icon {
    display: inline-block;
    transition: opacity 0.4s 0.25s, transform 0.6s 0.25s;
    transition-timing-function: cubic-bezier(0.1, 0.75, 0.25, 1);
  }

  .tmp-btn.hover-icon-reverse .btn-icon + .btn-icon {
    margin-inline-end: 0;
    margin-inline-start: 8px;
    display: inline-block;
    margin-inline-start: 0;
    margin-inline-end: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition-delay: 0s;
    order: -2;
  }

  .tmp-btn.hover-icon-reverse .btn-icon + .btn-icon i {
    padding-left: 0;
    padding-right: 6px;
  }

  .tmp-btn.hover-icon-reverse:hover {
    transform: translate3d(0, -2px, 0);
  }

  .tmp-btn.hover-icon-reverse:hover .btn-text {
    transition-delay: 0.1s;
    transform: translateX(23px);
  }

  .tmp-btn.hover-icon-reverse:hover .btn-icon {
    opacity: 0;
    transition-delay: 0s;
    transform: translateX(10px);
  }

  .tmp-btn.hover-icon-reverse:hover .btn-icon + .btn-icon {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.225s;
  }

  /* ============================================
     Button Group
     ============================================ */
  .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: -10px;
    
    a,
    button {
      margin: 10px;
    }
  }

  /* ============================================
     Social Icon
     ============================================ */
  .social-icon {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .social-default {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
    margin: -8px;
    
    li {
      margin: 5px;
      
      a {
        width: 48px;
        background-color: #232324;
        height: 48px;
        line-height: 43px;
        text-align: center;
        display: inline-block;
        border-radius: 100%;
        transition: 0.3s;
        color: #fff;
        z-index: 2;
        position: relative;
        
        &::after {
          position: absolute;
          content: "";
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          z-index: -1;
          background: var(--primary_color);
          transform: scale(0.5);
          opacity: 0;
          transition: 0.3s;
          border-radius: 100%;
        }
        
        &:hover {
          color: #fff;
          
          &::after {
            transform: scale(1);
            opacity: 1;
          }
        }
        
        i {
          vertical-align: middle;
        }
      }
    }
    
    &.transparent-with-border {
      li a {
        line-height: 40px;
        background: #f1f1f1;
        border: 1px solid rgba(157, 157, 255, 0.05);
        color: var(--primary_color_font);
        
        &:hover {
          border-color: transparent !important;
          border: none;
          color: #fff;
        }
        
        &::after {
          border: 1px solid var(--primary_color);
        }
      }
    }
  }

  /* ============================================
     Font Weight Utilities
     ============================================ */
  .w-600 {
    font-weight: 600 !important;
  }

  .w-700 {
    font-weight: 700 !important;
  }

  /* ============================================
     Slider Dot Styles (tmp-slick-dot)
     ============================================ */
  .tmp-slick-dot .slick-dots {
    bottom: -60px;
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
  }

  @media only screen and (max-width: 575px) {
    .tmp-slick-dot .slick-dots {
      bottom: -50px;
    }
  }

  .tmp-slick-dot .slick-dots li {
    width: 30px;
    margin: 0;
    opacity: 1;
    position: relative;
    display: inline-block;
  }

  .tmp-slick-dot .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
  }

  .tmp-slick-dot .slick-dots li button::before {
    display: none;
  }

  .tmp-slick-dot .slick-dots li button::after {
    background: rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
  }

  .tmp-slick-dot .slick-dots li.slick-active {
    opacity: 1;
  }

  .tmp-slick-dot .slick-dots li.slick-active button::after {
    transform: translate(-50%, -50%) scale(2);
    box-shadow: inset 0 0 0 1px var(--primary_color);
    background-color: transparent;
  }

  /* Slider Dot Styles específico para slider-dot */
  .slider-dot.tmp-slick-dot .slick-dots {
    bottom: 60px;
    
    @media only screen and (max-width: 575px) {
      bottom: 50px;
    }
  }

  /* ============================================
     Slider Arrow Styles (tmp-slick-arrow)
     ============================================ */
  .tmp-slick-arrow {
    position: relative;
  }

  .tmp-slick-arrow button.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: 0.5s;
    opacity: 0;
    width: 68px;
    height: 68px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    color: rgba(255, 255, 255, 0.3);
    background-color: transparent;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    padding: 0;
  }

  @media only screen and (max-width: 1199px) {
    .tmp-slick-arrow button.slick-arrow {
      display: none !important;
    }
  }

  @media only screen and (max-width: 991px) {
    .tmp-slick-arrow button.slick-arrow {
      display: none !important;
    }
  }

  @media only screen and (max-width: 767px) {
    .tmp-slick-arrow button.slick-arrow {
      display: none !important;
    }
  }

  .tmp-slick-arrow:hover button.slick-arrow {
    opacity: 1;
  }

  .tmp-slick-arrow button.slick-arrow:hover {
    background: var(--primary_color);
    border-color: var(--primary_color) !important;
    transform: translateY(-50%) scale(1.2);
  }

  .tmp-slick-arrow button.slick-arrow.prev-arrow {
    left: 70px;
  }

  @media only screen and (max-width: 767px) {
    .tmp-slick-arrow button.slick-arrow.prev-arrow {
      left: 10px;
    }
  }

  .tmp-slick-arrow button.slick-arrow.prev-arrow:hover {
    left: 60px;
  }

  .tmp-slick-arrow button.slick-arrow.next-arrow {
    left: auto;
    right: 70px;
  }

  @media only screen and (max-width: 767px) {
    .tmp-slick-arrow button.slick-arrow.next-arrow {
      right: 10px;
    }
  }

  .tmp-slick-arrow button.slick-arrow.next-arrow:hover {
    right: 60px;
  }

  .tmp-slick-arrow button.slick-arrow i {
    display: block;
    font-size: 20px;
    line-height: 1;
  }
}

/* ============================================
   Keyframes (fuera del scope para que funcionen)
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
}

