/*
 Theme Name:   Tecniflow
 Theme URI:    https://tecniflow.com/
 Description:  Tecniflow Theme
 Author:       Javier Enrique León 
 Author URI:   https://www.redbird.pe/
 Version:      1
*/

@import url(css/vars.css);
@import url(css/reboot.min.css);
@import url(css/bootstrap.min.css);
@import url(css/hamburgers.min.css);

body {
  font-family: var(--Font);
  color: var(--Principal);
}

::placeholder {
  color: var(--Support);
}
.alignleft {
  float: left;
  margin: 0 24px 24px 0;
}
.alignright {
  float: right;
  margin: 0 0 24px 24px;
}
.centered,
.aligncenter {
  display: block;
  margin: 0 auto 30px;
}

/* Backgrounds */
.bg-principal {
  background-color: var(--Principal);
}
.bg-seccondary {
  background-color: var(--Seccondary) !important;
}
.bg-light {
  background-color: var(--Light) !important;
}
.bg-light-alpha {
  background-color: var(--Light-Alfa);
}
.bg-support {
  background-color: var(--Support);
}
.bg-filter {
  backdrop-filter: var(--filter);
}

/* Buttons */
.button-prim {
  color: var(--Principal);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  padding: 12px 24px;
  border-radius: 0px 16px;
  background: var(--Seccondary);
  display: inline-flex;
  text-decoration: none;
  transition: all ease 0.2s;
}
.button-prim:hover {
  border-radius: 16px 0px;
  background: var(--Principal);
  color: var(--Light);
}

/* Colors */
.color-light {
  color: var(--Light);
}
.color-principal {
  color: var(--Principal);
}
.color-dark {
  color: var(--Dark);
}

/* Typography */
h1,
h2,
h3 {
  line-height: normal;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 0;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 21px;
}
p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-style: normal;
}
::marker {
  font-weight: 700;
}

/* Header */
header {
  padding: 30px 0;
  transition: padding ease 0.2s;
  z-index: 99;
}
header.scrolled {
  padding: 24px 0;
}
header .logo {
  width: 250px;
  transition: width ease 0.2s;
}
header.scrolled .logo {
  width: 184px;
}
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
header nav ul li {
  position: relative;
  display: inline-block;
}
header nav ul li ul {
  display: flex;
  flex-direction: column;
  background-color: var(--Light-Alfa);
  backdrop-filter: var(--filter);
  overflow: hidden;
  height: auto;
  max-height: 0;
  position: absolute;
  left: 50%;
  top: 100%;
  gap: 0;
  transform: translateX(-50%);
  transition: max-height ease-in 0.3s;
}
header nav ul li:hover ul {
  max-height: 400px;
}
header nav ul li a {
  white-space: nowrap;
  color: var(--Principal);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition: color ease 0.2s;
  display: block;
}
header nav ul li a:hover,
header nav ul li a.active {
  color: var(--Seccondary);
}
header nav ul li ul li {
  padding: 16px 16px 0 16px;
}
header nav ul li ul li:last-child {
  padding-bottom: 16px;
}
.social a img {
  transition: filter ease 0.2s;
}
.social a:hover img {
  filter: grayscale(100%);
}

/* Mobile Menu */
.panel-btn {
  bottom: 16px;
  right: 16px;
  padding: 12px;
  background: var(--Principal);
  transform: skewX(-25deg);
  border-radius: 10px;
  transition: background-color ease 0.2s;
  z-index: 9999;
}
.hamburger.is-active:hover,
.hamburger:hover {
  opacity: 1;
  background-color: var(--Seccondary);
}
.panel-btn .hamburger-box {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 13px;
}
.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before,
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
  background-color: var(--Light);
}
.is-active span.hamburger-box {
  transform: skewX(12deg);
}
nav.panel {
  background: #000;
  width: 100%;
  height: 100%;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  transform: translateY(-100%);
  transition: transform ease 0.2s;
}
nav.panel.is-active {
  transform: translateY(0);
}
nav.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.panel ul li {
  padding: 8px;
  text-align: center;
}
nav.panel ul li a {
  color: var(--Light);
  text-decoration: none;
  text-align: center;
}
nav.panel ul li a.active {
  color: var(--Principal);
}
nav.panel ul li ul {
  height: auto;
  max-height: 0;
  transition: max-height ease 0.2s;
  overflow: hidden;
}
nav.panel ul li:hover ul {
  max-height: 500px;
}
nav.panel .menu-item-has-children > a {
  pointer-events: none;
}
nav.panel .menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.7em;
  margin-left: 0.4em;
  display: inline-block;
  transition: transform ease 0.2s;
}
nav.panel .menu-item-has-children > a:hover:after {
  transform: rotate(180deg);
}

