/* GENERALES */
:root {
  --black: #000000;
  --white: #f9f9f9;
  --tertiary: #ffcb1e;
}

@font-face {
  font-family: 'Avenir Next Regular';
  src: url('/wp-content/themes/Canvas/fonts/Avenir-Next-Regular.woff2') format('woff2'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Regular.woff') format('woff'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Regular.ttf') format('ttf'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Regular.eot') format('eot');
}
@font-face {
  font-family: 'Avenir Next Light';
  src: url('/wp-content/themes/Canvas/fonts/Avenir-Next-Light.woff2') format('woff2'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Light.woff') format('woff'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Light.ttf') format('ttf'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Light.eot') format('eot');
}
@font-face {
  font-family: 'Avenir Next Bold';
  src: url('/wp-content/themes/Canvas/fonts/Avenir-Next-Bold.woff2') format('woff2'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Bold.woff') format('woff'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Bold.ttf') format('ttf'),
      url('/wp-content/themes/Canvas/fonts/Avenir-Next-Bold.eot') format('eot');
}

* {
    transition: 0.3s ease-in-out all;
}
html, body {
  overflow-x: hidden;
}
body {
  font-family: 'Avenir Next Regular', sans-serif;
  background-color: var(--black);
  color: var(--white);
}
main.subheader {
  margin-top: 105px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir Next Bold', sans-serif;
  color: var(--white);
}
.h2, h2 {
  font-size: calc(1.325rem + .5vw);
}
.h3, h3 {
  font-size: calc(1.2rem + 0.4vw);
}
.h4, h4 {
  font-size: calc(1.1rem + 0.3vw);
}
.title > span {
  font-family: 'Avenir Next Bold', sans-serif;
}
a {
  color: var(--white);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
/* img {
  display: block;
  margin: 0 auto;
} */
.nav-link {
  color: var(--white);
  font-family: 'Avenir Next Light';
  font-weight: 600;
}
.bg-general {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-tertiary {
 background-color: var(--tertiary);
}
.big {
  font-size: 1.2rem;
}
.bigger {
  font-size: 1.5rem;
}
.btn {
  font-family: 'Avenir Next Light';
  font-weight: 600;
}
.btn-primary,
header nav li:last-child .nav-link {
  background-color: transparent;
  border-radius: 2rem;
  border: 2px solid var(--white);
}
.btn-primary.active,
.btn-primary:hover,
.btn-primary:active,
header nav li:last-child .nav-link:hover,
header nav li:last-child .nav-link:active {
  background-color: transparent!important;
  border-color: var(--tertiary)!important;
  color: var(--tertiary)!important;
}
.btn-secondary {
  background-color: transparent;
  border-radius: 2rem;
  border: 2px solid var(--black);
  color: var(--black);
}
.btn-secondary:hover,
.btn-secondary:active,
.btn-tertiary:hover,
.btn-tertiary:active {
  background-color: var(--black)!important;
  border-color: var(--black)!important;
  color: var(--white)!important;
}
.btn-tertiary {
  background-color: transparent;
  border-radius: 2rem;
  border: 2px solid var(--tertiary);
  color: var(--black);
}
.carousel-indicators [data-bs-target] {
  border-radius: 50%;
  height: 18px;
  width: 18px;
}
.centered-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  text-align: center;
  padding: 2rem 0;
}
.content-img {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.content-img img {
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}
.form-control {
  border: 2px solid;
  border-radius: 2rem;
}
.form-control:focus {
  border-color: var(--tertiary);
  box-shadow: none;
}
.text-bold {
  font-family: 'Avenir Next Bold', sans-serif;
}
.text-regular {
  font-family: 'Avenir Next Regular', sans-serif;
}
.text-light {
  font-family: 'Avenir Next Light', sans-serif;
}
.text-colored {
  background: linear-gradient(to right, #3B82F6, #8B5CF6, #F43F5E, #F97316, #FACC15, #22C55E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-colored span {
  font-style: italic;
}
.text-muted {
  color: #696969 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  color: var(--black);
}

.h-100vh-min {
  min-height: 100vh;
}

.fullheight-noheader-min{
  min-height: calc(100vh - 75px);
}


/* HEADER */
header nav {
  min-height: 105px;
}
header nav .nav-link {
  position: relative;
  padding: 0.5rem 0;
}
header nav .nav-link:hover {
  color: var(--white);
}
#mainMenu .menu-item {
  padding: 0 1rem;
}
/* #mainMenu .menu-item:nth-child(1) a,
#mainMenu .menu-item:nth-child(2) a {
  font-family: 'Avenir Next Bold', sans-serif;
} */
header nav .current-menu-item a::after {
  background: var(--tertiary);
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
}
header nav .nav-link::after,
#footerMenu .nav-link::after {
  background: var(--tertiary);; 
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0; 
  transition: width 0.3s ease-in-out;
}
header nav .nav-link:hover::after,
#footerMenu .nav-link:hover::after {
  width: 100%;
}
#sideNav .nav .nav-link {
  color: var(--black);
  display: inline-block;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}
#sideNav .nav .current-menu-item .nav-link::after {
  background: var(--black);; 
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
}
.offcanvas {
  max-width: 55%;
}
header .custom-logo,
#sideNav .logo {
  max-width: 115px;
}
footer .custom-logo {
  max-width: 150px;
}
/* HEADER */

