.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 .hero-button {
  cursor: pointer;
  background-color: rgb(255,255,255);
  padding: 10px 25px;
  border-radius: 10px;
  border: none;

  font-family: 'textt', sans-serif;
  color: rgb(0,0,0,.8);
  font-weight: 900;
  font-size: 12pt;

  transition: .5s all;
}

.content-info-portafolio .col1 .hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 4px 10px rgb(255, 255, 255, .8);
}

.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: #16A249;
  font-size: 14pt;
}

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

@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;
  }
}
/*************************************************/
/*              Seccion head 1                   */
/*************************************************/
.wrap-portfolio-section-head-1 {
  background-color: #FBFBFC;
}

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

.portfolio-section-head-1 .etiqueta {
  text-transform: uppercase;
  font-size: clamp(10pt,1.5vw,12pt);
  font-family: 'textt', sans-serif;
  font-weight: 700;
  color:royalblue;
  text-align: center;
}

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

.portfolio-section-head-1 p {
  color: #666666;
  font-family: 'textm', sans-serif;
  font-weight: 500;
  margin: 0px;
  font-size: clamp(12pt,1.5vw,14pt);
  text-align: center;
}
/*************************************************/
/*              Seccion 1                        */
/*************************************************/
.wrap-portfolio-section-1 {
  background-color: #FBFBFC;
}

.portfolio-section-1 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
  padding: 10px 20px 70px;
}

.satgate-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.satgate-module-card {
  min-height: 318px;
  border-radius: 28px;
  box-sizing: border-box;
  padding: 24px 24px 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0px 16px 36px rgba(34, 56, 110, 0.12);
}

.satgate-module-card-download {
  background: linear-gradient(180deg, #29459b 0%, #1b2744 100%);
}

.satgate-module-card-issued {
  background: linear-gradient(180deg, #3558ca 0%, #4a7cff 100%);
}

.satgate-module-card-validation {
  background: linear-gradient(180deg, #b84f1f 0%, #f06a18 100%);
}

.satgate-module-card-export {
  background: linear-gradient(180deg, #1d7c5d 0%, #22a174 100%);
}

.satgate-module-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 18px;
}

.satgate-module-card h3 {
  margin: 0 0 12px;
  font-family: 'headm', sans-serif;
  font-size: clamp(14pt, 1.5vw, 18pt);
  font-weight: 700;
  line-height: 1.25;
}

.satgate-module-card p,
.satgate-module-card li {
  font-family: 'textm', sans-serif;
  font-size: clamp(10pt, 1.5vw, 12pt);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.satgate-module-card p {
  margin: 0;
}

.satgate-module-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.satgate-highlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 26px;
  align-items: center;
  background: linear-gradient(90deg, #eff4ff 0%, #ffffff 100%);
  border: 2px solid #3866ff;
  border-radius: 26px;
  box-sizing: border-box;
  padding: 26px 24px;
  box-shadow: 0px 18px 36px rgba(38, 82, 190, 0.08);
}

.satgate-highlight-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.satgate-highlight-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: #dbe7ff;
  color: #2959dc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'textt', sans-serif;
  font-size: 9pt;
  font-weight: 800;
}

.satgate-highlight-content h3 {
  margin: 0;
  color: #1b2744;
  font-family: 'headm', sans-serif;
  font-size: clamp(20pt, 2vw, 28pt);
  font-weight: 700;
}

.satgate-highlight-content p {
  margin: 0;
  color: #53657f;
  font-family: 'textm', sans-serif;
  font-size: clamp(12pt, 1.5vw, 14pt);
  font-weight: 500;
  line-height: 1.7;
}

.satgate-highlight-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.satgate-step-card {
  min-height: 134px;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid #d7e2ff;
  border-radius: 18px;
  box-sizing: border-box;
  padding: 16px 16px 14px;
}

.satgate-step-card h4 {
  margin: 0 0 8px;
  color: #1f2a44;
  font-family: 'headm', sans-serif;
  font-size: clamp(11pt, 1.5vw, 12pt);
  font-weight: 700;
  line-height: 1.4;
}

.satgate-step-card p {
  margin: 0;
  color: #61718a;
  font-family: 'textm', sans-serif;
  font-size: clamp(11pt, 1.5vw, 12pt);
  font-weight: 500;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .satgate-modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .satgate-highlight-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .satgate-highlight-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .portfolio-section-1 {
    padding: 10px 20px 50px;
  }

  .satgate-modules-grid {
    grid-template-columns: 1fr;
  }

  .satgate-module-card {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 24px;
  }

  .satgate-highlight-card {
    gap: 20px;
    padding: 22px 18px;
    border-radius: 22px;
  }
}
/*************************************************/
/*              Seccion head 2                   */
/*************************************************/
.wrap-portfolio-section-head-2 {
  background-color: #FBFBFC;
}

.portfolio-section-head-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 80px 20px 34px;
}

.portfolio-section-head-2 .etiqueta {
  text-transform: uppercase;
  font-size: clamp(10pt,1.5vw,12pt);
  font-family: 'textt', sans-serif;
  font-weight: 700;
  color:royalblue;
  text-align: left;
  letter-spacing: 0.14em;
}

.portfolio-section-head-2 h2 {
  max-width: 680px;
  color: #102651;
  font-family: 'headm', serif;
  font-weight: 700;
  font-size: clamp(20pt, 2vw, 28pt);
  text-align: left;
  line-height: 1.18;
  margin: 18px 0px 16px;
}

.portfolio-section-head-2 p {
  max-width: 700px;
  color: #4d6486;
  font-family: 'textm', sans-serif;
  font-weight: 500;
  margin: 0px;
  font-size: clamp(12pt,1.5vw,14pt);
  text-align: left;
  line-height: 1.75;
}
/*************************************************/
/*              Seccion 2                        */
/*************************************************/
.wrap-portfolio-section-2 {
  background-color: #FBFBFC;
}

.portfolio-section-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  box-sizing: border-box;
  padding: 0px 20px 70px;
}

.satgate-flow-card {
  min-height: 210px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #ffffff 100%);
  border: 1px solid #dfe9ff;
  border-radius: 24px;
  box-sizing: border-box;
  padding: 24px 24px 22px;
  box-shadow: 0px 18px 34px rgba(34, 78, 181, 0.08);
}

.satgate-flow-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1a2848;
  color: #ffffff;
  font-family: 'headm', sans-serif;
  font-size: 16pt;
  font-weight: 700;
  margin-bottom: 18px;
}

