/* Mobile homepage polish for Spanish and Brazilian Portuguese. */

@media (max-width: 1023px) {
  body.lang-es.path-frontpage,
  body.lang-pt-br.path-frontpage {
    overflow-x: hidden;
  }

  body.lang-es.path-frontpage .es-site-header,
  body.lang-pt-br.path-frontpage .pt-site-header {
    position: relative !important;
    background: #070d1d !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  body.lang-es.path-frontpage .es-site-header__inner,
  body.lang-pt-br.path-frontpage .pt-site-header__inner {
    min-height: 64px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.lang-es.path-frontpage .es-site-brand img,
  body.lang-pt-br.path-frontpage .pt-site-brand img {
    width: 112px !important;
    max-height: 48px !important;
  }

  body.lang-es.path-frontpage .gq-lang-toggle,
  body.lang-pt-br.path-frontpage .gq-lang-toggle {
    width: 56px !important;
    min-width: 56px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 9px !important;
    border: 1px solid rgba(255, 255, 255, .48) !important;
    border-radius: 5px !important;
    background: rgba(0, 0, 0, .16) !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  body.lang-es.path-frontpage .es-site-menu-toggle,
  body.lang-pt-br.path-frontpage .pt-site-menu-toggle {
    position: relative !important;
    display: inline-flex !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .48) !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    text-transform: none !important;
  }

  body.lang-es.path-frontpage .es-site-menu-toggle span,
  body.lang-pt-br.path-frontpage .pt-site-menu-toggle span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    flex: 0 0 2px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: currentColor !important;
  }

  body.lang-es.path-frontpage .es-site-menu-toggle b,
  body.lang-pt-br.path-frontpage .pt-site-menu-toggle b {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    background: #20352d;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-video,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-video::after,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-video::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 12, 25, .58) 0%, rgba(3, 12, 25, .38) 45%, rgba(3, 12, 25, .64) 100%);
    pointer-events: none;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-video img.vjs-tech,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-video img.vjs-tech {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: 58% center !important;
    transform: none !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-content,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-content {
    display: block !important;
    min-height: 590px;
    min-height: clamp(560px, calc(100svh - 64px), 650px);
    padding: clamp(48px, 8vh, 68px) 0 76px !important;
    color: #fff;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-left,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-left {
    width: 100% !important;
    max-width: 36rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-right,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-right {
    display: none !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero h1,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero h1 {
    max-width: 13ch;
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: clamp(30px, 8.4vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.025em !important;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .42);
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .field__item > p[style],
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .field__item > p[style] {
    max-width: 34ch !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(16px, 4.35vw, 18px) !important;
    line-height: 1.5 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .52);
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .field__item > p:last-child,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .field__item > p:last-child {
    display: flex;
    max-width: 286px;
    margin: 24px 0 0 !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .field__item > p:last-child .jf-button,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .field__item > p:last-child .jf-button {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 11px 18px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2e714 !important;
    background: #f2e714 !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .01em;
    text-decoration: none !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .field__item > p:last-child .jf-button + .jf-button,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .field__item > p:last-child .jf-button + .jf-button {
    border-color: rgba(255, 255, 255, .88) !important;
    background: rgba(7, 13, 29, .42) !important;
    color: #fff !important;
  }

  body.lang-es.path-frontpage #productos > .paragraph-header,
  body.lang-pt-br.path-frontpage #productos > .paragraph-header {
    padding-top: 44px !important;
    padding-bottom: 24px !important;
  }

  body.lang-es.path-frontpage #productos .paragraph-header h2,
  body.lang-pt-br.path-frontpage #productos .paragraph-header h2 {
    margin-bottom: 14px !important;
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }

  body.lang-es.path-frontpage #productos .paragraph-header p,
  body.lang-pt-br.path-frontpage #productos .paragraph-header p {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  body.lang-es.path-frontpage .gq-contact-floats,
  body.lang-pt-br.path-frontpage .gq-contact-floats {
    left: 12px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    gap: 8px !important;
  }

  body.lang-es.path-frontpage .gq-contact-float,
  body.lang-pt-br.path-frontpage .gq-contact-float {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 18px rgba(9, 55, 29, .3) !important;
  }

  body.lang-es.path-frontpage .gq-contact-float svg,
  body.lang-pt-br.path-frontpage .gq-contact-float svg {
    width: 24px !important;
    height: 24px !important;
  }

  body.lang-es.path-frontpage .gq-contact-float__label,
  body.lang-pt-br.path-frontpage .gq-contact-float__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  body.lang-es.path-frontpage .gq-wechat-panel,
  body.lang-pt-br.path-frontpage .gq-wechat-panel {
    bottom: 112px !important;
    max-height: calc(100svh - 140px);
    overflow-y: auto;
  }
}

@media (max-width: 359px) {
  body.lang-es.path-frontpage .es-site-brand img,
  body.lang-pt-br.path-frontpage .pt-site-brand img {
    width: 100px !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-content,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-content {
    min-height: 540px;
    padding-top: 42px !important;
  }

  body.lang-es.path-frontpage .paragraph--homepage-hero h1,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero h1 {
    font-size: 29px !important;
  }
}

@media (max-width: 1023px) and (orientation: landscape) {
  body.lang-es.path-frontpage .paragraph--homepage-hero .hero-content,
  body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-content {
    min-height: 500px;
    padding-top: 40px !important;
    padding-bottom: 56px !important;
  }
}
