

/* === ASSET CSS HASH: 4023e7b0f8ed14bc4c80bfa77d72cb1dd3ce8950 | GLOBAL === */

.header-widget {
  /* ============================================
     Estilos base de tipografía
     ============================================ */
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--secondary_color);
  font-family: var(--primary_font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  a {
    text-decoration: none;
    transition: 0.3s;
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }
  
  /* ============================================
     Estilos de Header Top Bar
     ============================================ */
  
  .header-top-bar {
    padding: 10px 0;
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-top-bar {
      background-color: var(--color-card);
    }
  }
  
  @media only screen and (max-width: 767px) {
    .header-top-bar {
      background-color: var(--color-card);
    }
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-top-bar .header-left {
      text-align: center;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .header-top-bar .header-left {
      text-align: center;
    }
  }
  
  .header-top-bar .header-left p {
    margin-bottom: 0;
    color: var(--color-body);
    font-size: 14px;
    font-family: var(--primary_font);
  }
  
  .header-top-bar .header-left p a {
    color: var(--color-body);
    transition: 0.3s;
  }
  
  .header-top-bar .header-left p a:hover {
    color: var(--primary_color);
  }
  
  .header-top-bar .header-left p a i {
    position: relative;
    top: 2px;
    margin-left: 5px;
  }
  
  .header-top-bar .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-top-bar .header-right {
      justify-content: center;
      margin-top: 6px;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .header-top-bar .header-right {
      justify-content: center;
      margin-top: 6px;
    }
  }
  
  .header-top-bar .header-right .address-content {
    display: flex;
    align-items: center;
    margin: 0 -10px;
  }
  
  .header-top-bar .header-right .address-content p {
    margin-bottom: 0;
    padding: 0 10px;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-body);
    font-family: var(--primary_font);
  }
  
  @media only screen and (max-width: 575px) {
    .header-top-bar .header-right .address-content p {
      padding: 0 8px;
    }
  }
  
  .header-top-bar .header-right .address-content p + p::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background: var(--color-border);
    top: 50%;
    transform: translateY(-50%);
    left: -1px;
  }
  
  .header-top-bar .header-right .address-content p a {
    color: var(--color-body);
    transition: 0.3s;
  }
  
  .header-top-bar .header-right .address-content p a:hover {
    color: var(--primary_color);
  }
  
  .header-top-bar .header-right .address-content p i {
    margin-right: 8px;
    font-size: 16px;
  }
  
  .header-top-bar .social-icon-wrapper {
    position: relative;
    margin-left: 10px;
    padding-left: 10px;
  }
  
  @media only screen and (max-width: 575px) {
    .header-top-bar .social-icon-wrapper {
      margin-left: 0;
      padding-left: 0;
      flex-basis: 100%;
    }
  }
  
  .header-top-bar .social-icon-wrapper::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background: var(--color-border);
    top: 50%;
    transform: translateY(-50%);
    left: -1px;
  }
  
  @media only screen and (max-width: 575px) {
    .header-top-bar .social-icon-wrapper::before {
      display: none;
    }
  }
  
  .header-top-bar .social-icon {
    list-style: none;
    display: flex;
    margin: -8px;
    padding: 0;
    align-items: center;
  }
  
  .header-top-bar .social-icon li {
    margin: 8px;
  }
  
  .header-top-bar .social-icon li a {
    color: var(--color-body);
    font-size: 15px;
    line-height: 26px;
    transition: 0.3s;
  }
  
  .header-top-bar .social-icon li a:hover {
    color: var(--primary_color);
  }
  
  /* ============================================
     Estilos de Header Principal
     ============================================ */
  
  .tmp-header {
    position: relative;
  }
  
  .tmp-header.header-default {
    max-width: 100%;
    color: #fff;
    font-size: 12px;
    z-index: 99;
    position: relative;
    border-bottom: 1px solid rgba(157, 157, 255, 0.05);
  }
  
  .tmp-header.header-default.header-transparent {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    background: transparent !important;
    backdrop-filter: inherit;
  }
  
  /* Cuando es sticky, debe sobrescribir el position absolute */
  .tmp-header.header-default.header-transparent.sticky {
    position: fixed !important;
  }
  
  .tmp-header.header-default.header-transparent.header-one {
    background: var(--primary_color) !important;
    backdrop-filter: blur(3px);
    border-bottom: 1px solid rgba(121, 121, 121, 0.41);
  }
  
  /* Primero la regla general de sticky */
  .tmp-header.sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    background-color: #fefefe !important;
    width: 100%;
    height: 80px;
    animation: headerSticky 0.95s ease forwards;
    z-index: 99;
    backdrop-filter: blur(60px);
    border-bottom: 1px solid rgba(157, 157, 255, 0.05);
  }
  
  /* Luego la regla específica que sobrescribe el background */
  .tmp-header.header-default.header-transparent.header-one.sticky {
    background: #fefefe !important;
    border-bottom: 1px solid rgba(44, 44, 44, 0.41);
  }
  
  /* Color de los elementos del menú cuando está sticky */
  .tmp-header.sticky .mainmenu-nav .mainmenu > li > a {
    color: var(--primary_color_font) !important;
  }
  
  .tmp-header.sticky .header-btn .search-area-btn {
    color: var(--primary_color_font) !important;
  }
  
  .tmp-header.sticky .dot-btn .offcanvas-trigger .offcanvas-bars span::before,
  .tmp-header.sticky .dot-btn .offcanvas-trigger .offcanvas-bars span::after {
    background-color: var(--primary_color_font) !important;
  }
  
  /* Cambiar logo cuando está sticky */
  .tmp-header.sticky .logo .logo-light {
    display: none;
  }
  
  .tmp-header.sticky .logo .logo-dark {
    display: block;
  }
  
  .header-top-bar.hidden-on-sticky {
    display: none;
  }
  
  .tmp-header .logo a {
    display: flex;
    height: 80px;
    line-height: 80px;
    align-items: center;
  }
  
  .tmp-header .logo a img {
    max-height: 45px;
  }
  
  .tmp-header .logo .logo-light {
    display: block;
  }
  
  .tmp-header .logo .logo-dark {
    display: none;
  }
  
  .tmp-header .header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }
  
  .tmp-header .header-right .header-btn {
    margin-left: 25px;
  }
  
  @media only screen and (max-width: 1199px) {
    .tmp-header .header-right .header-btn {
      margin-left: 20px;
    }
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .tmp-header .header-right .header-btn {
      margin-left: 0;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-header .header-right .header-btn {
      margin-left: 0;
    }
  }
  
  .tmp-header .header-right.with-search .header-btn {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  @media only screen and (max-width: 1199px) {
    .tmp-header .header-right.with-search .header-btn {
      gap: 15px;
    }
  }
  
  @media only screen and (max-width: 991px) {
    .tmp-header .header-right.with-search .header-btn {
      gap: 15px;
    }
  }
  
  @media only screen and (max-width: 479px) {
    .tmp-header .header-right.with-search .header-btn {
      gap: 8px;
    }
  }
  
  /* ============================================
     Estilos de Menú Principal
     ============================================ */
  
  .mainmenu-nav {
    margin-right: 30px;
  }
  
  .mainmenu-nav .mainmenu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  @media only screen and (max-width: 1199px) {
    .mainmenu-nav .mainmenu {
      gap: 5px;
    }
  }
  
  .mainmenu-nav .mainmenu > li {
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
  }
  
  .mainmenu-nav .mainmenu > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 0 17px;
    display: block;
    height: 80px;
    line-height: 80px;
    transition: 0.3s;
    font-family: var(--primary_font);
  }
  
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .mainmenu-nav .mainmenu > li > a {
      padding: 0 10px;
    }
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .mainmenu-nav .mainmenu > li > a {
      padding: 0 12px;
    }
  }
  
  .mainmenu-nav .mainmenu > li > a:hover,
  .mainmenu-nav .mainmenu > li > a.active {
    color: var(--primary_color) !important;
  }
  
  .mainmenu-nav .mainmenu > li.current > a {
    color: var(--primary_color) !important;
  }
  
  .mainmenu-nav .mainmenu > li.active > a {
    color: var(--primary_color) !important;
  }
  
  /* ============================================
     Estilos de Dropdown (submenu)
     ============================================ */
  
  .mainmenu-nav .mainmenu li.has-droupdown {
    position: relative;
  }
  
  /* Icono de flecha para items con dropdown */
  .mainmenu-nav .mainmenu li.has-droupdown > a,
  .mainmenu-nav .mainmenu li.has-menu-child-item > a {
    position: relative;
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown > a::after,
  .mainmenu-nav .mainmenu li.has-menu-child-item > a::after {
    content: "\e92e";
    position: absolute;
    right: -3px;
    top: 43%;
    font-family: "feather" !important;
    line-height: 1;
  }
  
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .mainmenu-nav .mainmenu li.has-droupdown > a::after,
    .mainmenu-nav .mainmenu li.has-menu-child-item > a::after {
      right: -7px;
    }
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown > a:hover::after,
  .mainmenu-nav .mainmenu li.has-menu-child-item > a:hover::after {
    content: "\e931";
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown .submenu {
    min-width: 260px;
    height: auto;
    position: absolute;
    top: 90%;
    left: 0;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    text-align: left;
    padding: 12px 0;
    transition: 0.3s;
    border-radius: 0 0 10px 10px;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    clip: rect(0px, 200vw, 0, 0px);
    transform: translateZ(0);
    list-style: none;
    margin: 0;
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown .submenu li {
    margin: 0;
    padding: 0;
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown .submenu li a {
    font-weight: 500;
    padding: 5px 20px;
    font-size: 15px;
    display: block;
    color: #363636;
    margin: 0 10px;
    border-radius: 3px;
    transition: 0.3s;
    font-family: var(--primary_font);
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown .submenu li a:hover,
  .mainmenu-nav .mainmenu li.has-droupdown .submenu li a.active {
    color: #ffffff !important;
    background: #1b1b1c !important;
    margin-left: 15px;
  }
  
  .mainmenu-nav .mainmenu li.has-droupdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
    clip: rect(0px, 100vw, 200vh, -30px);
    transition: clip 0.6s linear, opacity 0.4s linear;
  }
  
  /* ============================================
     Estilos de Botones Header
     ============================================ */
  
  .header-btn .search-area-btn {
    max-width: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    transition: 0.3s;
  }
  
  .header-btn .search-area-btn:hover {
    color: var(--primary_color);
  }
  
  .header-btn .search-area-btn i {
    font-size: 22px;
  }
  
  .dot-btn {
    display: block;
  }
  
  @media only screen and (max-width: 991px) {
    .dot-btn {
      display: none;
    }
  }
  
  .dot-btn .offcanvas-trigger {
    display: block;
    color: #fff;
    position: relative;
    cursor: pointer;
    font-size: 0.25em;
    line-height: 1;
  }
  
  .dot-btn .offcanvas-trigger .offcanvas-bars {
    display: inline-block;
    width: 21px;
    margin: 0;
    vertical-align: middle;
    height: 20px;
  }
  
  .dot-btn .offcanvas-trigger .offcanvas-bars span {
    display: inline-block;
    height: 2px;
    margin-left: 0;
    transform-origin: left center;
    background-color: #fff;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
    background-color: transparent;
    transition: transform 0.3s, opacity 0.3s, width 0.3s, background-color 0.3s 0.3s;
    border-radius: 1px;
  }
  
  @media only screen and (max-width: 767px) {
    .dot-btn .offcanvas-trigger .offcanvas-bars span {
      margin-bottom: 4px;
    }
  }
  
  .dot-btn .offcanvas-trigger .offcanvas-bars span::before,
  .dot-btn .offcanvas-trigger .offcanvas-bars span::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
  }
  
  .dot-btn .offcanvas-trigger .offcanvas-bars span::before {
    transform: translate(-100%, 0);
    transition: all 0.325s cubic-bezier(0.38, 0.98, 0.4, 1);
  }
  
  .dot-btn .offcanvas-trigger .offcanvas-bars span::after {
    transition: all 0.325s cubic-bezier(0.38, 0.98, 0.4, 1);
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span::before {
    transform: translate(0, 0);
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span::after {
    transform: translate(100%, 0);
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span:first-child::before {
    transition-delay: 0.18s;
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span:nth-child(2)::before {
    transition-delay: 0.24s;
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span:nth-child(2)::after {
    transition-delay: 0.06s;
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span:last-child::before {
    transition-delay: 0.3s;
  }
  
  .dot-btn .offcanvas-trigger:hover .offcanvas-bars span:last-child::after {
    transition-delay: 0.12s;
  }
  
  /* ============================================
     Estilos de Botones (.tmp-btn)
     ============================================ */
  
  .tmp-btn,
  .btn-default {
    padding: 0 28px;
    border-radius: var(--general_border_radius);
    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: all 0.6s;
    border: 0 none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    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;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .tmp-header a.tmp-btn,
    .tmp-header button.tmp-btn {
      height: 36px;
      line-height: 35px;
      padding: 0 10px;
      font-size: 12px;
    }
  }
  
  .tmp-btn::after,
  .btn-default::after {
    position: absolute;
    content: "";
    width: 200%;
    height: 200%;
    left: 50%;
    top: 110%;
    background: var(--primary_color);
    transform: translateX(-50%);
    transition: all 0.6s;
    transition-duration: 800ms;
    opacity: 0.5;
    border-radius: 50%;
    z-index: -1;
  }
  
  .tmp-btn:hover,
  .btn-default:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 0 20px 5px rgba(82, 55, 249, 0.33);
  }
  
  .tmp-btn:hover::after,
  .btn-default:hover::after {
    opacity: 1;
    top: -30%;
  }
  
  .tmp-btn.round,
  .btn-default.round {
    border-radius: var(--general_border_radius);
  }
  
  @media only screen and (max-width: 1199px) {
    .header-right.with-search .header-btn .tmp-btn.round {
      display: none;
    }
  }
  
  @media only screen and (max-width: 991px) {
    .header-right.with-search .header-btn .tmp-btn.round {
      display: block;
    }
  }
  
  .tmp-btn:focus,
  .btn-default:focus {
    box-shadow: none;
    border: none;
    background-color: unset;
    background: var(--primary_color);
    color: #ffffff;
  }
  
  /* ============================================
     Estilos de Mobile Menu Bar
     ============================================ */
  
  .mobile-menu-bar {
    display: block;
  }
  
  @media only screen and (min-width: 992px) {
    .mobile-menu-bar {
      display: none;
    }
  }
  
  .hamberger-button {
    background: #1b1b1c;
    border: 0 none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .hamberger-button:hover {
    background: var(--primary_color);
  }
  
  .hamberger-button i {
    font-size: 30px;
  }
  
  @media only screen and (max-width: 479px) {
    .hamberger-button {
      width: 25px;
    }
  }
  
  /* ============================================
     Estilos de Row y Utilidades
     ============================================ */
  
  .row--0 {
    margin-left: 0px;
    margin-right: 0px;
  }
  
  .row--0 > [class*="col"] {
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .position-static {
    position: static !important;
  }
  
  .position-relative {
    position: relative !important;
  }
  
  .cursor-pointer {
    cursor: pointer;
  }
  
  .ml--5 {
    margin-left: 5px !important;
  }
  
  /* ============================================
     Estilos para Light Mode (si se aplica)
     ============================================ */
  
  .header-widget.active-light-mode .logo-light {
    display: none;
  }
  
  .header-widget.active-light-mode .logo-dark {
    display: block;
  }
  
  .header-widget.active-light-mode .tmp-header.header-default.header-transparent.header-one.sticky {
    background: #fefefe !important;
  }
  
  .header-widget.active-light-mode .mainmenu-nav .mainmenu > li > a {
    color: #1b1b1c;
  }
  
  .header-widget.active-light-mode .header-btn .search-area-btn {
    color: #1b1b1c;
  }
  
  .header-widget.active-light-mode .dot-btn .offcanvas-trigger .offcanvas-bars span::before,
  .header-widget.active-light-mode .dot-btn .offcanvas-trigger .offcanvas-bars span::after {
    background-color: #1b1b1c;
  }
  
  /* Estilos hardcodeados para light mode - header-top-bar */
  .header-widget.active-light-mode .header-top-bar {
    background-color: #fff;
  }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-widget.active-light-mode .header-top-bar {
      background-color: #fff;
    }
  }
  
  @media only screen and (max-width: 767px) {
    .header-widget.active-light-mode .header-top-bar {
      background-color: #fff;
    }
  }
  
  .header-widget.active-light-mode .header-top-bar .header-left p,
  .header-widget.active-light-mode .header-top-bar .header-left p a {
    color: #363636;
  }
  
  .header-widget.active-light-mode .header-top-bar .header-right .address-content p,
  .header-widget.active-light-mode .header-top-bar .header-right .address-content p a {
    color: #363636;
  }
  
  .header-widget.active-light-mode .header-top-bar .social-icon li a {
    color: #363636;
  }
  
  .header-widget.active-light-mode .header-top-bar .header-right .address-content p + p::before,
  .header-widget.active-light-mode .header-top-bar .social-icon-wrapper::before {
    background: #9d9dff29;
  }
}

/* Keyframes deben estar en scope global (fuera de .header-widget) */
@keyframes headerSticky {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}


