/*
Theme Name: IDE Comunicación Digital
Author: <a href="https://emalderete.com.ar" target="_blank">Emanuel Alderete Dev</a> & IDE Comunicación Digital
Theme URI: //ideconsultora.com.ar/
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: moc-vital
*/

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

/* Paleta de colores del sitio */

:root {
  --dark-color: #333333;
  --dark-gray-color: #555555;
  --gray-color: #aaaaaa;
  --light-gray-color: #e7e7e7;
  --light-color: #ffffff;
  --primary-color: #e22117;
  --secondary-color: #1b1b1b;
  --light-shadow: #00000038;
  --transition: 250ms;
  --bold-font: 800;
  --thin-font: 300;
}

/* Declaraciones Generales */

html {
  font-family: "Montserrat";
  font-size: 14px;
  color: var(--dark-color);
  height: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100% !important;
  font-family: "Montserrat";
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  height: 100%;
}

/* 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, p, ul, ol, li, span, a, button {
  font-family: 'Montserrat';
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 3em;
}

h3 {
  font-size: 2em;
}

h4 {
  font-size: 1.7em;
}

h5 {
  font-size: 1.4em;
}

h6 {
  font-size: 1.2em;
}

.title, .home-title {
  font-weight: var(--bold-font);
  text-transform: uppercase;
  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;
  font-weight: var(--bold-font);
  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(--light-color);
  border: 2px solid var(--secondary-color);
  &:hover {
    background-color: var(--light-color);
    color: var(--secondary-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 */
.top-header {
  background-color: var(--primary-color);
  width: 100%;
  padding: 0.7rem;
}

#header {
  position: sticky;
  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: "Montserrat";
          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;
            &: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;
        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%;
  margin: 0;
  .who__content {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    .who__inner {
      width: 50%;
      .who__info {
        width: 75%;
        margin: 0 auto;
        .who__item {
          margin: 3rem 0;
          p {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            overflow: hidden;
            -webkit-box-orient: vertical;
            text-overflow: clip;
            margin-bottom: 0.5rem;
          }
        }
      }
    }
    .who__inner:first-child {
      padding: 1.5rem;
    }
    .who__inner:last-child {
      background-color: var(--light-color);
      overflow: hidden;
      .who__video {
        height: 100%;
        width: 100%;
        position: relative;
        video {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: contain;
          transform: translateY(-10%);
        }
      }
    }
  }
}

/* Servicios y Productos */
.services {
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  .services__content {
    width: 100%;
    padding: 3rem;
  }
}

.services-menu {
  width: 100%;
  padding: 3rem 2rem;
  .services-menu__nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    .nav-pills {
      display: flex;
      align-items: stretch;
      justify-content: space-evenly;
      flex-wrap: wrap;
      .nav-link {
        margin: 1rem;
        background-color: var(--secondary-color);
        color: var(--light-color);
        width: calc(33.33% - 2rem);
        padding: 1rem 0;
        font-size: 1.2em;
        font-weight: 600;
        border-radius: 25px 25px 25px 5px;
        transition: var(--transition);
        &:hover {
          background-color: var(--primary-color);
        }
      }
      .nav-link.active {
        background-color: var(--primary-color);
        color: var(--light-color);
      }
    }
  }
  .tab-content {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    .tab-pane {
      .buttons-center {
        transform: translateY(5rem);
      }
    }
  }
  .service-item {
    width: 100%;
    background-color: var(--light-color);
    margin: 1rem 0;
    border-radius: 50px 50px 50px 10px;
    box-shadow: 2px 2px 10px var(--light-shadow);
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap-reverse;
    overflow: hidden;
    position: sticky;
    .service-item__box {
      width: 50%;
    }
    .service-item__box:first-child {
      padding: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      justify-content: space-between;
      .service-item__inner {
        width: 100%;
        .service-item__count {
          font-weight: 700;
          font-size: 2.5em;
          color: var(--secondary-color);
        }
        .service-item__title {
          width: 100%;
          margin-bottom: 0.5rem;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: clip;
          line-clamp: 2;
        }
        p {
          width: 100%;
          margin-bottom: 1rem;
          display: -webkit-box;
          -webkit-line-clamp: 5;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: clip;
          line-clamp: 5;
        }
      }
      .buttons-left {
        width: 100%;
      }
    }
    .service-item__box:last-child {
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50px 50px 50px 10px;
      max-height: 30rem;
      overflow: hidden;
      position: relative;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%);
      }
      .service-item__thumbnail-overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: rgb(from var(--primary-color) r g b / 50%);
        filter: brightness(1.5);
      }
    }
  }
  .service-item:nth-child(1) {
    top: 10rem;
  }
  .service-item:nth-child(2) {
    top: 10.5rem;
  }
  .service-item:nth-child(3) {
    top: 11rem;
  }
  .service-item:nth-child(4) {
    top: 11.5rem;
  }
  .service-item:nth-child(5) {
    top: 12rem;
  }
  .service-item:nth-child(6) {
    top: 12.5rem;
  }
  .service-item:nth-child(7) {
    top: 13rem;
  }
  .service-item:nth-child(8) {
    top: 13.5rem;
  }
  .service-item:nth-child(9) {
    top: 14rem;
  }
  .service-item:nth-child(10) {
    top: 14.5rem;
  }
  .service-item:nth-child(11) {
    top: 15rem;
  }
  .service-item:nth-child(12) {
    top: 15.5rem;
  }
}

