/* Our Core Values Section - Based on parent theme our-core.css */
.our-core {
  padding: 27px 20px;
  padding-bottom: 80px;
  position: relative;
}

.our-core__container {
  max-width: 1180px;
  margin: 0 auto;
}

.our-core__header {
  text-align: center;
}

.our-core__title {
  font-family: var(--font-family-archer, 'Archer', serif);
  font-weight: 700;
  font-size: 62px;
  line-height: 120%;
  color: var(--color-text-teal, #196B81);
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
}

.our-core__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 100%;
  height: 15px;
  background-image: url('../images/BRUSHES.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateX(-50%);
}

.our-core__subtitle {
  font-family: var(--font-family-archer, 'Archer', serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  max-width: 830px;
  margin: 20px auto 0;
}

/* Cards container */
.our-core__cards-wrapper {
  border-radius: 20px;
  padding: 40px 30px;
  padding-top: 60px;
}

.our-core__cards {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Individual card */
.our-core__card {
  width: 212px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Image wrapper */
.our-core__card-image-wrapper {
  width: 157px;
  height: 157px;
  border-radius: 50%;
  overflow: visible;
  margin-bottom: 20px;
  position: relative;
}

/* Mask styles for different image shapes */
.our-core-mask-1 {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: url("../images/core1.png");
  mask-image: url("../images/core1.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.our-core-mask-2 {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: url("../images/core5.png");
  mask-image: url("../images/core5.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.our-core-mask-3 {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: url("../images/core3.png");
  mask-image: url("../images/core3.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.our-core__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative images */
.our-core__card-decor {
  position: absolute;
  width: 60px;
  height: 60px;
  object-fit: contain;
  z-index: -1;
}

.our-core__height {
  height: 120px;
  width: auto;
}

/* Variante 1: Superior izquierda + Inferior derecha */
.our-core__card-image-wrapper--variante-1 .our-core__card-decor--top-left {
  top: -10px;
  left: -10px;
}

.our-core__card-image-wrapper--variante-1 .our-core__card-decor--bottom-right {
  bottom: -10px;
  right: -10px;
}

/* Variante 2: Superior derecha + Inferior izquierda */
.our-core__card-image-wrapper--variante-2 .our-core__card-decor--top-right {
  top: -10px;
  right: -10px;
}

.our-core__card-image-wrapper--variante-2 .our-core__card-decor--bottom-left {
  bottom: -10px;
  left: -10px;
}

/* Specific decoration overrides */
.our-decoration-1 {
  height: auto;
  width: auto;
}

.our-decoration-2 {
  height: auto;
  width: auto;
}

.our-decoration-3 {
  height: 120px;
  width: auto;
}

.our-decoration-4 {
  height: 40px;
  width: auto;
}

.our-decoration-5 {
  height: auto;
  right: 0;
  width: auto;
}

.our-core__card-image-wrapper--variante-2 .our-core__card-decor--bottom-left.our-decoration-6 {
  bottom: -33px;
  height: auto;
  width: auto;
  left: -40px;
}

.our-decoration-7 {
  height: auto;
  width: auto;
}

.our-core__card-image-wrapper--variante-1 .our-core__card-decor--bottom-right.our-decoration-8 {
  height: auto;
  width: auto;
  right: -30px;
  bottom: -20px;
}

.our-core__card-image-wrapper--variante-1 .our-core__card-decor--top-left.our-decoration-9 {
  height: auto;
  width: auto;
  left: -30px;
}

.our-core__card-image-wrapper--variante-1 .our-core__card-decor--bottom-right.our-decoration-10 {
  height: auto;
  width: auto;
  right: -20px;
}

/* Card title */
.our-core__card-title {
  font-family: var(--font-family-archer, 'Archer', serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0px;
  text-align: center;
  color: var(--color-text-teal, #196B81);
  margin: 0;
  max-width: 156px;
  padding-bottom: 20px;
}

/* Card description */
.our-core__card-desc {
  font-family: var(--font-family-archer, 'Archer', serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0px;
  text-align: center;
  color: #333;
  margin: 0;
}

/* Decorative Elements */
.our-core__decoration {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.our-core__decoration--bottom-right {
  bottom: -80px;
  right: 0;
}

.our-core__decoration--bottom-right img {
  width: 120px;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 1100px) {
  .our-core__cards {
    flex-wrap: wrap;
  }

  .our-core__card {
    width: calc(33.333% - 20px);
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .our-core__decoration {
    display: none;
  }
  .our-core {
    padding: 60px 20px;
    padding-bottom: 0;
    padding-top: 20px;
  }

  .our-core__title {
    font-size: 42px;
  }

  .our-core__cards {
    gap: 20px;
  }

  .our-core__card {
    width: calc(50% - 10px);
    min-width: 160px;
  }

  .our-core__card-image-wrapper {
    width: 212px;
    height: 212px;
  }

  .our-core__card-title {
    font-size: 18px;
  }

  .our-core__card-desc {
    font-size: 14px;
  }
}

@media (max-width: 500px) {
  .our-core__title {
    font-size: 32px;
  }

  .our-core__subtitle {
    font-size: 16px;
  }

  .our-core__cards-wrapper {
    padding: 30px 20px;
  }

  .our-core__card {
    width: 100%;
  }
  .collapse-jobs  .collapse-jobs__title-text{
    font-size: 38px;
  }
}