/* Banner */
.carousel-item {
  background-position: center;
  background-size: cover;
}
.overlay {
  background-color: var(--Principal-Alfa);
}
.carousel-item .texts {
  z-index: 1;
  padding-top: 111px;
}
.carousel-item .title {
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.carousel-item h2 {
  margin-bottom: 0;
}

/* Text Con Imagen */
.text-content .texts p:last-child {
  margin-bottom: 0;
}
.line {
  height: 4px;
  width: 120px;
  background: var(--Seccondary);
  margin-top: 8px;
}

/* Industries */
.industries a {
  border-radius: 8px;
  background-color: var(--Seccondary);
  padding: 8px 16px;
  transform: skewX(-9deg);
  color: var(--Light);
  text-decoration: none;
  transition: background-color ease 0.2s;
}
.industries a:hover {
  background-color: var(--Principal);
}
.industries a span {
  transform: skewX(9deg);
}

/* Carrousel */
.services {
  background-position: center;
  background-size: cover;
}
.services .container {
  z-index: 9;
  position: relative;
}
.services::after {
  display: block;
  content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--Principal-Alfa);
  z-index: 1;
}
.marca {
  border: solid 8px var(--Seccondary);
  border-radius: 16px;
  padding: 24px 41px 54px 41px;
  background: var(--Light);
  transform: skewX(-9deg);
}
.logo-marca {
  background: var(--Light);
  transform: skewX(-9deg) translateX(-16px);
  padding: 16px 26px 9px;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 16px;
  margin-top: -42px;
  max-width: 80%;
}
.marca img,
.logo-marca img {
  transform: skewX(9deg);
}

/* Products */
.product-box {
  border: solid 6px var(--Principal);
  margin: 13px;
  padding: 16px;
  transform: skewX(-9deg);
  border-radius: 16px;
}
.product-box img {
  transform: skewX(9deg);
}
.productos h3 {
  padding-right: 12px;
  display: block;
}
.slick-next:before,
.slick-prev:before {
  color: var(--Principal) !important;
}
.slick-next {
  right: -11px !important;
}
.slick-prev {
  left: -11px !important;
}

/* Services icons */
.services-icons {
  background-position: center;
  background-size: cover;
}
.services-icons::after {
  display: block;
  content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--Principal-Alfa);
  z-index: 1;
}
.services-icons .container {
  z-index: 9;
  position: relative;
}
.services-icons .icon {
  gap: 12px;
  flex-shrink: 0;
  flex-grow: 0;
  width: 110px;
}
.services-icons h3 {
  word-break: break-word;
  font-size: 18px;
}

/* Posts */
.posts article {
  border-radius: 12px;
  overflow: hidden;
}

