.wrap-portfolio-section {
  width: 100%;
}

.portfolio-section {
  box-sizing: border-box;
  margin: 0px auto 0px auto;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width:1350px) {
  .portfolio-section {
    max-width: 1350px;
  }
}

@media (max-width: 1000px) {
  .portfolio-section {
    width: auto;
  }
}
/*************************************************/
/*                  Portada                      */
/*************************************************/
.content-info-portafolio {
  box-sizing: border-box;
  width: 1300px;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 0px;
}

.content-info-portafolio .col1 {
  display: block;
  padding: 10px;
  text-align: left;
}

.content-info-portafolio .col2 {
  display: block;
}

.content-info-portafolio .col1 span {
  font-family: 'textt', serif;
  font-size: 10pt;
  background-color: rgb(255, 255, 255, .2);
  padding: 10px 20px;
  border-radius: 20px;
}

.content-info-portafolio .col1 h1 {
  font-family: 'headM', serif;
  font-size: 28pt;
  text-align: left;
  margin-bottom: 40px;
}

.content-info-portafolio .col1 p {
  font-family: 'textM', serif;
  font-size: 12pt;
  text-align: left;
  font-weight: 300;
}

.content-info-portafolio .col1 .stats {
  box-sizing: border-box;
  width: 100%;
  margin-top: 40px;
  opacity: .8;
}

.content-info-portafolio .col1 .stats span {
  background: none;
  padding: 0px;
  font-family: 'textt', serif;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 2.5;
}

.content-info-portafolio .col1 .stats span i {
  color: #2463EB;
  font-size: 14pt;
}

.content-info-portafolio .col2 img {
  width: 60%;
  opacity: .8;
  filter: grayscale(100%) brightness(0) invert(1);
}

@media (max-width:1300px) {
  #wrap-video-services #overlay .content-info-portafolio {
    width: auto;
  }
}

@media (max-width:950px) {

  #wrap-video-services #overlay {
    padding-top: 200px;
  }
}

@media (max-width:900px) {
  #wrap-video-services #overlay {
    padding-top: 150px;
  }
}

@media (max-width:900px) {
  #wrap-video-services #overlay .content-info-portafolio {
    display: block;
  }
}
/*************************************************/
/*              Portafolio-Seccion 1             */
/*************************************************/
.wrap-portfolio-section-1 {
  background-color: #FBFBFC;
}

.portfolio-section-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 10px;
  flex-direction: column;
}

.portfolio-section-1 h2 {
  color: #333333;
  font-family: 'headm', serif;
  font-weight: 700;
  font-size: clamp(20pt, 2vw, 28pt);
  text-align: center;
  text-shadow: 3px 3px 1px rgb(0, 0, 0, .1);
  margin-bottom: 0px;
}

.portfolio-section-1 p {
  font-family: 'textM', serif;
  font-size: 14pt;
  font-weight: 500;
  text-align: center;
  margin-top: 0px;
  color: #888888;
}

.portfolio-section-1 .underline-header {
  background: rgb(34, 84, 197);
  width: 100px;
  height: 10px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgb(0, 0, 0, .2);
  opacity: .8;
}
/*******************************************************/
.wrap-portfolio-section-3 {
  background-color: #FBFBFC;
}

.portfolio-section-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 40px;

  padding: 40px 10px;
}

.portfolio-section-3 .card {
  box-sizing: border-box;
  border: 3px solid;
  border-radius: 20px;
  padding: 30px;
}

.portfolio-section-3 .card h3 {
  font-family: 'headM', serif;
  font-size: 14pt;
  font-weight: 500;
  color: #444444;
}

.portfolio-section-3 .card1 {
  border-color: rgb(239,67,67,.2);
  box-shadow: 0px 0px 10px rgb(239,67,67,.1);
  transition: .5s all;
}

.portfolio-section-3 .card1:hover {
  border-color: rgb(239,67,67,.5);
  box-shadow: 0px 0px 10px rgb(239,67,67,.5);
}

.portfolio-section-3 .card1 h3 i {
  background-color: rgb(239,67,67,.2);
  color: rgb(239,67,67);

  padding: 10px;
  border-radius: 20px;
}

.portfolio-section-3 .card2 {
  border-color: rgb(61,116,237,.2);
  box-shadow: 0px 0px 10px rgb(61,116,237,.1);
  transition: .5s all;
}

.portfolio-section-3 .card2:hover {
  border-color: rgb(61,116,237,.5);
  box-shadow: 0px 0px 10px rgb(61,116,237,.5);
}

.portfolio-section-3 .card2 h3 i {
  background-color: rgb(61,116,237,.2);
  color: rgb(61,116,237);

  padding: 10px;
  border-radius: 20px;
}

.portfolio-section-3 .card p {
  font-family: 'textM', serif;
  font-weight: 400;
  font-size: 12pt;
  color: #666666;
}

.portfolio-section-3 .card1 p i {
  color: rgb(239,67,67);
}

.portfolio-section-3 .card2 p i {
  color: rgb(61,116,237);
}

@media (max-width:850px) {
  .portfolio-section-3 {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 40px;
  }
}
/*******************************************************/
.wrap-portfolio-section-3-3 {
  background-color: transparent;
}

.portfolio-section-3-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.portfolio-section-3-3 p {
  font-family: 'textM', serif;
  font-weight: 500;
  color: #888888;
  font-size: 14pt;
  text-align: center;
}

.portfolio-section-3-3 p span {
  font-weight: 600;
  color: #444444;
}
/*******************************************************/
.wrap-portfolio-section-4 {
  background-color: transparent;
}

