/*
Theme Name: Be Innovatech
Author: <a href="https://emalderete.com.ar" target="_blank">Emanuel Alderete Dev</a> & IDE Comunicación Digital
Description: Plantilla personalizada para el cliente, desarrollada casi en su totalidad desde el código para un mayor control sobre cada componente de la web.
Version: 1.0
Template: twentytwenty
Text Domain: beinovatech
*/

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Paleta de colores del sitio */

:root {
  --dark-color: #292929;
  --dark-gray-color: #555555;
  --gray-color: #aaaaaa;
  --light-gray-color: #e7e7e7;
  --light-color: #ffffff;
  --primary-color: #444444;
  --secondary-color: #00e62c;
  --terciary-color: #19edd0; /* Este color se usa para hacer énfasis. Si no hay un color terciario se puede duplicar el primario o secundario */
  --light-shadow: #00000038;
  --transition: 250ms;
  --font-primary: 'Montserrat';
  --font-secondary: 'Montserrat'; /* Esta fuente se usa para textos en general, si no hay una fuente secundaria se puede duplicar la fuente para conservar la estructura CSS */
}

/* Declaraciones Generales */

html {
  font-size: 14px;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  height: 100%;
  background-color: var(--dark-color);
}

main.home {
  color: var(--light-color);
}

/* Fix para evitar scroll jump cuando se cierra el offcanvas */
body.modal-open {
  padding-right: 0 !important;
}

.offcanvas-backdrop {
  backdrop-filter: blur(2px);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: normal;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 3.2em;
}

h3 {
  font-size: 2.4em;
}

h4 {
  font-size: 1.6em;
}

h5 {
  font-size: 1.4em;
}

h6 {
  font-size: 1.2em;
}

.title {
  text-transform: uppercase;
  letter-spacing: 3px;
  a {
    text-decoration: none;
    color: inherit;
  }
}

/* Módulos reutilizables */
.buttons-center,
.buttons-left,
.buttons-right {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.buttons-left {
  justify-content: flex-start;
}

.buttons-right {
  justify-content: flex-end;
}

.buttons-center {
  justify-content: center;
}

.buttons, .buttons-primary, .buttons-light, .buttons-secondary {
  padding: 0.5rem 2rem;
  border-radius: 99px;
  transition: var(--transition);
  text-decoration: none;
}

.buttons-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: 2px solid var(--primary-color);
  &:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
  }
}

.buttons-light {
  background-color: var(--light-color);
  color: var(--dark-color);
  border: 2px solid var(--light-color);
  &:hover {
    background-color: transparent;
    color: var(--light-color);
    box-shadow: 0 0 10px var(--light-color);
  }
}

.buttons-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: 2px solid var(--secondary-color);
  &:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    box-shadow: 0 0 10px var(--secondary-color);
  }
}

.light-separator, .primary-separator {
  margin: 2rem auto;
  width: 100%;
  max-width: 1200px;
  height: 2px;
}

.light-separator {
  background-color: var(--light-color);
}

.primary-separator {
  background-color: var(--primary-color);
}

/* Efectos */
.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.primary-text {
  color: var(--primary-color);
}

.secondary-text {
  color: var(--secondary-color);
}

.dark-gray-text {
  color: var(--dark-gray-color);
}

.bg-pattern-animate {
  animation: slowSliding infinite linear 3000ms;
	background-position: center;
}

@keyframes slowSliding {
	0% {
		transform: translate(63.3px, -10px);
	}
	100% {
		transform: translate(-63.3px, 10px);
	}
}