/* Campañas */
.campaigns {
  width: 100%;
  .campaigns__content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: var(--primary-color);
    .campaigns__box {
      padding: 1rem;
    }
    .campaigns__box:first-child {
      width: 25%;
      .campaigns__icon {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
          width: 100%;
          max-width: 150px;
        }
      }
    }
    .campaigns__box:last-child {
      width: 75%;
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      flex-wrap: wrap;
      .buttons-center {
        a {
          padding: 0;
          width: 50px;
          height: 50px;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
    }
  }
  .campaigns-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: 300px;
    max-height: 300px;
    margin: 1rem;
    border-radius: 30px 30px 30px 5px;
    border: 2px solid var(--light-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    .campaigns-item__overlay {
      background: linear-gradient(to bottom, #00000001 20%, #00000058 100%);
      width: 100%;
      height: 100%;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      transition: backdrop-filter var(--transition);
      &:hover {
        backdrop-filter: blur(4px);
      }
      .campaigns-item__info {
        width: 100%;
        padding: 1rem;
        h5 {
          display: -webkit-box;
          line-clamp: 2;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
          text-overflow: clip;
        }
        p {
          display: -webkit-box;
          line-clamp: 4;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 4;
          overflow: hidden;
          text-overflow: clip;
          color: var(--light-color);
          transition: var(--transition);
          height: 0;
        }
        .buttons-left {
          overflow: hidden;
          transition: var(--transition);
          height: 0;
        }
      }
    }
  }
  .campaigns-item:hover {
    .campaigns-item__overlay {
      .campaigns-item__info {
        p {
          height: 90px;
        }
        .buttons-left {
          height: 40.5px;
        }
      }
    }
  }
}

/* Reconocimientos */
.awards {
  width: 100%;
  background-color: color-mix(in srgb, var(--primary-color) 5%, var(--light-color) 95%);
  .awards__content {
    padding: 3rem 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    .awards__box {
      overflow: hidden;
      width: 50%;
    }
    .awards__box:first-child {
      .awards__info {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 2rem;
        img {
          width: 100%;
          max-width: 150px;
          height: auto;
          margin-bottom: 1.5rem;
        }
      }
    }
    .awards__box:last-child {
      border-radius: 50px 50px 50px 10px;
      border: 2px solid var(--light-gray-color);
    }
  }
}

/* Nuestros Clientes */
.customers {
  width: 100%;
  margin: 5rem 1.5rem;
}

/* Nuestros Partners */
.partners {
  width: 100%;
  padding: 5rem 1.5rem;
  background-color: var(--secondary-color);
}

/* Sede Tucumán */
.sede {
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  .sede__overlay {
    width: 100%;
    background-color: rgb(from var(--primary-color) r g b / 70%);
  }
  .sede__content {
    width: 100%;
    padding: 9rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    .sede__box {
      width: 50%;
    }
    .sede__box:first-child {
      display: flex;
      align-items: center;
      justify-content: center;
      img {
        width: 70%;
        height: 70%;
        object-fit: contain;
      }
    }
  }
}

/* Search */
.search {
  width: 100%;
  margin: 1.5rem 0;
  .search__content {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    .search__form {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem 1.5rem;
      .search__field {
        font-size: 1.2em;
        width: calc(100% - 3.5rem);
        padding: 1.5rem 0 1.5rem 1rem;
        color: var(--dark-color);
        background-color: rgb(from var(--primary-color) r g b / 15%);
        font-style: italic;
        border-radius: 25px 0 0 25px;
        border: none;
        &:focus {
          outline: none;
        }
        &::placeholder  {
          color: var(--gray-color);
        }
      }
      .search__submit {
        padding: 0.5rem;
        background-color: var(--primary-color);
        color: var(--light-color);
        border: 2px solid var(--primary-color);
        border-radius: 0 25px 25px 0;
        transition: var(--transition);
        overflow: hidden;
        width: 3.5rem;
        height: 5rem;
        span {
          text-align: end;
          display: inline-block;
          width: 6.5rem;
          i {
            margin-right: 1rem;
          }
        }
        &:hover {
          background-color: var(--light-color);
          box-shadow: 0 0 10px var(--secondary-color);
          color: var(--secondary-color);
          border: 2px solid var(--secondary-color);
          width: 9rem;
        }
      }
    }
  }
}

/* Entradas en archive.php */
.news {
  width: 100%;
  .news__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    .news__loop {
      width: 100%;
      display: flex;
      align-items: stretch;
      flex-wrap: wrap;
      justify-content: space-around;
    }
  }
}