.portfolio-section-4 {
  box-sizing: border-box;
  padding: 60px 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-section-4 .etiqueta {
  text-transform: uppercase;
  font-family: 'textt', serif;
  font-weight: 400;
  font-size: 12pt;
  text-align: center;
  color: #3562EB;
  width: 100%;
}

.portfolio-section-4 h3 {
  font-family: 'headM', serif;
  font-weight: 600;
  text-align: center;
  font-size: clamp(20pt,2vw,30pt);
  color: #444444;;
  margin: 0px;
}

.portfolio-section-4 p {
  font-family: 'textM', serif;
  font-weight: 500;
  font-size: 14pt;
  margin: 0px;
  text-align: center;
  color: #888888;
}
/*******************************************************/
.wrap-portfolio-section-5 {
  background-color: transparent;
}

.portfolio-section-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  box-sizing: border-box;
  gap: 20px;
  padding: 40px 10px;
}

.portfolio-section-5 .card {
  box-sizing: border-box;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgb(61,116,237,.1);
  box-shadow: 0px 0px 10px rgb(0,0,0,.1);
  transition: .5s all;
}

.portfolio-section-5 .card:hover {
  border: 1px solid rgb(61,116,237,.4);
  box-shadow: 0px 4px 15px rgb(0,0,0,.2);
}

.portfolio-section-5 .card i {
  background-color: #E8F0FD;
  padding: 15px;
  border-radius: 5px;
  color: #3562EB;
  font-size: 14pt;
}


.portfolio-section-5 .card h4 {
  color: #333333;
  font-family: 'headM', sans-serif;
  margin-bottom: 0px;
}

.portfolio-section-5 .card p {
  color: #888888;
  font-family: 'textM', sans-serif;
  font-size: 11pt;
  font-weight: 400;
}
/*******************************************************/
.wrap-portfolio-section-9 {
  background-color: #FBFBFC;
}

.portfolio-section-9 {
  padding: 0px 10px;
}

.portfolio-section-9 h5 {
  font-family: 'headM', serif;
  font-weight: 600;
  font-size: 30pt;
  color: #444444;
  text-shadow: 3px 3px 1px rgb(0, 0, 0, .1);
}

/*******************************************************/
.wrap-portfolio-section-10 {
  background-color: #FBFBFC;
}

.portfolio-section-10 {
  padding: 40px 20px;
  box-sizing: border-box;

  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.portfolio-section-10 .card {
  box-sizing: border-box;
  width: 240px;
  background-color: rgb(255, 255, 255);
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 2px rgb(0, 0, 0, .2);
  position: relative;

  transition: .5s all;
}

.portfolio-section-10 .card:hover {
  box-shadow: 0px 0px 5px rgb(0, 0, 0, .2);
}

.portfolio-section-10 .card span {
  color: rgb(255, 255, 255);
  font-family: 'textt', serif;
  font-weight: 900;
  font-size: 20pt;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgb(0, 0, 0, .5);
}

.portfolio-section-10 .card:nth-child(odd) span {
  background-color: rgb(34, 84, 197);
}

.portfolio-section-10 .card:nth-child(even) span {
  background-color: rgb(22, 162, 73);
}

.portfolio-section-10 .card p {
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: 'textM', serif;
  font-size: 12pt;
  font-weight: 600;
  color: #444444;
}

.portfolio-section-10 .card i {
  position: absolute;
  bottom: 20px;
  font-size: 20pt;
  color: rgb(34, 84, 197);
  text-shadow: 0px 0px 2px rgb(0, 0, 0, .5);
}

/*******************************************************/
.wrap-portfolio-section-logo {
  background-color: transparent;
}

.portfolio-section-logo {
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-section-logo figure {
  padding: 0px;
  display: block;
  width: 60%;
}

.portfolio-section-logo figure img {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: auto;
}
/*******************************************************/
/*                    Seccion de contacto              */
/*******************************************************/
.wrap-portfolio-section-contac {
  background: #0847AC;
  background: linear-gradient(120deg, rgba(8, 71, 172, 1) 0%, rgba(11, 99, 240, 1) 100%);
  padding-top: 40px;
  padding-bottom: 40px;
}

.portfolio-section-contac {
  display: block;
  padding: 20px;
  box-sizing: border-box;
}

.portfolio-section-contac h5 {
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: clamp(14pt, 2vw, 24pt);
  font-family: 'headM', serif;
}

.portfolio-section-contac h5 i {
  font-size: clamp(18pt, 2vw, 30pt);
}

.portfolio-section-contac h6 {
  font-family: 'headM', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  color: rgb(255, 255, 255);
  font-size: clamp(12pt, 2vw, 20pt);
  text-align: center;
}

.portfolio-section-contac p {
  font-family: 'textt', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  color: rgb(255, 255, 255);
  font-size: clamp(14pt, 1.5vw, 18pt);
  text-align: center;
}

.portfolio-section-contac .buttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.portfolio-section-contac .buttons button {
  cursor: pointer;
  background-color: #16A249;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 10px;
  padding: 10px 25px;
  font-family: 'textt', serif;
  font-weight: 900;
  font-size: 14pt;
  transition: .5s all;
}

.portfolio-section-contac .buttons .button-contact {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0, .8);
}

.portfolio-section-contac .buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 4px 10px rgb(255, 255, 255, .3);
}
/* Elimina padding-bottom de #content que genera espacio blanco antes del footer */
#content { padding-bottom: 0 !important; }
