/* pymo navbar, the same on every page.
   Self-contained on purpose: it does not lean on Bootstrap or on the page
   stylesheet, so each element keeps its size and place wherever it is loaded.
   Sizes are in px because the root font size differs between pages. */

.pymo-nav {
  --nav-h: 75px;
  --nav-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  height: var(--nav-h);
  background: #fff;
  box-shadow: inset 0 -1px 0 #e4e6ea;
  color: #374151;
  font: 600 15px/20px Montserrat, sans-serif;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

html.promo-banner-active .pymo-nav { top: var(--promo-banner-height, 0px); }

/* The bar is fixed above the navbar; the page moves down by its height on top of its own
   navbar offset (margin, so each page keeps its own padding). */
html.promo-banner-active body { margin-top: var(--promo-banner-height, 0px); }

.pymo-nav *,
.pymo-nav *::before,
.pymo-nav *::after { box-sizing: border-box; }

.pymo-nav ul,
.pymo-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pymo-nav a,
.pymo-nav button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.pymo-nav button {
  margin: 0;
  border: 0;
  background: none;
  text-transform: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.pymo-nav a:focus,
.pymo-nav button:focus { outline: none; }

.pymo-nav a:focus-visible,
.pymo-nav button:focus-visible {
  outline: 2px solid #3b81f5;
  outline-offset: 2px;
}

/* Every rule below names .pymo-nav first so it outranks the resets above. */

.pymo-nav .pymo-nav__bar {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 32px;
}

.pymo-nav .pymo-nav__logo {
  display: flex;
  align-items: center;
  flex: none;
  height: 44px;
  border-radius: 6px;
}

.pymo-nav .pymo-nav__logo img {
  display: block;
  width: 119px;
  max-width: none;
  height: 28px;
  margin: 0;
}

.pymo-nav .pymo-nav__toggle { display: none; }

.pymo-nav .pymo-nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.pymo-nav .pymo-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pymo-nav .pymo-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 150ms var(--nav-ease), color 150ms var(--nav-ease);
}

.pymo-nav .pymo-nav__link:hover,
.pymo-nav .pymo-nav__link[aria-expanded="true"],
.pymo-nav .pymo-nav__link.is-current {
  background: #eef0fe;
  color: #3537c2;
}

.pymo-nav .pymo-nav__caret {
  flex: none;
  width: 12px;
  height: 12px;
  transition: transform 150ms var(--nav-ease);
}

.pymo-nav .pymo-nav__link[aria-expanded="true"] .pymo-nav__caret { transform: rotate(180deg); }

.pymo-nav .pymo-nav__group { position: relative; }

.pymo-nav .pymo-nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 312px;
  padding: 8px;
  border: 1px solid #e4e6ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 32px -12px rgba(17, 24, 39, 0.2);
}

.pymo-nav .pymo-nav__group.is-open > .pymo-nav__sub { display: block; }

.pymo-nav .pymo-nav__sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #111827;
  transition: background-color 150ms var(--nav-ease), color 150ms var(--nav-ease);
}

.pymo-nav .pymo-nav__sub a:hover,
.pymo-nav .pymo-nav__sub a:focus-visible,
.pymo-nav .pymo-nav__sub a[aria-current="page"] {
  background: #eef0fe;
  color: #3537c2;
}

.pymo-nav .pymo-nav__sub strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.pymo-nav .pymo-nav__sub small {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 12.5px;
  line-height: 17px;
  font-weight: 400;
}

.pymo-nav .pymo-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.pymo-nav .pymo-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 40px;
  padding: 0 20px;
  border-radius: 6px;
  background: #4346da;
  font-size: 16px;
  transition: background-color 150ms var(--nav-ease);
}