#header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-color);
  box-shadow: 0 3px 10px var(--light-shadow);
  .header__content {
    width: 100%;
    max-width: 1600px;
    padding: 1.3rem 2rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.header__brand {
  width: 100%;
  max-width: 170px;
  .header__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.main-menu {
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  li {
    a, button {
      color: var(--dark-color);
      text-decoration: none;
      text-transform: uppercase;
      border: none;
      background-color: transparent;
    }
  }
  .menu-item {
    margin: 0 0.6rem;
  }
  .menu-item::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    margin: 0 auto;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  .menu-item:hover::after {
    width: 100%;
  }
  .main-menu__submenu {
    position: relative;
    ul {
      padding: 0;
      margin: 0;
      list-style: none;
      position: absolute;
      transition: var(--transition);
      opacity: 0;
      pointer-events: none;
      background-color: var(--light-color);
      border: 1px solid var(--light-gray-color);
      box-shadow: 2px 2px 10px var(--light-shadow);
      border-radius: 15px;
      width: max-content;
      overflow: hidden;
      .submenu-item {
        a {
          color: var(--dark-color);
          padding: 0.4rem 0.5rem;
          display: block;
          text-decoration: none;
          text-transform: uppercase;
          border: none;
          background-color: transparent;
        }
        &:hover {
          background-color: var(--primary-color);
          a {
            color: var(--light-color);
          }
        }
      }
    }
    &:hover {
      ul {
        opacity: 1;
        pointer-events: all;
      }
    }
    &:hover .menu-item::after {
      width: 100%;
    }
  }
}

.header__mobile-button {
  display: none;
  button {
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.8em;
    border: none;
    padding: 1.5rem;
  }
}

.mobile-menu {
  .offcanvas-header {
    .mobile-menu__brand {
      width: 100%;
      max-width: 170px;
      .mobile-menu__logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }
  .offcanvas-body {
    .mobile-nav {
      width: 100%;
      list-style: none;
      .mobile-menu__submenu {
        .accordion-button {
          font-family: var(--font-secondary);
          font-weight: 400;
          font-size: 0.8em;
          color: var(--dark-color);
        }
        .accordion-button::before {
          content: '';
          display: inline-block;
          width: 0;
          height: 3px;
          background-color: var(--primary-color);
          transition: var(--transition);
        }
        .accordion-button:hover::before {
          width: 1.5rem;
          margin: 0 0.7rem 0 0;
        }
        .accordion-button:not(.collapsed)::before {
          width: 1.5rem;
          margin: 0 0.7rem 0 0;
        }
        .accordion-button:not(.collapsed) {
          background-color: transparent;
          color: var(--dark-color);
        }
        .accordion-header {
          font-size: calc(1.5em + 5.625px);
        }
        .accordion-body {
          display: flex;
          align-items: flex-start;
          justify-content: flex-start;
          flex-wrap: wrap;
          a {
            text-decoration: none;
            color: var(--dark-color);
            font-size: 1em;
            padding: 0.5rem 1rem;
            display: inline-block;
            width: 100%;
            display: flex;
            align-items: center;
            font-family: var(--font-secondary);
            &:hover {
              background-color: var(--primary-color);
              color: var(--light-color);
            }
          }
          a::before {
            content: '';
            display: inline-block;
            width: 1.5rem;
            height: 3px;
            background-color: var(--primary-color);
            margin-right: 1rem;
          }
          a:hover::before {
            background-color: var(--light-color);
          }
        }
      }
      .mobile-menu__item {
        padding: 1rem 1.25rem;
        font-size: 1.5em;
        display: flex;
        align-items: center;
        font-family: var(--font-secondary);
        a {
          text-decoration: none;
          color: var(--dark-color);
        }
      }
      .mobile-menu__item::before {
        content: '';
        display: inline-block;
        width: 0;
        height: 3px;
        background-color: var(--primary-color);
        transition: var(--transition);
      }
      .mobile-menu__item:hover::before {
        width: 1.5rem;
        margin: 0 0.7rem 0 0;
      }
    }
  }
}

/* Redes sociales: Fixed */
.c-social-media {
  width: max-content;
  position: fixed;
  top: 50%;
  right: 3.5rem;
  transform: translateY(-50%) rotateZ(-90deg);
  transform-origin: top right;
  z-index: 8;
  background-color: var(--light-color);
  border-radius: 99px;
  padding: 0.3rem;
  .c-social-media__content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    .c-social-media__item {
      color: var(--primary-color);
      font-size: 1.4em;
      display: inline-block;
      margin: 0.1rem 0;
      transform: rotateZ(90deg);
      width: 30px;
      height: 30px;
      border-radius: 99px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      text-align: center;
    }
    span {
      color: var(--primary-color);
      width: max-content;
      white-space: nowrap;
      font-weight: 600;
      &::after {
        content: '';
        width: 20px;
        height: 2px;
        display: inline-block;
        background-color: var(--primary-color);
        border-radius: 2px;
        margin: 3px 5px 3px 10px;
      }
    }
  }
}

/* Main */
#main {
  width: 100%;
}

/* Main Slider */
#main-slider {
  width: 100%;
}

