/* Home header: shared palette with Activities and Testimonials. */
:is(#fullpage, #contenido) .home-header {
  position: relative;
  z-index: 500;
  background: #fff;
  border-top: 4px solid #1a9bf1;
  box-shadow: 0 5px 24px rgba(10, 48, 70, .08);
}
:is(#fullpage, #contenido) .home-header > .container {
  max-width: 1280px;
  padding: 18px 24px;
  align-items: center;
  gap: 16px;
}
:is(#fullpage, #contenido) .home-header .header-brand {
  width: 22%;
  padding: 0;
  min-width: 0;
}
:is(#fullpage, #contenido) .home-header .header-tools {
  width: auto;
  flex: 1;
  min-width: 0;
  padding: 0;
}
:is(#fullpage, #contenido) .home-header .main-header__container,
:is(#fullpage, #contenido) .home-header .main-header__logo,
:is(#fullpage, #contenido) .home-header .header-tools > .item {
  padding: 0;
  margin: 0;
}
:is(#fullpage, #contenido) .home-header .main-header__logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}
:is(#fullpage, #contenido) .home-header .main-header__register {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #edf1f4;
  font-size: 12px;
}
:is(#fullpage, #contenido) .home-header .main-header__register__item {
  padding: 0;
  min-width: 0;
}
:is(#fullpage, #contenido) .home-header .main-header__register__item:empty { display: none; }
:is(#fullpage, #contenido) .home-header .main-header__register__item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 7px;
  border-radius: 8px;
  color: #526675;
  transition: background .2s, color .2s;
}
:is(#fullpage, #contenido) .home-header .main-header__register__item > a:hover {
  background: #fceef4;
  color: #a83c6b;
  text-decoration: none;
}
:is(#fullpage, #contenido) .home-header .main-header__register__item:first-child > a { padding: 0; }
:is(#fullpage, #contenido) .home-header .main-header__search {
  display: block;
  width: 140px;
  max-width: 100%;
  padding: 8px 12px;
  background: #f7fafc;
  border: 1px solid #e0e8ed;
  border-radius: 20px;
  font: inherit;
  color: #0a3046;
}
:is(#fullpage, #contenido) .home-header .main-header__register svg { width: 18px; height: 18px; }
:is(#fullpage, #contenido) .home-header .main-header__register img { width: 24px; height: 24px; object-fit: contain; }
:is(#fullpage, #contenido) .home-header .main-header__socials__link__fb { fill: #3b5998; }
:is(#fullpage, #contenido) .home-header .main-header__socials__link__twitter { fill: #00acee; }
:is(#fullpage, #contenido) .home-header .main-header__socials__link__youtube { fill: #c4302b; }
:is(#fullpage, #contenido) .home-header .main-header__socials__link__whatsapp { fill: #1e843d; }
:is(#fullpage, #contenido) .home-header .header-language { gap: 5px; font-weight: bold; }
:is(#fullpage, #contenido) .home-header .header-language[aria-current="true"] { background: #fceef4; color: #a83c6b; }
:is(#fullpage, #contenido) .home-header .main-nav { height: auto; }
:is(#fullpage, #contenido) .home-header .main-menu {
  gap: 3px;
  height: auto;
  background: transparent;
  border-radius: 0;
  flex-wrap: wrap;
}
:is(#fullpage, #contenido) .home-header .main-menu li {
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 1;
  background: transparent;
}
:is(#fullpage, #contenido) .home-header .main-menu a {
  padding: 11px 10px;
  border-radius: 9px;
  color: #0a3046;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  transition: background .2s, color .2s;
}
:is(#fullpage, #contenido) .home-header .main-menu a:hover,
:is(#fullpage, #contenido) .home-header .main-menu a[aria-current="page"] {
  background: #fceef4;
  color: #a83c6b;
  text-decoration: none;
}
:is(#fullpage, #contenido) .home-header .main-menu .header-signup {
  background: #ff5722;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 87, 34, .18);
}
:is(#fullpage, #contenido) .home-header .main-menu .header-signup:hover { background: #e54a19; color: #fff; }
:is(#fullpage, #contenido) .home-header .main-menu ul {
  padding: 8px;
  background: #fff;
  border: 1px solid #e0e8ed;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(10, 48, 70, .13);
}
:is(#fullpage, #contenido) .home-header .main-menu ul a {
  font-weight: normal;
  white-space: normal;
  overflow-wrap: anywhere;
}
:is(#fullpage, #contenido) .home-header a:focus-visible,
:is(#fullpage, #contenido) .home-header button:focus-visible,
:is(#fullpage, #contenido) .home-header input:focus-visible {
  outline: 2px solid #1a9bf1;
  outline-offset: 3px;
}
@media screen and (min-width: 1024px) {
  :is(#fullpage, #contenido) .home-header .main-menu ul { width: 255px; min-width: 100%; }
  :is(#fullpage, #contenido) .home-header .main-menu > li:nth-last-child(-n+3) > ul { left: auto; right: 0; }
  :is(#fullpage, #contenido) .home-header .main-menu li:focus-within > ul { display: block; }
}
@media screen and (max-width: 1023px) {
  :is(#fullpage, #contenido) .home-header > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    padding: 14px 18px;
    gap: 16px;
  }
  :is(#fullpage, #contenido) .home-header .header-brand { width: 100%; }
  :is(#fullpage, #contenido) .home-header .main-header__logo img { width: 190px; }
  :is(#fullpage, #contenido) .home-header .header-tools {
    display: block;
    width: 44px;
    min-width: 44px;
    position: static;
  }
  :is(#fullpage, #contenido) .home-header .header-tools > .register { display: none; }
  :is(#fullpage, #contenido) .home-header .menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    position: static;
  }
  :is(#fullpage, #contenido) .home-header .main-header__register { display: none; }
  :is(#fullpage, #contenido) .home-header .main-header__register__item > a { min-height: 36px; }
  :is(#fullpage, #contenido) .home-header .main-header__search { width: 130px; }
  :is(#fullpage, #contenido) .home-header .nav-toggle {
    position: relative;
    display: block;
    flex: 0 0 44px;
    top: auto;
    right: auto;
    appearance: none;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid #efd5e0;
    border-radius: 12px;
    background: #fceef4;
    box-shadow: none;
    cursor: pointer;
  }
  :is(#fullpage, #contenido) .home-header .nav-toggle:before,
  :is(#fullpage, #contenido) .home-header .nav-toggle:after,
  :is(#fullpage, #contenido) .home-header .nav-toggle span {
    position: absolute;
    content: '';
    bottom: auto;
    left: 11px;
    top: 13px;
    width: 20px;
    height: 2px;
    background: #a83c6b;
    box-shadow: none;
    transform: none;
  }
  :is(#fullpage, #contenido) .home-header .nav-toggle span { top: 20px; }
  :is(#fullpage, #contenido) .home-header .nav-toggle:after { top: 27px; }
  :is(#fullpage, #contenido) .home-header .nav-toggle[aria-expanded="true"]:before { top: 20px; transform: rotate(45deg); }
  :is(#fullpage, #contenido) .home-header .nav-toggle[aria-expanded="true"]:after { top: 20px; transform: rotate(-45deg); }
  :is(#fullpage, #contenido) .home-header .nav-toggle[aria-expanded="true"] span { opacity: 0; }
  :is(#fullpage, #contenido) .home-header .main-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    width: calc(100% - 24px);
    max-height: 65vh;
    padding: 10px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e0e8ed;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 30px rgba(10, 48, 70, .16);
    align-content: flex-start;
  }
  :is(#fullpage, #contenido) .home-header .main-nav {
    left: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  :is(#fullpage, #contenido) .home-header .main-nav.show-menu {
    right: 12px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  :is(#fullpage, #contenido) .home-header .main-menu > li { border-bottom: 1px solid #edf1f4; }
  :is(#fullpage, #contenido) .home-header .main-menu > li:last-child { border-bottom: 0; }
  :is(#fullpage, #contenido) .home-header .main-menu a { padding: 14px 12px; }
  :is(#fullpage, #contenido) .home-header .main-menu ul.show-submenu {
    width: 100%;
    margin: 0 0 8px;
    background: #f7fafc;
    border: 0;
    box-shadow: none;
  }
  :is(#fullpage, #contenido) .home-header .main-menu .expand-submenu {
    width: 44px;
    height: 44px;
    align-self: center;
    color: #be4579;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(#fullpage, #contenido) .home-header a,
  :is(#fullpage, #contenido) .home-header .main-nav { transition: none; }
}