.news-item {
  width: 300px;
  margin: 0.5rem;
  perspective: 1000px;
  .news-item__content {
    border: 2px solid var(--gray-color);
    border-radius: 25px;
    transition: var(--transition);
    width: 100%;
    overflow: hidden;
    &:hover {
      box-shadow: 15px 15px 10px var(--light-shadow);
    }
    .news-item__image {
      width: 100%;
      outline: 2px solid var(--gray-color);
      height: 16rem;
      border-radius: 25px;
      overflow: hidden;
      position: relative;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%);
      }
      .news-item__thumbnail-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(from var(--primary-color) r g b / 50%);
        filter: brightness(1.5);
      }
    }
    .news-item__date {
      p {
        margin: 0;
        color: var(--gray-color);
      }
    }
    .news-item__info {
      width: 100%;
      padding: 1rem;
      .news-item__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: clip;
        line-clamp: 2;
      }
      p {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: clip;
        line-clamp: 4;
      }
    }
    .news-item__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 15px;
      .button-left {
        width: calc(60% - 7.5px);
      }
      .news-item__share {
        width: calc(40% - 7.5px);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        .share-icon {
          width: 35px;
          height: 35px;
          margin: 0 5px;
          font-size: 1.2em;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 99px;
          transition: var(--transition);
        }
        .share-icon.facebook {
          background-color: var(--primary-color);
          color: var(--light-color);
          &:hover {
            background-color: #3b5998;
            box-shadow: 0 0 10px #3b5998;
          }
        }
        .share-icon.whatsapp {
          background-color: var(--primary-color);
          color: var(--light-color);
          &:hover {
            background-color: #25d366;
            box-shadow: 0 0 10px #25d366;
          }
        }
      }
    }
  }
}

/* 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: 85%;
          height: 85%;
          object-fit: contain;
        }
      }
      iframe {
        width: 100%;
        height: 100%;
      }
    }
  }
}

/* Footer */
#footer {
  width: 100%;
  background-color: var(--secondary-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;
    background-color: var(--secondary-color);
    .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: 2rem;
  .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%;
      }
    }
    .categories__body {
      width: 100%;
      .categories__loop {
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: space-evenly;
        flex-wrap: wrap;
      }
    }
  }
}

/* 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;
        }
      }
    }
  }
}

/* Declaraciones varias */
.awards-slider__content {
  display: flex;
  align-items: flex-end;
}

/*
###################################################################################
    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;
  }
  .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) {
  .services-menu {
    .service-item {
      .service-item__box {
        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) {
  .services-menu {
    .services-submenu__nav {
      .nav {
        .nav-link {
          width: calc(33% - 1rem);
        }
      }
    }
  }
  .sede {
    .sede__content {
      .sede__box {
        width: 100%;
      }
    }
  }
}

@media (width < 720px) {
  .who {
    .who__content {
      .who__inner {
        width: 100%;
        .who__info {
          width: 100%;
        }
      }
      .who__inner:last-child {
        height: 25rem;
      }
    }
  }
  .services-menu {
    padding: 3rem 0;
  }
}

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

@media (width < 576px) {
  /* Headings */
  h1 {
    font-size: 2.4em;
  }
  h2 {
    font-size: 2em;
  }
  h3 {
    font-size: 1.6em;
  }
  h4 {
    font-size: 1.3em;
  }
  h5 {
    font-size: 1.1em;
  }
  h6 {
    font-size: 0.9em;
  }
  .services {
    .services-menu__nav {
      .nav-pills {
        .nav-link {
          width: 100%;
          margin: 0.5rem 0;
        }
      }
    }
  }
}

@media (width < 512px) {
  .services {
    .services__content {
      padding: 3rem 0.5rem;
    }
  }
}

@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;
  }
  .services-menu {
    .service-item {
      border-radius: 25px 25px 25px 5px;
      .service-item__box:last-child {
        border-radius: 25px 25px 25px 5px;
        max-height: 15rem;
      }
    }
    .service-item:nth-child(1) {
      top: 5rem;
    }
    .service-item:nth-child(2) {
      top: 6rem;
    } 
    .service-item:nth-child(3) {
      top: 7rem;
    }
    .service-item:nth-child(4) {
      top: 8rem;
    }
    .service-item:nth-child(5) {
      top: 9rem;
    }
  }
  .entry {
    padding: 0;
    .entry__content {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 1rem;
    }
  }
}