/* 1 REM  es igual a 16px */

:root {
  font-size: 16px;
  --clr-neutral-900: #13171b;
  --clr-neutral-100: #ffffff;
  --clr-accent-700: #67ba2d;
  --clr-accent-600: #00c54e;
  --yellow-accent-800: #ffc300;
}

/* ========================================
	ESTILOS POR DEFECTO
======================================== */

/* LOGO OPACIDAD  */
#site-logo #site-logo-inner a img {
  opacity: 1 !important;
}
/* MENU PRINCIPAL QUITAR SUBRAYADO  */
.page a:focus,
.single a:focus,
.blog a:focus {
  outline: solid 0px !important;
}

/* FOOTER TITULOS H3  */
#footer-widgets .footer-box h3 {
  font-weight: 600;
  color: var(--clr-accent-600);
  font-size: 16px;
}
#footer-widgets .wp-block-pages-list__item .submenu-container {
  margin-left: 10px !important;
  list-style: inside !important;
}

#footer-bottom .wsp-asesorial {
  color: var(--clr-neutral-900) !important;
}

#footer-widgets .ionicon {
  width: 1.5rem;
  margin-right: 5px;
}
/* CENTRAR BOTON DE ENVIAR DEL FORMULARIO  */
.evf-submit-container {
  text-align: center;
}

/* ELIMINAR ADMIN MENU PERSONALIZADOR */
.ab-top-menu li#wp-admin-bar-customize {
  display: none !important;
}

/* CARD DE SERVICIOS  */

.card {
  color: var(--clr-neutral-100);
  background-size: cover;
  background-position: center;
  padding: 10rem 0 0;
  /* max-width: 300px; */
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 500ms ease;
}

.card:hover,
.card:focus-within {
  transform: scale(1.05);
}

.card-content {
  --padding: 1.5rem;
  padding: var(--padding);
  background: linear-gradient(
    hsl(0 0% 0% / 0),
    hsl(20 0% 0% / 0.3) 20%,
    hsl(0 0% 0% / 1)
  );
}

.card-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--clr-neutral-100);
  line-height: 1.6rem;
  font-size: 1.5rem;
}

.card-body {
  color: rgb(255, 255, 255, 0.85);
}

.card-title::after {
  content: '';
  position: absolute;
  left: calc(var(--padding) * -1);
  bottom: -4px;
  height: 4px;
  width: calc(100% + var(--padding));
  background: var(--yellow-accent-800);
  transform-origin: left;
  transition: transform 500ms ease;
}

.card:hover .card-title::after,
.card:focus-within .card-title::after {
  transform: scaleX(1);
}

.button-principal {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  color: var(--clr-neutral-900);
  color: white;
  background-color: var(--clr-accent-600);
  padding: 14px 28px;
  border-radius: 050px;
  font-size: 16px;
  transition: background 700ms ease !important;
  text-transform: capitalize;
}

.button-principal:hover,
.button-principal:focus {
  background: var(--yellow-accent-800);
  color: white;
}

/* CONTACTO  */

.contacto-cards .contacto-card {
  transition: all 0.5s;
}

.contacto-cards .contacto-card:hover {
  background-color: var(--clr-accent-600);
  transform: scale(1.1);
}

.contacto-cards .contacto-card p,
.contacto-cards .contacto-card div {
  transition: color 0.5s;
}

.contacto-cards .contacto-card:hover p,
.contacto-cards .contacto-card:hover div {
  color: #fff;
}

.contacto-cards .contacto-card svg {
  transition: color 0.5s;
}

.contacto-cards .contacto-card:hover svg {
  color: #00182f;
}
.contacto-cards .contacto-card:hover h2 {
  color: #00182f;
}
.formulario-contact .image-1 {
  width: 220px;
  height: 300px;
  left: 0;
  bottom: 0;
}

.formulario-contact .image-2 {
  width: 220px;
  height: 300px;
  right: 0;
  top: 0;
}

/* Mision Vision y Valores */

.tabs {
  position: relative;
  width: 100%;
  height: 300px;
}

.tabs .tab-header {
  background: #f5f8fd;
  padding: 10px;
  display: flex;
}

.tabs .tab-header > div {
  position: relative;
  width: 33%;
  text-align: center;
  padding: 10px;
  z-index: 2;
  font-weight: 600;
  color: var(--clr-neutral-900);
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.tabs .tab-header > div.active {
  color: #f5f8fd;
}

.tabs .tab-indicator {
  position: absolute;
  width: calc(33% - 5px);
  height: 40px;
  background: var(--clr-accent-600);
  top: 10px;
  left: 10px;
  border-radius: 20px;
  transition: all 300ms ease-in-out;
}

.tabs .tab-body {
  position: relative;
  padding: 20px;
  background: #f5f8fd;
  border-top: 1px solid #ddd;
  height: calc(100% - 50px);
  overflow: hidden;
}

.tabs .tab-body > div {
  position: absolute;
  opacity: 0;
  top: -100%;
  transform: translateY(-10px);
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
}

.tabs .tab-body > div.active {
  transform: translateY(0px);
  top: 30px;
  opacity: 1;
}

.tabs .tab-body h2 {
  color: #222;
  margin-bottom: 10px;
  font-size: 18px;
}

.tabs .tab-body p {
  color: var(--clr-neutral-900);
  font-size: 15px;
}

@media (hover) {
  .card-content {
    transform: translateY(60%);
    transition: transform 500ms ease;
  }

  .card:hover .card-content,
  .card:focus-within .card-content {
    /* modificar aqui to fix */
    transform: translateY(0%);
    transition-delay: 500ms;
  }

  .card:focus-within .card-content {
    transition-duration: 0ms;
  }

  .card-content > *:not(.card-title) {
    opacity: 0;
    transition: opacity 500ms linear;
  }

  .card:hover .card-content > *:not(.card-title),
  .card:focus-within .card-content > *:not(.card-title) {
    opacity: 1;
    transition-delay: 1000ms;
  }

  .card-title::after {
    transform: scaleX(0);
  }
}

@media (min-width: 768px) {
  .nosotros-banner img {
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
  }
}

@media (max-width: 768px) {
  .tabs {
    height: 370px;
    width: 100%;
  }
}