.satgate-flow-card h3 {
  margin: 0 0 12px;
  color: #1b2a48;
  font-family: 'headm', sans-serif;
  font-size: clamp(16pt, 1.5vw, 18pt);
  font-weight: 700;
  line-height: 1.35;
}

.satgate-flow-card p {
  margin: 0;
  color: #60748f;
  font-family: 'textm', sans-serif;
  font-size: clamp(12pt, 1.1vw, 14pt);
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .portfolio-section-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .portfolio-section-head-2 {
    padding: 60px 20px 28px;
  }

  .portfolio-section-head-2 h2 {
    font-size: clamp(24pt, 11vw, 34pt);
  }

  .portfolio-section-2 {
    grid-template-columns: 1fr;
    padding: 0px 20px 50px;
  }

.satgate-flow-card {
    min-height: auto;
    padding: 22px 20px;
  }
}
/*************************************************/
/*              Seccion 3                        */
/*************************************************/
.wrap-portfolio-section-3 {
  background-color: #FBFBFC;
}

.portfolio-section-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
  box-sizing: border-box;
  padding: 10px 20px 70px;
}

.satgate-value-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #ffffff 100%);
  border: 1px solid #dfe9ff;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 28px 28px 30px;
  box-shadow: 0px 18px 34px rgba(34, 78, 181, 0.08);
}

.satgate-value-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #1680d4;
  font-family: 'textt', sans-serif;
  font-size: 10pt;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.satgate-value-card h3 {
  margin: 0 0 22px;
  color: #444444;
  font-family: 'headm', sans-serif;
  font-size: clamp(20pt, 2vw, 28pt);
  font-weight: 700;
  line-height: 1.28;
}

.satgate-value-card p {
  margin: 0 0 22px;
  color: #586f8f;
  font-family: 'textm', sans-serif;
  font-size: clamp(12pt, 1.5vw, 14pt);
  font-weight: 500;
  line-height: 1.75;
}

.satgate-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.satgate-value-list li {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.satgate-value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #2f86ee;
}

.satgate-value-list strong {
  color: #1c2e4e;
  font-family: 'headm', sans-serif;
  font-size: clamp(12pt, 1.5vw,14pt);
  font-weight: 700;
  line-height: 1.4;
}