/* Quienes somos */
.who {
  width: 100%;
  position: relative;
  background-color: var(--dark-color);
  overflow: hidden;
  .who__content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
    position: relative;
    z-index: 1;
  }
  .who__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 6rem;
  }
  .who__intro {
    flex: 1;
    min-width: 280px;
    max-width: 560px;
  }
  .who__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
  }
  .who__eyebrow-line {
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    flex-shrink: 0;
  }
  .who__eyebrow-label {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85em;
    font-family: var(--font-secondary);
  }
  .who__title {
    color: var(--light-color);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .who__accent {
    color: var(--secondary-color);
  }
  .who__desc {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
  }
  .who__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    flex: 1;
    min-width: 260px;
    max-width: 460px;
  }
  .who__stat {
    background-color: color-mix(in srgb, var(--primary-color) 35%, #000000 65%);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 25%, transparent 75%);
    border-radius: 20px 20px 20px 5px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    &:hover {
      border-color: var(--secondary-color);
      box-shadow: 0 0 25px color-mix(in srgb, var(--secondary-color) 20%, transparent 80%);
    }
    &:nth-child(even) {
      border-color: color-mix(in srgb, var(--terciary-color) 25%, transparent 75%);
      &:hover {
        border-color: var(--terciary-color);
        box-shadow: 0 0 25px color-mix(in srgb, var(--terciary-color) 20%, transparent 80%);
      }
      .who__stat-num {
        color: var(--terciary-color);
      }
    }
  }
  .who__stat-num {
    font-family: var(--font-primary);
    font-size: 2.8em;
    color: var(--secondary-color);
    line-height: 1;
  }
  .who__stat-label {
    color: var(--gray-color);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: var(--font-secondary);
  }
  .who__pillars {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .who__pillar {
    flex: 1;
    min-width: 240px;
    max-width: 420px;
    background-color: color-mix(in srgb, var(--primary-color) 25%, #000000 75%);
    border: 1px solid color-mix(in srgb, var(--light-color) 8%, transparent 92%);
    border-radius: 30px 30px 30px 5px;
    padding: 2.5rem 2rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    &:hover {
      border-color: var(--secondary-color);
      transform: translateY(-6px);
      box-shadow: 0 20px 50px color-mix(in srgb, var(--secondary-color) 10%, transparent 90%);
    }
  }
  .who__pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px 15px 15px 5px;
    background: linear-gradient(135deg, var(--secondary-color), var(--terciary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
  }
  .who__pillar-title {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-size: 1.4em;
    text-transform: uppercase;
  }
  .who__pillar-desc {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-secondary);
  }
}

/* Soluciones */
.solutions {
  width: 100%;
  .solutions__content {
    width: 100%;
    padding: 8rem 0;
    .solutions__intro {
      max-width: 1400px;
      margin: auto;
      margin-bottom: 4rem;
      padding: 0 2rem;
    }
  }
}

.solutions__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.solutions__eyebrow-line {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  flex-shrink: 0;
}

.solutions__eyebrow-label {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85em;
  color: var(--secondary-color);
}

.solutions__body {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.solutions__inner {
  width: 15%;
  height: 650px;
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1), background-color var(--transition), border-color var(--transition);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--primary-color) 18%, #080808 82%);
  border-right: 1px solid color-mix(in srgb, var(--light-color) 7%, transparent 93%);
  &:first-child {
    border-radius: 24px 0 0 24px;
    border-left: 1px solid color-mix(in srgb, var(--light-color) 7%, transparent 93%);
  }
  &:last-child {
    border-radius: 0 24px 24px 0;
    border-right: 1px solid color-mix(in srgb, var(--light-color) 7%, transparent 93%);
  }
  &:hover:not(.active) {
    background-color: color-mix(in srgb, var(--primary-color) 30%, #080808 70%);
    .solutions-inner__tab-label {
      color: var(--secondary-color);
    }
  }
  .solutions-inner__tab-label {
    position: absolute;
    top: 50%;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: opacity 300ms, color var(--transition);
    color: var(--light-color);
    font-size: 1em;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 1;
  }
  .solutions-inner__body {
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms 80ms;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 3.5rem;
    position: relative;
  }
  .solutions-inner__body-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .solutions-inner__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px 18px 18px 5px;
    background: linear-gradient(135deg, var(--secondary-color), var(--terciary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    color: var(--dark-color);
    margin-bottom: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--secondary-color) 25%, transparent 75%);
  }
  .solutions-inner__title {
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 1.5em;
  }
  .solutions-inner__desc {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-family: var(--font-secondary);
    font-size: 0.95em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .solutions-inner__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    .solutions-inner__item {
      color: var(--gray-color);
      font-family: var(--font-secondary);
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-size: 1.5em;
      transition: var(--transition);
      i {
        color: var(--secondary-color);
        font-size: 0.9em;
        flex-shrink: 0;
        transition: var(--transition);
      }
      &:hover {
        color: var(--light-color);
        i {
          filter: drop-shadow(0 0 8px var(--secondary-color));
          margin-right: 0.3rem;
        }
      }
    }
  }
  .solutions-inner__body-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 200px;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
  }
  .solutions-inner__bg-icon {
    font-size: 9em;
    opacity: 0.04;
    color: var(--light-color);
    line-height: 1;
  }
}

