.elementor-1028 .elementor-element.elementor-element-d9b8271{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-1028 .elementor-element.elementor-element-6215113{width:100%;max-width:100%;}/* Start custom CSS for html, class: .elementor-element-6215113 *//* === HEADER PRINCIPAL === */
.custom-header {
  width: 100%;
  background-color: #5C50E8;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === LOGO === */
.logo img {
  height: 36px;
  transition: transform 0.3s ease;
}

/* === NAV MENU === */
.nav-menu {
  display: flex;
  gap: 4rem;
}

.nav-menu a {
  font-family: "TRIAL Factor A", sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Subrayado animado */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #E3F45C;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #E3F45C;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* === CTA BUTTON === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #E3F45C;
  color: #E3F45C;
  background: transparent;
  padding: 7px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  background-color: #E3F45C;
  color: #5C50E8;
}

/* === FLECHA DOBLE PARA EFECTO HOVER === */
.arrow-wrap {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-block;
}

.arrow-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: auto;
  transition: opacity 0.3s ease;
}

.arrow-icon.purple {
  opacity: 0;
}

.cta-btn:hover .arrow-icon.purple {
  opacity: 1;
}

.cta-btn:hover .arrow-icon.green {
  opacity: 0;
}

/* === FIX para que el contenido no quede tapado === */
body {
  padding-top: 90px;
  scroll-behavior: smooth;
}

/* === BOTÓN HAMBURGUESA === */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #E3F45C;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #5C50E8;
    padding: 1rem 2rem;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* Ocultamos el botón CTA en móviles */
  .cta {
    display: none;
  }
}

/* === AJUSTES SOLO PARA ESCRITORIO === */
@media (min-width: 1024px) {
  .header-container {
    padding-left: 2rem; /* antes 4rem — logo más cerca del borde */
  }

  .nav-menu {
    margin-left: rem; /* separa el logo del menú, pero más equilibrado */
  }

  .nav-menu a {
    font-size: 1rem;
  }
}

html {
  scroll-behavior: smooth;
}/* End custom CSS */