.pymo-nav a.pymo-nav__cta,
.pymo-nav a.pymo-nav__cta:hover,
.pymo-nav a.pymo-nav__cta:focus { color: #fff; }

.pymo-nav a.pymo-nav__cta:hover { background: #3537c2; }

.pymo-nav a.pymo-nav__cta:active { background: #2b2d9c; }

/* WhatsApp and YouTube: soft buttons, the secondary action of the design spec. */
.pymo-nav .pymo-nav__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #eef0fe;
  transition: background-color 150ms var(--nav-ease);
}

.pymo-nav a.pymo-nav__icon,
.pymo-nav a.pymo-nav__icon:hover,
.pymo-nav a.pymo-nav__icon:focus { color: #3537c2; }

.pymo-nav a.pymo-nav__icon:hover { background: #dce0fc; }

.pymo-nav a.pymo-nav__icon:active { background: #bfc4f8; }

.pymo-nav .pymo-nav__glyph {
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.pymo-nav .pymo-nav__glyph--whatsapp {
  -webkit-mask-image: url(images/whatsapp.svg);
  mask-image: url(images/whatsapp.svg);
}

.pymo-nav .pymo-nav__glyph--youtube {
  width: 22px;
  -webkit-mask-image: url(images/youtube.svg);
  mask-image: url(images/youtube.svg);
}

.pymo-nav .pymo-nav__icon-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The bar needs about 950px with its four top-level entries. */
@media (max-width: 1023px) {
  .pymo-nav .pymo-nav__bar { padding: 0 20px; }

  .pymo-nav .pymo-nav__toggle {
    position: relative;
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0 -10px 0 auto;
    border-radius: 8px;
  }

  .pymo-nav .pymo-nav__toggle span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: #374151;
    transition: transform 200ms var(--nav-ease), opacity 150ms var(--nav-ease);
  }

  .pymo-nav .pymo-nav__toggle span:nth-child(1) { top: 14px; }
  .pymo-nav .pymo-nav__toggle span:nth-child(2) { top: 21px; }
  .pymo-nav .pymo-nav__toggle span:nth-child(3) { top: 28px; }

  .pymo-nav .pymo-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pymo-nav .pymo-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .pymo-nav .pymo-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .pymo-nav .pymo-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    margin: 0;
    padding: 4px 20px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: inset 0 -1px 0 #e4e6ea, 0 16px 24px -16px rgba(17, 24, 39, 0.25);
  }

  .pymo-nav.is-open .pymo-nav__menu { display: flex; }

  .pymo-nav .pymo-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .pymo-nav .pymo-nav__list > li + li { border-top: 1px solid #f3f4f6; }

  .pymo-nav .pymo-nav__link {
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0 4px;
    font-size: 17px;
  }

  .pymo-nav .pymo-nav__link:hover,
  .pymo-nav .pymo-nav__link[aria-expanded="true"],
  .pymo-nav .pymo-nav__link.is-current { background: none; }

  .pymo-nav .pymo-nav__caret {
    width: 14px;
    height: 14px;
  }

  .pymo-nav .pymo-nav__sub {
    position: static;
    min-width: 0;
    margin: 0 0 12px;
    padding: 4px;
    border-radius: 10px;
    background: #f9fafb;
    box-shadow: none;
  }

  .pymo-nav .pymo-nav__sub a { padding: 12px; }

  .pymo-nav .pymo-nav__actions {
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
  }

  .pymo-nav .pymo-nav__cta {
    flex: 1 0 100%;
    height: 44px;
  }

  /* With room for it, the two contact buttons say what they are. */
  .pymo-nav .pymo-nav__icon {
    flex: 1 1 0;
    width: auto;
    height: 44px;
    font-size: 15px;
  }

  .pymo-nav .pymo-nav__icon-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pymo-nav *,
  .pymo-nav *::before,
  .pymo-nav *::after { transition: none !important; }
}

/* Promo / discount banner — fixed bar above the navbar.
   Background uses pymo's accent green (#00ed90, used elsewhere for CTAs/highlights)
   for extra contrast/prominence against the purple navbar underneath it. */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1031; /* above .navbar-fixed-top (bootstrap default 1030) */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 56px;
  padding: 16px 48px 16px 16px;
  background: linear-gradient(90deg, #00ed90 0%, #00cc7a 100%);
  color: #131654;
  text-align: center;
  font-family: 'work_sansregular', 'Montserrat', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(19, 22, 84, 0.15);
}

.promo-banner[hidden] {
  display: none;
}

.promo-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.promo-banner-message {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.promo-banner-code {
  border: 1.5px dashed rgba(19, 22, 84, 0.45);
  background: rgba(19, 22, 84, 0.08);
  color: #131654;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.promo-banner-code:hover {
  background: rgba(19, 22, 84, 0.16);
}

.promo-banner-cta {
  color: #131654;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  white-space: nowrap;
}

.promo-banner-cta:hover,
.promo-banner-cta:focus {
  color: #131654;
  text-decoration: none;
}

.promo-banner-close {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: none;
  border: none;
  color: rgba(19, 22, 84, 0.6);
  padding: 0 16px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.promo-banner-close:hover {
  color: #131654;
}


@media (max-width: 767px) {
  .promo-banner {
    padding: 12px 42px 12px 12px;
    min-height: 48px;
  }

  .promo-banner-message {
    font-size: 13.5px;
  }
}