.solutions__inner.active {
  width: 70%;
  cursor: default;
  border-left: 3px solid var(--secondary-color);
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--primary-color) 22%, #080808 78%) 0%,
    color-mix(in srgb, var(--secondary-color) 6%, #080808 94%) 100%
  );
  .solutions-inner__tab-label {
    opacity: 0;
  }
  .solutions-inner__body {
    opacity: 1;
    pointer-events: all;
  }
  .solutions-inner__bg-icon {
    opacity: 0.06;
  }
}

.solutions__inner:nth-child(2).active {
  border-left-color: var(--terciary-color);
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--primary-color) 22%, #080808 78%) 0%,
    color-mix(in srgb, var(--terciary-color) 6%, #080808 94%) 100%
  );
  .solutions-inner__icon {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--terciary-color) 25%, transparent 75%);
  }
  .solutions-inner__features li i {
    color: var(--terciary-color);
  }
}

.solutions__inner:nth-child(2):hover:not(.active) {
  .solutions-inner__tab-label {
    color: var(--terciary-color);
  }
}

/* Novedades */
.news {
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  .news__content {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 8rem 2rem;
  }
}

.news__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.news__eyebrow-line {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  flex-shrink: 0;
}

.news__eyebrow-label {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85em;
  color: var(--secondary-color);
}

.news__body {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  gap: 4rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 0 2rem;
}

/* Partners */
.partners {
  width: 100%;
  margin: 7rem 0;
  .partners__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    .partners__slider {
      width: 100%;
      padding: 2rem 1rem;
      background-color: var(--light-color);
      border-radius: 35px 5px 35px 5px;
    }
  }
}

/* Reconocimientos */
.recognitions {
  width: 100%;
  margin: 7rem 0;
  .recognitions__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    .recognitions__slider {
      width: 100%;
      padding: 2rem 1rem;
      background-color: var(--light-color);
      border-radius: 35px 5px 35px 5px;
    }
  }
}