/* FOOTER */
#footerMenu .nav-item {
  padding: 0rem 1rem;
  position: relative;
}
#footerMenu .nav-link {
  padding: 0.5rem 0;
  position: relative;
}
footer .nav-link:hover {
  color: var(--white);
}
footer #socialNetwork i {
  font-size: 2rem;
}
/* FOOTER */

/* SLICK */
.slick-track { 
  display: flex !important;
  align-items: center;
}
.slick-dots {
  text-align: center;
  padding-left: 0;
}
.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  width: 12px;
  height: 15px;
  border: 2px solid var(--white);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slick-dots li.slick-active button {
  background-color: transparent;
}
.slick-slide img {
  margin: auto;
}
/* SLICK */

/* PAGE */
.type-page a {
  color: var(--black);
}
.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6,
.page .wp-block-list li a {
  color: var(--black);
}
/* PAGE */

/* BLOG */
.post-navigation .nav-links {
  justify-content: space-between;
  display: flex;
}
.post-navigation .nav-links .nav-next {
  margin-left: auto;
}
.navigation .nav-links a {
  color: var(--black);
}
/* BLOG */


#header .header-img {
  position: relative;
  /* height: 65vh; */
}
#header .header-bar {
  height: 15px;
}

/* HOME */
#header .home-circle {
  background-color: #ef4366;
  border-radius: 50%;
  font-size: 80%;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
  width: 200px;
  padding: 1px;
  position: absolute;
  right: 5%;
  top: 9%;
}
#header .home-circle a span {
  font-weight: bold;
  /* font-style: italic; */
}
.parallax-container {  
  /* background-image: url('/wp-content/uploads/2024/12/challenge.png');
  background-position: left 47vw bottom 36%;
  background-repeat: no-repeat;
  background-attachment: fixed; */
  text-align: center;
  padding: 3rem;
}

.top-text {
  font-size: 1.2em;
}

.bottom-text {
  font-size: 1.2em
}
/* HOME */

/* WORK AT CANVAS */
#benefits .row > div {
  margin-top: 2rem;
}
#benefits p {
  color: #ef4366;
  margin-bottom: 0;
  margin-top: 1rem;
  text-align: center;
  font-family: 'Avenir Next Bold', sans-serif;
}
#benefits img {
  display: block;
  margin: 0 auto;
}
/* WORK AT CANVAS */

/* WHO WE ARE */
#thisIsUs a {
  border-bottom: 2px solid;
  color: var(--black);
  font-family: 'Avenir Next Bold';
}

/* Contenedor del panal */
.honeycomb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: auto;
  min-height: 600px;
}
.honeycomb .bee {
  position: absolute;
  display: none;
  z-index: 2;
}
/* .honeycomb .list {
  margin-top: 2rem;
} */

/* Fila de hexágonos */
.hex-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Desplazamiento de filas alternas */
.hex-row.offset,
.hex-row.offset2,
.hex-row.offset3,
.hex-row.offset4 {
  margin-top: -45px;
}
.hex-row.offset {
  /* margin-left: -200px; */
  margin-left: -132px;
}
.hex-row.offset2 {
  /* margin-left: -396px; */
  margin-left: -342px;
}
.hex-row.offset3 {
  /* margin-left: -184px; */
  margin-left: -142px;
}
.hex-row.offset4 {
  margin-left: -416px;
}

/* Hexágono principal */
.hexagon {
  position: relative;
  width: 190px;
  height: 200px;
  background-color: var(--tertiary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hexágono interno para simular bordes */
.inner-hexagon {
  width: 90%; /* Tamaño interno reducido */
  height: 90%;
  background-color: white;
  clip-path: inherit; /* Misma forma que el hexágono */
  position: absolute;
  z-index: -1; /* Detrás del contenido */
}

/* Hexágonos llenos */
.hexagon.filled {
  background-color: var(--tertiary);
}

.hexagon.filled .content {
  color: var(--black);
  font-family: 'Avenir Next Bold';
  font-size: 1.2rem;
  text-align: center;
  z-index: 1; 
}
.hex-row ul {
  color: var(--black);
  font-size: 0.8rem;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
  z-index: 1;
}

#ourCustomers .img-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 3.5rem auto;
  position: relative;
}
#ourCustomers .img-logo:before {
  content: '';
  background-color: #fff;
  height: 2px;
  width: 120%;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}