.satgate-value-list span {
  color: #5d7290;
  font-family: 'textm', sans-serif;
  font-size: clamp(11pt, 1.5vw, 12pt);
  font-weight: 500;
  line-height: 1.65;
}

.satgate-value-card-side h3 {
  font-size: clamp(20pt,2vw, 28pt);
}

.satgate-value-list-compact {
  gap: 18px;
}

@media (max-width: 1180px) {
  .portfolio-section-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .portfolio-section-3 {
    padding: 10px 20px 50px;
  }

  .satgate-value-card {
    border-radius: 24px;
    padding: 24px 20px 26px;
  }

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

.demo-form-wrap {
  max-width: 900px;
  margin: 30px auto 0px auto;
  padding: 0px 10px;
  opacity: 0;
  max-height: 0px;
  transform: translateY(-8px);
  pointer-events: none;
  transition: max-height .6s ease, opacity .4s ease, transform .4s ease;
}

.demo-form-wrap.is-open {
  opacity: 1;
  max-height: 1200px;
  transform: translateY(0px);
  pointer-events: auto;
}

.demo-form {
  background-color: rgba(255, 255, 255, .95);
  border-radius: 20px;
  padding: 25px 25px 30px 25px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .4);
}

.demo-form.is-hidden {
  display: none;
}

.demo-success {
  margin-top: 10px;
  background-color: rgba(255, 255, 255, .95);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0px;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, max-height .45s ease;
}

.demo-success.is-visible {
  opacity: 1;
  transform: translateY(0px);
  max-height: 600px;
  pointer-events: auto;
}

.demo-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(22, 162, 73, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-success-icon i {
  color: #16A249;
  font-size: 24pt;
  text-align: center;
}

.demo-success-content h6 {
  color: #444444;
  font-family: 'headM', serif;
  font-weight: 700;
  font-size: clamp(14pt, 2vw, 20pt);
  margin-bottom: 8px;
  text-align: center;
}

.demo-success-content p {
  color: #666666;
  font-family: 'textM', serif;
  font-weight: 500;
  font-size: 11.5pt;
  margin-bottom: 10px;
  text-align: center;
}

.demo-form-header h6 {
  color: #0C2C66;
  font-family: 'headM', serif;
  font-weight: 700;
  font-size: clamp(14pt, 2vw, 20pt);
  margin-bottom: 6px;
}

.demo-form-header p {
  color: #2B3B52;
  font-family: 'textt', serif;
  font-size: 11.5pt;
  text-align: left;
  margin-bottom: 20px;
}

.demo-form-error {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background-color: rgba(243, 90, 90, .12);
  color: #7a1c1c;
  font-family: 'textt', serif;
  font-size: 10.5pt;
}

.demo-form-error.is-visible {
  display: block;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

.demo-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-form .field-full {
  grid-column: 1 / -1;
}

.demo-form label {
  font-family: 'textt', serif;
  font-weight: 700;
  color: #0C2C66;
  font-size: 10.5pt;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(12, 44, 102, .2);
  padding: 10px 12px;
  font-family: 'textM', serif;
  font-size: 11.5pt;
  background-color: rgba(255, 255, 255, .95);
  color: #111111;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.demo-form textarea {
  resize: vertical;
  min-height: 90px;
}

.demo-form input:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: rgba(12, 44, 102, .6);
  box-shadow: 0px 0px 0px 3px rgba(12, 44, 102, .12);
}

.demo-form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.demo-form .checkbox input {
  width: 18px;
  height: 18px;
  margin: 0px;
}

.demo-form .privacy-note {
  display: block;
  margin-top: 6px;
  font-family: 'textt', serif;
  font-size: 10pt;
  color: #2B3B52;
}

.demo-form .privacy-note a {
  color: #0847AC;
  font-weight: 700;
  text-decoration: none;
}

.demo-form .privacy-note a:hover {
  text-decoration: underline;
}

.demo-form-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.demo-form-actions .button-submit {
  background-color: #16A249;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-family: 'textt', serif;
  font-weight: 900;
  font-size: 12pt;
  cursor: pointer;
  transition: .3s all;
}

.demo-form-actions .button-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(22, 162, 73, .4);
}

.demo-form-actions .demo-hint {
  font-family: 'textt', serif;
  font-size: 10.5pt;
  color: #2B3B52;
}

@media (max-width: 850px) {
  .demo-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Elimina padding-bottom de #content que genera espacio blanco antes del footer */
#content { padding-bottom: 0 !important; }