/* Donde encontrarnos */
.where {
  width: 100%;
  padding: 3rem 2rem;
  background-color: rgb(from var(--light-gray-color) r g b / 40%);
  .where__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    .where__map {
      width: 100%;
      height: 270px;
      border-radius: 150px;
      border: 2px solid var(--primary-color);
      position: relative;
      overflow: hidden;
      .ornament__location-pin {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 100%;
        max-width: 263px;
        height: 100%;
        max-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10em;
        color: var(--primary-color);
        background-color: var(--light-color);
        border-radius: 150px;
        outline: 2px solid var(--primary-color);
        z-index: 2;
        img {
          width: 55%;
          height: 55%;
          object-fit: contain;
        }
      }
      iframe {
        width: 100%;
        height: 100%;
      }
    }
  }
}

/* Footer */
#footer {
  width: 100%;
  background-color: var(--primary-color) !important;
  position: relative;
  z-index: 3;
  padding: 3rem 2rem;
  .footer__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap-reverse;
    gap: 15px;
    .footer__inner {
      width: calc(50% - 12.5px);
    }
    .footer__inner:first-child {
      .footer__brand {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
          width: 100%;
          max-width: 368px;
        }
      }
      .footer__info {
        list-style: none;
        padding: 0;
        width: 100%;
        max-width: 368px;
        margin: 0 auto;
        li {
          margin: 0.5rem 0;
        }
        li:first-child {
          img {
            width: 100%;
            max-width: 150px;
            margin: 0 auto 1rem auto;
          }
        }
      }
    }
    .footer__inner:last-child {
      .contact {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        background-color: var(--light-color);
        padding: 1rem;
        border-radius: 15px;
        font-weight: 700;
        p {
          margin: 0;
        }
        .cf7-input, .cf7-textarea {
          padding: 0.7rem 0.5rem 0.7rem 1rem;
          border: none;
          border-bottom: 1px solid var(--primary-color);
          width: 100%;
          margin: 0.5rem 0;
          &:focus {
            outline: 4px solid rgb(from var(--primary-color) r g b / 30%);
          }
        }
        .cf7-textarea {
          height: 6rem;
        }
        .cf7-submit {
          padding: 0.5rem 2rem;
          border-radius: 15px;
          background-color: var(--primary-color);
          color: var(--light-color);
          border: 2px solid var(--primary-color);
          transition: var(--transition);
          margin: 1rem 0;
          &:hover {
            background-color: var(--light-color);
            color: var(--primary-color);
            box-shadow: 0 0 10px var(--primary-color);
          };
        }
      }
    }
  }
}

.footer__ide {
  width: 100%;
  background-color: var(--dark-color);
  padding: 0.5rem 1rem;
  a {
    text-decoration: none;
    display: flex;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    img {
      width: 27px;
      margin-right: 0.5rem;
    }
    color: var(--light-color);
  }
}

