@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --container: 1200px;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-yellow: #fcf74c;
  --color-pink: #e734d0;
  --color-red: #ff0000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  background-color: var(--color-white);
  color: var(--color-black);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__top {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__bottom {
  min-height: 60px;
  display: flex;
  align-items: center;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.icon-button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button img {
  display: block;
  width: 24px;
  height: 24px;
}

.icon-menu-close {
  display: none !important;
}

.site-header.menu-open .icon-menu-open {
  display: none !important;
}

.site-header.menu-open .icon-menu-close {
  display: block !important;
}

.menu-toggle {
  padding: 0;
}

.site-nav {
  display: none;
}

.site-header.menu-open .site-nav {
  display: block;
  padding: 0.5rem 0;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-nav a {
  color: var(--color-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 20px 40px;
  display: inline-flex;
  line-height: 1;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a {
  background-color: var(--color-yellow);
}

.page-template-page-contenidos-overperformer .site-nav .current-menu-item > a,
.page-template-page-contenidos-overperformer .site-nav .current_page_item > a,
.page-template-page-contenidos-overperformer .site-nav .current-menu-ancestor > a {
  background-color: var(--color-red);
  color: var(--color-black);
}

.page-template-page-clientes .site-nav .current-menu-item > a,
.page-template-page-clientes .site-nav .current_page_item > a,
.page-template-page-clientes .site-nav .current-menu-ancestor > a,
.page-template-page-clientes-php .site-nav .current-menu-item > a,
.page-template-page-clientes-php .site-nav .current_page_item > a,
.page-template-page-clientes-php .site-nav .current-menu-ancestor > a {
  background-color: var(--color-pink);
  color: var(--color-black);
}

.page-template-page-trabaja-con-nosotros .site-nav .current-menu-item > a,
.page-template-page-trabaja-con-nosotros .site-nav .current_page_item > a,
.page-template-page-trabaja-con-nosotros .site-nav .current-menu-ancestor > a,
.page-template-page-trabaja-con-nosotros-php .site-nav .current-menu-item > a,
.page-template-page-trabaja-con-nosotros-php .site-nav .current_page_item > a,
.page-template-page-trabaja-con-nosotros-php .site-nav .current-menu-ancestor > a {
  background-color: var(--color-pink);
  color: var(--color-black);
}

.page-template-page-noticias .site-nav .current-menu-item > a,
.page-template-page-noticias .site-nav .current_page_item > a,
.page-template-page-noticias .site-nav .current-menu-ancestor > a,
.page-template-page-noticias-php .site-nav .current-menu-item > a,
.page-template-page-noticias-php .site-nav .current_page_item > a,
.page-template-page-noticias-php .site-nav .current-menu-ancestor > a {
  background-color: var(--color-black);
  color: var(--color-white);
}

.site-submenu {
  display: none;
  height: 350px;
  background-color: var(--color-black);
  position: absolute;
  left: 0;
  top: 140px;
  margin-top: -60px;
  width: 100%;
  z-index: 60;
}

.site-header.menu-open .site-submenu {
  display: block;
}

.site-submenu__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 65px;
  padding-bottom: 20px;
  padding-left: 65px;
}

.site-submenu__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: min(100%, 350px);
}

.site-submenu__list {
  margin: 0;
  padding: 10px 0;
  width: 100%;
  list-style: none;
}

.site-submenu__list li {
  border-bottom: 1px solid rgb(255 255 255 / 75%);
}

.site-submenu__list a {
  display: inline-block;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  padding: 0;
  line-height: 1.35;
}

.site-submenu__list li > a:hover,
.site-submenu__list li.current-menu-item > a,
.site-submenu__list li.current_page_item > a {
  background-color: rgb(231 52 208 / 25%);
  border-left: 5px solid var(--color-pink);
  border-right: 5px solid var(--color-pink);
}

.site-submenu__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-submenu__social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-submenu__social a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.9;
}

.site-submenu__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.site-submenu__card {
  margin: 0;
  background-color: #1a1a1a;
}

.site-submenu__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-submenu__logo-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-submenu__logo {
  max-height: 22px;
  width: auto;
}

.site-overlay {
  position: fixed;
  inset: 0;
  background-color: rgb(255 255 255 / 60%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.site-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.site-main {
  min-height: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.home-hero {
  position: relative;
  padding: 0;
  background-color: var(--color-black);
}

.home-hero__viewport {
  width: 100%;
  overflow: hidden;
}

.home-hero__track {
  width: 100%;
  position: relative;
}

.home-hero.is-carousel .home-hero__track {
  display: flex;
  transition: transform 0.5s ease;
}

.home-hero__slide {
  width: 100%;
  min-height: min(88vh, 840px);
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
}

.home-hero.is-carousel .home-hero__slide {
  display: flex;
  flex: 0 0 100%;
}

.home-hero:not(.is-carousel) .home-hero__slide.is-active {
  display: flex;
}

.home-hero__slide picture,
.home-hero__slide img {
  width: 100%;
  height: min(88vh, 840px);
  display: block;
}

.home-hero__slide img {
  object-fit: cover;
}

section {
  padding: 4rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.site-footer {
  height: 100px;
  padding: 40px 0;
  background-color: var(--color-black);
  color: var(--color-white);
  border: 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__social a {
  color: var(--color-white);
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.site-footer__social svg {
  width: 100%;
  height: 100%;
}

.site-footer__copyright {
  margin: 0;
  text-align: right;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-page section {
  padding: 0;
  border: 0;
}

.about-video-section {
  background-color: var(--color-black);
}

.about-video-frame {
  width: 100%;
  min-height: min(88vh, 840px);
  background-color: var(--color-black);
}

.about-video {
  width: 100%;
  height: min(88vh, 840px);
  display: block;
  object-fit: cover;
}

.about-highlight-band {
  background-color: var(--color-yellow);
}

.about-highlight-band .container {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-highlight-band__content {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
}

.about-highlight-band__content > *:first-child {
  margin-top: 0;
}

.about-highlight-band__content > *:last-child {
  margin-bottom: 0;
}

.about-metrics {
  background-color: var(--color-black);
  padding-top: 12px;
  padding-bottom: 12px;
}

.about-metrics__grid {
  background-color: var(--color-white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.about-metric-card {
  background-color: var(--color-black);
  color: var(--color-white);
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 20px;
}

.about-metric-card h3 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.about-metric-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-metric-badge {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-black);
  background-image: var(--metric-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.about-metric-card__description {
  max-width: 340px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.about-metric-card__description > *:first-child {
  margin-top: 0;
}

.about-metric-card__description > *:last-child {
  margin-bottom: 0;
}

.overperformer-page section {
  padding: 0;
  border: 0;
}

.overperformer-page .overperformer-featured {
  background-color: var(--color-red);
  padding: 60px 0;
}

.overperformer-featured__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.overperformer-card {
  width: min(100%, 300px);
  background-color: #ddd;
}

.overperformer-card a {
  display: block;
  position: relative;
}

.overperformer-card img {
  width: 300px;
  max-width: 100%;
  display: block;
  aspect-ratio: 300 / 446;
  object-fit: cover;
  box-shadow: 5px 5px 0 rgb(0 0 0 / 25%);
}

.overperformer-card__title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  margin: 0;
  font-size: 28px;
  line-height: 0.95;
  font-weight: 600;
  text-transform: none;
}

.overperformer-card__title.color-green {
  color: #00f864;
}

.overperformer-card__title.color-red {
  color: #ff0000;
}

.overperformer-card__title.color-pink {
  color: #e534d0;
}

.overperformer-page section.overperformer-content {
  background-color: #f3f3f3;
  padding: 40px 0 20px 0;
}

.overperformer-content .container {
  max-width: 980px;
  text-align: center;
}

.overperformer-content p {
  font-size: 42px;
  line-height: 1.02;
  font-weight: 400;
}

.overperformer-content strong {
  font-weight: 800;
}

.overperformer-page section.overperformer-top-videos {
  background-color: #f3f3f3;
  padding: 40px 0;
}

.overperformer-top-videos h2 {
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--color-black);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 800;
}

.overperformer-top-carousel {
  position: relative;
  margin-top: 28px;
}

.overperformer-top-track {
  display: flex;
  gap: 14px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.overperformer-top-slide {
  width: calc((100% - 21px) / 2.5);
  min-width: calc((100% - 21px) / 2.5);
}

.overperformer-top-slide a {
  display: block;
}

.overperformer-top-slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 330 / 205;
}

.overperformer-top-empty {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.top-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  z-index: 2;
  cursor: pointer;
}

.top-carousel-control img {
  width: 100%;
  height: 100%;
  display: block;
}

.top-carousel-control--prev {
  left: 8px;
}

.top-carousel-control--next {
  right: 8px;
}

.clients-page section {
  padding: 0;
  border: 0;
}

.clients-hero {
  background-color: var(--color-black);
}

.clients-hero picture,
.clients-hero img {
  width: 100%;
  height: min(88vh, 840px);
  display: block;
}

.clients-hero img {
  object-fit: cover;
}

.clients-content-band {
  background-color: var(--color-yellow);
}

.clients-content-band .container {
  padding: 52px 0;
}

.clients-content-band p {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

.clients-content-band p + p {
  margin-top: 0.5em;
}

.clients-logos {
  background-color: var(--color-black);
}

.clients-logos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clients-logos__item {
  min-height: 168px;
  border: 3px solid var(--color-white);
  margin: -1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: var(--color-black);
}

.clients-logos__item img {
  max-width: 74%;
  max-height: 84px;
  width: auto;
  height: auto;
}

@media (max-width: 991px) {
  .about-metric-card {
    flex-direction: column;
  }

  .about-metric-card__description {
    text-align: center;
  }
}

@media (min-width: 992px) {
  .site-nav {
    display: block;
    padding: 0;
    height: 49px;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 0;
    align-items: center;
    justify-content: center;
  }

  .site-nav li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.menu-open .site-nav {
    padding: 0;
  }

  .site-submenu__inner {
    grid-template-columns: 560px minmax(460px, 1fr);
    align-items: flex-start;
    gap: 3rem;
  }

  .about-metrics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .overperformer-top-track {
    justify-content: flex-start;
  }

  .clients-logos__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.news-page section {
  padding: 0;
  border: 0;
}

.news-page section.news-featured-carousel {
  background-color: var(--color-black);
  padding: 60px 0;
}

.news-featured-carousel__inner {
  position: relative;
}

.news-featured-track {
  display: flex;
  gap: max(14px, calc((100% - 900px) / 2));
  overflow: hidden;
  scroll-behavior: smooth;
}

.news-featured-card {
  width: 300px;
  min-width: 300px;
}

.news-featured-card a {
  display: block;
  position: relative;
}

.news-featured-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 300 / 446;
  box-shadow: 5px 5px 0 rgb(0 0 0 / 25%);
}

.news-featured-card__title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  margin: 0;
  font-size: 28px;
  line-height: 0.95;
  font-weight: 600;
}

.news-featured-card__title.color-green {
  color: #00f864;
}

.news-featured-card__title.color-red {
  color: #ff0000;
}

.news-featured-card__title.color-pink {
  color: #e534d0;
}

.news-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  z-index: 2;
  cursor: pointer;
}

.news-carousel-control img {
  width: 100%;
  height: 100%;
  display: block;
}

.news-carousel-control--prev {
  left: -22px;
}

.news-carousel-control--next {
  right: -22px;
}

.news-page section.news-top-grid {
  background-color: #f3f3f3;
  padding: 40px 0;
}

.news-top-grid h2 {
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--color-black);
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.news-top-grid__cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.news-top-card a {
  display: block;
  color: var(--color-black);
  text-decoration: none;
}

.news-top-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 330 / 458;
}

.news-top-card h3 {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

@media (min-width: 992px) {
  .news-top-grid__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.careers-page section {
  padding: 0;
  border: 0;
}

.careers-form-section {
  background-color: var(--color-pink);
  min-height: 620px;
}

.careers-form-section__inner {
  max-width: 850px;
  padding: 36px 0 40px;
}

.careers-form-intro {
  max-width: 470px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 400;
}

.careers-form-intro strong {
  font-weight: 800;
}

.careers-form-wrap label,
.careers-form-wrap .wpcf7-form p {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

.careers-form-wrap input[type="text"],
.careers-form-wrap input[type="email"],
.careers-form-wrap input[type="tel"],
.careers-form-wrap textarea {
  width: 100%;
  border: 1px solid var(--color-black);
  background: #ececec;
  font-family: inherit;
  font-size: 14px;
  padding: 3px 10px;
  height: 44px;
  outline: 3px solid #f3f3f3;
  outline-offset: 0;
  margin:5px 0px 20px 0px;
}

.careers-form-wrap textarea {
  min-height: 58px;
  height: 58px;
  resize: vertical;
}

.careers-check,
.careers-form-wrap .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.careers-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