/* Banner page */
.page-banner {
  padding: 230px 0 79px;
  background-position: center;
  background-size: cover;
}
.page-banner .container {
  z-index: 9;
  position: relative;
}
.page-banner h1 {
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
/* Certifications */
.certifications .container {
  z-index: 9;
  position: relative;
}
.cert-logos {
  border-radius: 16px;
}

/* Trabajos */
.filtros select {
  background-color: var(--Seccondary);
  color: var(--Light);
  border-radius: 8px;
  padding: 8px 42px 8px 16px;
  border: none;
}
.filtros .campo-filtro::after {
  position: absolute;
  content: "";
  background-image: url("images/down.png");
  background-position: left center;
  background-repeat: no-repeat;
  right: 0;
  top: 0;
  background-color: var(--Seccondary);
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding-right: 12px;
  width: 36px;
  pointer-events: none;
}
.prod .producto {
  border: solid 4px var(--Seccondary);
  border-radius: 16px;
  transform: skewX(-9deg);
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  align-items: center;
  padding: 16px 16px 48px;
}
.prod .producto img,
.prod .producto h3,
.prod .producto .desc {
  transform: skewX(9deg);
}
.prod .producto .desc {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.prod .marca-p {
  position: absolute;
  bottom: -25px;
  transform: skewX(9deg);
}
.prod .marca-prim {
  color: var(--Principal);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  padding: 12px 24px;
  border-radius: 0px 16px;
  background: var(--Seccondary);
  display: inline-flex;
  text-decoration: none;
  transition: all ease 0.2s;
}

/* Producto detalle */
#carouselExample .carousel-inner {
  border: solid 2px var(--Seccondary);
  border-radius: 16px;
  transform: skewX(-9deg);
  width: 80%;
}
#carouselExample .carousel-item {
  transform: skewX(9deg);
}
#carouselExample .carousel-indicators {
  position: relative;
  display: block;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 0;
  margin-left: -27px;
  width: 80% !important;
}
#carouselExample .carousel-indicators [data-bs-target] {
  width: 75px;
  height: 75px;
  border: solid 2px var(--Support);
  transform: skewX(-9deg);
  border-radius: 8px;
  opacity: 1;
  margin-top: 12px;
  margin-right: 12px;
  overflow: hidden;
}
#carouselExample .carousel-indicators .active {
  border: solid 2px var(--Seccondary) !important;
}
#carouselExample .carousel-indicators img {
  transform: skewX(9deg);
}

/* Servicios */
.servicio-block {
  border-radius: 16px;
  overflow: hidden;
}
.servicio:nth-child(8n + 1) .servicio-block,
.servicio:nth-child(8n + 4) .servicio-block,
.servicio:nth-child(8n + 5) .servicio-block,
.servicio:nth-child(8n + 8) .servicio-block {
  background-color: var(--Principal);
}
.servicio.servicio:nth-child(8n + 2) .servicio-block,
.servicio.servicio:nth-child(8n + 3) .servicio-block,
.servicio.servicio:nth-child(8n + 6) .servicio-block,
.servicio.servicio:nth-child(8n + 7) .servicio-block {
  background-color: var(--Seccondary);
}
.servicio-block a {
  color: var(--Light);
  transition: color ease 0.2s;
  text-decoration: none;
}
.servicio-block a:hover {
  color: var(--Seccondary);
}

/* Formularios */
.form-control {
  border: solid 1px var(--Seccondary);
}
textarea.form-control {
  height: 112px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner.button-prim {
  border: none;
}

/* Trabaja con nosotros */
.trabajo {
  border: solid 1px var(--Seccondary);
}
.separator {
  height: 2px;
  width: 100%;
  background-color: var(--Seccondary);
}
.sep:last-of-type {
  display: none;
}

/* Directorio */
.directorio {
  border: solid 1px var(--Seccondary);
  color: var(--Dark);
}
.directorio h2 a {
  color: var(--Principal);
}
.directorio h2 a:hover {
  color: var(--Dark);
}
.directorio a {
  color: var(--Dark);
  text-decoration: none;
  transition: color ease 0.3s;
}
.directorio a:hover {
  color: var(--Principal);
}

/* Footer */
footer .container {
  max-width: 930px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer ul li {
  margin-bottom: 8px;
}
footer ul li a {
  color: var(--Light);
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition: color ease 0.2s;
}
footer ul li a:hover {
  color: var(--Seccondary);
}
footer .button {
  background-color: var(--Seccondary);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--Principal);
  font-size: 16px;
  text-decoration: none;
  padding: 8px 32px;
  border-radius: 8px;
  gap: 16px;
  transition: background-color ease 0.2s;
}
footer .button:hover {
  background-color: var(--Light);
}
footer .button img {
  filter: brightness(100%);
}

/* Pagination */
.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 21px;
  background: var(--Principal);
  color: var(--Light);
  text-decoration: none;
  margin: 0 6px;
  transition: all ease 0.3s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--Seccondary);
}

/* Media queries */
@media (max-width: 768px) {
  .carousel-item .title {
    font-size: 32px;
  }
  .carousel-item h2 {
    font-size: 20px;
  }
}
.marcas img {
    width: 80% !important;
}

.marcas .slick-next:before, .marcas .slick-prev:before {
    color: white !important;
}
.services-icons .icon a {
    color: var(--Light);
    text-decoration: none;
}
.servicio-block.d-flex.h-100 img {
    min-width: 175px;
}