/*
###################################################################################
                DEFINICIONES DE PÁGINAS, CATEGORÍAS Y ENTRADAS
###################################################################################
*/
.entry {
  width: 100%;
  padding: 2rem;
  background-color: var(--light-gray-color);
  color: var(--dark-gray-color);
  .entry__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    background-color: var(--light-color);
    box-shadow: 10px 10px 10px var(--light-shadow);
    padding: 2rem;
    .entry__box:first-child {
      width: 65%;
      padding: 0 0.5rem;
      .entry__header {
        width: 100%;
        .entry__att-image {
          width: 100%;
          height: calc((1200px - (1200px * 0.4)) / 1.5);
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        .breadcrumbs {
          font-weight: 700;
          margin: 0;
          a {
            color: var(--primary-color);
            text-decoration: none;
          }
          .breadcrumb_last {
            color: var(--dark-gray-color);
          }
        }
        .entry__date {
          margin-bottom: 2rem;
        }
        .entry__title {
          color: var(--primary-color);
          margin-bottom: 0;
          margin-top: 2rem;
        }
      }
      .entry__excerpt {
        p {
          width: 100%;
          padding: 1.5rem;
          border: 3px dashed var(--primary-color);
          font-size: 1.5em;
          border-radius: 25px 25px 25px 5px;
          margin: 2rem 0;
        }
      }
      .entry__body {
        h1, h2, h3, h4, h5, h6 {
          color: var(--primary-color);
          margin: 2rem 0 0.7rem 0;
        }
      }
      .entry-tags {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        .entry-tags__title {
          margin-right: 1rem;
          color: var(--primary-color);
        }
        ul {
          list-style: none;
          margin: 0;
          padding: 0;
          display: flex;
          align-items: center;
          justify-content: flex-start;
          flex-wrap: wrap;
          li {
            margin: 0.3rem;
            a {
              display: block;
              color: var(--primary-color);
              text-decoration: none;
              border: 1px solid var(--primary-color);
              background-color: transparent;
              padding: 0.3rem 0.5rem;
              border-radius: 99px;
              font-size: 0.8em;
              &:hover {
                background-color: var(--primary-color);
                color: var(--light-color);
              }
            }
          }
        }
      }
    }
    .entry__box:last-child {
      width: 35%;
      padding: 0 0.5rem;
      .entry-box__content {
        position: sticky;
        top: 1rem;
        .entry-search {
          position: relative;
          width: 100%;
          .entry-search__form {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            .entry-search__field {
              padding: 0.5rem 1rem;
              border: 1px solid var(--light-gray-color);
              width: 100%;
              &:focus {
                outline: 4px solid rgb(from var(--primary-color) r g b / 30%);
              }
            }
            .entry-search__submit {
              width: 3rem;
              height: 2.7rem;
              font-size: 1.2em;
              border: 2px solid var(--primary-color);
              background-color: var(--primary-color);
              color: var(--light-color);
            }
          }
        }
        .entry-related {
          width: 100%;
          margin: 1rem 0;
          .entry-related__title {
            color: var(--primary-color);
            margin-bottom: 1rem;
          }
          .entry-related__body {
            li {
              a {
                color: var(--primary-color);
                text-decoration: none;
                display: block;
                padding: 0.4rem;
                border-bottom: 1px dashed var(--primary-color);
                &:hover {
                  background-color: var(--primary-color);
                  color: var(--light-color);
                }
              }
            }
          }
        }
      }
      .entry-follow {
        width: 100%;
        .entry-follow__content {
          width: 100%;
          .entry-follow__title {
            color: var(--primary-color);
          }
          .entry-follow__list {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            list-style: none;
            margin: 0;
            padding: 0;
            .entry-follow__item {
              margin: 0 0.3rem;
              a {
                text-decoration: none;
                color: var(--light-color);
                display: flex;
                background-color: var(--primary-color);
                border-radius: 99px;
                width: 3.5rem;
                height: 3.5rem;
                font-size: 1.6em;
                justify-content: center;
                align-items: center;
                border: 2px solid var(--primary-color);
                transition: var(--transition);
                &:hover {
                  background-color: var(--light-color);
                  color: var(--primary-color);
                  box-shadow: 0 0 10px var(--primary-color);
                }
              }
            }
          }
        }
      }
    }
  }
}

/* Categorías */
.categories {
  width: 100%;
  padding: 4rem 2rem;
  background-color: var(--light-gray-color);
  .categories__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    .categories__header {
      width: 100%;
      .categories__title {
        color: var(--primary-color);
        margin-bottom: 1rem;
      }
      .categories__description {
        color: var(--dark-gray-color);
        margin-bottom: 2rem;
        width: 100%;
        max-width: 700px;
        margin-inline: auto;
        line-height: 1.7;
      }
    }
    .categories__body {
      width: 100%;
      .categories__loop {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        align-items: flex-start;
        justify-content: space-evenly;
      }
    }
  }
}