#ourCustomers .img-logo img {
  max-width: 250px;
}
/* WHO WE ARE */

/* WHAT WE DO */
#capacities .card {
  background-color: var(--tertiary);
  border: none;
  border-radius: 1rem;
  height: 100%;
  padding: 1rem;
}
#capacities .card img {
  margin-bottom: 1rem;
  max-height: 50px;
}
#capacities .card h4 {
  margin-bottom: 1.2rem;
}

.certifications-slider img {
  max-width: 250px;
}

.timeline {
  display: flex;
  position: relative;
  color: #fff;
  flex-direction: column;
  align-items: start;
  padding: 0;
  margin-top: 50px;
}
.timeline::before {
  background: #fff;
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 77%;
  top: 40px;
}

.timeline .item {
  position: relative;
  /* flex: 1; */
  flex: 1 1 auto;
  padding: 20px;
}
.timeline .item::before {
  content: "•";
  position: absolute;
  font-size: 30px;
  color: var(--tertiary);
  left: -6px;
}

.timeline .item span {
  font-size: 1.6rem;
  font-family: 'Avenir Next Bold';
}
.timeline .item p {
  margin-bottom: 0;
  /*font-size: 0.8rem;*/
}

@media (min-width: 1200px) {
  .timeline {   
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    padding: 8rem 0;
  }
  
  .timeline::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
  }
  
  .timeline .item[data-position="top"] {
    transform: translateY(-50%);
  }
  .timeline .item[data-position="top"]::before {  
    top: -2px;
  }
  .timeline .item[data-position="top"]::after {
    bottom: 0;
  }
  
  .timeline .item[data-position="bottom"] {
    transform: translateY(50%);
  }
  .timeline .item[data-position="bottom"]::before {
    bottom: -2px;
  }
  .timeline .item[data-position="bottom"]::after {
    top: 0;
  }

  .timeline .item::after {
    background-color: #fff;
    content: '';
    position: absolute;
    left: 0;
    height: 89%;
    width: 2px;
    z-index: -1;
  }
}
/* WHAT WE DO */

/* CONTACT */
#mailTo .bigger {
  font-size: 1.2rem;
}
#mailTo .linkedin {
  border-bottom: 2px solid;
  font-family: 'Avenir Next Bold';
}
#offices h4,
#offices h5 {
  color: #fff;
}
#offices .hq {
  background: linear-gradient(to right, #febe1f, #ef4366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-color: transparent;
}
#offices .gradient-line {
  background: linear-gradient(to right, #febe1f, #ef4366);
  margin: 0px auto 0.5rem;
  height: 3px;
  width: 100%;
}
#offices .line {
  background: #fff;
  margin: 0px auto 0.5rem;
  height: 3px;
  width: 100%;
}
#offices .branch {
  cursor: pointer;
  min-height: 160px;
}
/*#offices .branch p,
#offices .branch .special {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
}
#offices .branch:hover p {
  max-height: 100px;
  opacity: 1;
}
#offices .branch:hover .special {
  opacity: 1;
  max-height: 130px;
} */

#offices h4 {
  padding-bottom: 0.5rem;
}
#offices > div {
  margin-bottom: 3rem;
}
/* CONTACT */

/* MAP */
#map ul li a {
  color: var(--black);
  font-weight: 600;
}
/* MAP */

@media only screen and (min-width: 768px) {
  header .custom-logo {
    max-width: 135px;
  }
  .centered-content {
    padding: 3rem 0;
  }
  /* .honeycomb .list {
    margin-top: 1rem;
  } */
  .honeycomb .bee {
    display: block;
  }
  .honeycomb .bee3 {
    left: 80px;
    top: 50px;
  }
  .honeycomb .bee2 {
    left: 0;
    top: 450px;
  }
  .honeycomb .bee1 {
    left: 140px;
    bottom: 150px;
  }
  #mailTo .bigger {
    font-size: 1.5rem;
  }
  #mailTo .col-md-7 {
    border-right: 2px solid var(--tertiary);
  }
}

@media only screen and (min-width: 1024px) {
  header .custom-logo {
    max-width: 150px;
  }
  #header .home-circle {
    display: flex;
  }
  .honeycomb .bee3 {
    left: 180px;
    top: 50px;
  }
  .honeycomb .bee2 {
    left: 0;
    top: 450px;
  }
  .honeycomb .bee1 {
    left: 240px;
    bottom: 150px;
  }
  #capacities .card {
    min-height: 340px;
  }
}

@media only screen and (min-width: 1200px) {
  .honeycomb .bee3 {
    left: 350px;
    top: 50px;
  }
  .honeycomb .bee2 {
    left: 150px;
    top: 450px;
  }
  .honeycomb .bee1 {
    left: 440px;
    bottom: 150px;
  }
}