/* Cards de archivo (novedades, categorías) */
.news-item {
  background-color: var(--light-color);
  border-radius: 20px 20px 20px 5px;
  box-shadow: 0 4px 20px var(--light-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  width: 100%;
  max-width: 320px;
  &:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px color-mix(in srgb, var(--light-shadow) 60%, transparent 40%);
    .news-item__thumbnail-overlay {
      opacity: 0.25;
    }
    .news-item__image img {
      transform: scale(1.05);
    }
  }
  .news-item__content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .news-item__image {
    width: 100%;
    height: 210px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 500ms ease;
    }
    .news-item__thumbnail-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        transparent 40%,
        color-mix(in srgb, var(--secondary-color) 30%, #000 70%) 100%
      );
      opacity: 0.1;
      transition: opacity var(--transition);
    }
  }
  .news-item__info {
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .news-item__title {
    color: var(--dark-color) !important;
    font-size: 1.15em;
    line-height: 1.35;
    margin-bottom: 0.5rem !important;
    transition: color var(--transition);
    &:hover {
      color: var(--secondary-color) !important;
    }
  }
  .news-item__date {
    p {
      color: var(--gray-color);
      font-size: 0.82em;
      display: flex;
      align-items: center;
      margin: 0;
    }
    i {
      color: var(--secondary-color);
    }
  }
  p {
    color: var(--dark-gray-color);
    line-height: 1.7;
    font-size: 0.9em;
  }
  .news-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--light-gray-color);
    .news-item__share {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
  }
}

.share-icon {
  width: 34px;
  height: 34px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  transition: transform var(--transition), box-shadow var(--transition);
  &:hover {
    transform: scale(1.15);
  }
  &.facebook {
    background-color: #1877f2;
    color: var(--light-color);
    &:hover {
      box-shadow: 0 0 10px #1877f280;
    }
  }
  &.whatsapp {
    background-color: #25d366;
    color: var(--light-color);
    &:hover {
      box-shadow: 0 0 10px #25d36680;
    }
  }
}

/* Pages */
.page {
  width: 100%;
  background-color: var(--light-gray-color);
  .page__content {
    width: 100%;
    .page-header {
      width: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      flex-wrap: wrap;
      width: 100%;
      height: 100%;
      position: relative;
      .page-header__overlay {
        position: absolute;
        z-index: 2;
        padding: 2rem;
        top: 0;
        height: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        background: linear-gradient(180deg, rgba(255,255,255, 0) 11%, rgba(0,0,0,0.6194852941176471) 77%);
      }
      .page-header__content {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 1200px;
        padding: 2rem;
        margin: 0 auto;
        .page__title {
          color: var(--dark-color);
        }
        #breadcrumbs {
          font-weight: 700;
          a {
            color: var(--primary-color);
            text-decoration: none;
          }
          .breadcrumb_last {
            color: var(--light-color);
          }
        }
        #breadcrumbs.primary-color-last .breadcrumb_last {
          color: var(--dark-color);
        }
      }
    }
    .page__body {
      width: 100%;
      margin-bottom: 5rem;
      .page__content {
        background-color: var(--light-color);
        box-shadow: 2px 2px 5px var(--light-shadow);
        border: 1px solid var(--light-gray-color);
        border-radius: 25px;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
        h1, h2, h3, h4, h5, h6 {
          color: var(--primary-color);
        }
      }
    }
  }
}

.not-found {
  width: 100%;
  .not-found__content {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    color: var(--dark-gray-color);
    .not-found__inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      .not-found__box {
        width: calc(50% - 10px);
      }
      .not-found__box:first-child {
        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
        }
      }
    }
  }
}

/* Search page */
.search {
  width: 100%;
  .search__content {
    width: 100%;
    max-width: 1440px;
    padding: 5rem 2rem;
    margin: 0 auto;
  }
}

/*
###################################################################################
    DEFINICIONES DE OPTIMIZACIÓN Y ADAPTABILIDAD DEL SITIO EN DIFERENTES PANTALLAS
###################################################################################
*/

@media (width < 1441px) {
  .campaigns {
    .campaigns__content {
      .campaigns__box:last-child {
        .buttons-center {
          width: 100%;
        }
      }
    }
  }
  .entry {
    .entry__content {
      max-width: 1024px;
      .entry__box:first-child {
        .entry__header {
          .entry__att-image {
            height: calc((1024px - (1024px * 0.4)) / 1.5);
          }
        }
      }
    }
  }
}

@media (width < 1200px) {
  .where {
    .where__content {
      .where__map {
        max-width: 94vw;
        max-height: 21.5vw;
        .ornament__location-pin {
          font-size: 13vw;
          max-width: 21vw;
          max-height: 22vw;
        }
      }
    }
  }
}

@media (width < 1100px) {
  .entry {
    .entry__content {
      .entry__box:first-child {
        .entry__header {
          .entry__att-image {
            height: 37vw;
          }
        }
      }
    }
  }
}

@media (width < 992px) {
  .main-menu {
    display: none;
  }
  .header__mobile-button {
    display: block;
  }
  #header {
    .header__content {
      padding: 0 2rem;
    }
  }
  .campaigns {
    .campaigns__content {
      .campaigns__box:first-child, .campaigns__box:last-child {
        width: 100%;
      }
    }
  }
  .awards {
    .awards__content {
      .awards__box {
        width: 100%;
        margin: 1rem 0;
      }
    }
  }
}
@media (width < 900px) {
  .brochure {
    .brochure__content {
      .brochure__inner {
        width: 100%;
      }
    }
  }
  .entry {
    .entry__content {
      .entry__box:first-child {
        width: 100%;
        .entry__header {
          .entry__att-image {
            height: 53vw;
          }
        }
      }
      .entry__box:last-child {
        width: 100%;
        padding-top: 3rem;
        border-top: 3px dashed var(--primary-color);
      }
    }
  }
}

@media (width < 768px) {
  .sede {
    .sede__content {
      .sede__box {
        width: 100%;
      }
    }
  }
}

@media (width < 720px) {
  .who {
    .who__top {
      flex-direction: column;
      gap: 3rem;
      margin-bottom: 3rem;
    }
    .who__intro {
      max-width: 100%;
    }
    .who__stats-grid {
      max-width: 100%;
      width: 100%;
    }
  }
}

@media (width < 620px) {
  #footer {
    .footer__content {
      gap: 0;
      .footer__inner {
        width: 100%;
        margin: 1rem 0;
      }
    }
  }
}

@media (width < 576px) {
  /* Headings */
  h1 {
    font-size: 2.4em;
  }
  .who {
    .who__content {
      padding: 5rem 1.5rem;
    }
    .who__stats-grid {
      grid-template-columns: 1fr 1fr;
    }
    .who__pillar {
      max-width: 100%;
    }
  }
  h2 {
    font-size: 2em;
  }
  h3 {
    font-size: 1.6em;
  }
  h4 {
    font-size: 1.3em;
  }
  h5 {
    font-size: 1.1em;
  }
  h6 {
    font-size: 0.9em;
  }
}

@media (width < 512px) {
  .solutions__inner {
    .solutions-inner__body {
      padding: 2rem 1.5rem;
    }
    .solutions-inner__features {
      .solutions-inner__item {
        font-size: 1em;
        font-weight: 600;
      }
    }
  }
}

@media (width < 480px) {
  /* Headings */
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.5em;
  }
  h4 {
    font-size: 1.3em;
  }
  h5 {
    font-size: 1em;
  }
  h6 {
    font-size: 0.8em;
  }
  p, span {
    font-size: 0.8em;
  }
  .who {
    .who__stats-grid {
      grid-template-columns: 1fr;
    }
    .who__stat {
      width: 100%;
    }
  }
  .entry {
    padding: 0;
    .entry__content {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 1rem;
    }
  }
}