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

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

.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                      */
/*************************************************/
#wrap-video-services {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 0;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

#wrap-video-services video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#wrap-video-services #overlay {
  position: relative;
  width: 100%;
  background-color: rgba(17, 17, 17, .6);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  box-sizing: border-box;
  padding-top: 220px;
  padding-bottom: 40px;
  color: #ffffff;
  z-index: 1;
}

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

/*************************************************/
/*            Eyebrow pill (reutilizable)         */
/*************************************************/
.ch-eyebrow {
  display: inline-block;
  font-family: 'textt', serif;
  font-size: 10pt;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(79, 176, 255, 0.12);
  border: 1px solid rgba(79, 176, 255, 0.3);
  color: #4fb0ff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.ch-eyebrow.ch-eyebrow-light {
  background: rgba(27, 71, 160, 0.08);
  border: 1px solid rgba(27, 71, 160, 0.2);
  color: #1b47a0;
}

/*************************************************/
/*             Sección: ¿Qué es?                 */
/*************************************************/
.wrap-ch-desc {
  background: linear-gradient(135deg, #060e24 0%, #081127 50%, #0a1a40 100%);
  padding: 70px 20px;
}

.ch-desc {
  text-align: center;
  padding: 0 20px;
}

.ch-desc h2 {
  font-family: 'headM', serif;
  font-size: clamp(18pt, 2.5vw, 28pt);
  color: #ffffff;
  margin-bottom: 30px;
}

.ch-desc-content {
  max-width: 820px;
  margin: 0 auto;
}

.ch-desc-content p {
  font-family: 'textM', serif;
  font-size: 12pt;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin-bottom: 20px;
}

/*************************************************/
/*             Sección: Beneficios               */
/*************************************************/
.wrap-ch-benefits {
  background: #f8f9fc;
  padding: 70px 20px;
}

.ch-benefits {
  text-align: center;
  padding: 0 20px;
}

.ch-benefits h2 {
  font-family: 'headM', serif;
  font-size: clamp(16pt, 2.2vw, 26pt);
  color: #0c2c66;
  margin-bottom: 50px;
}

.ch-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.ch-benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(27, 71, 160, 0.1);
  box-shadow: 0 2px 12px rgba(12, 44, 102, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ch-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(12, 44, 102, 0.13);
}

.ch-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 71, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ch-benefit-icon i {
  font-size: 18pt;
  color: #1b47a0;
}

.ch-benefit-card h3 {
  font-family: 'headM', serif;
  font-size: 13pt;
  color: #0c2c66;
  margin-bottom: 10px;
}

.ch-benefit-card p {
  font-family: 'textM', serif;
  font-size: 11pt;
  color: #4a5568;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .ch-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .ch-benefits-grid { grid-template-columns: 1fr; }
}

/*************************************************/
/*           Sección: Diferenciadores            */
/*************************************************/
.wrap-ch-diff {
  background: linear-gradient(135deg, #060e24 0%, #081127 50%, #0a1a40 100%);
  padding: 70px 20px;
}

.ch-diff {
  text-align: center;
  padding: 0 20px;
}

.ch-diff h2 {
  font-family: 'headM', serif;
  font-size: clamp(16pt, 2.2vw, 26pt);
  color: #ffffff;
  margin-bottom: 50px;
}

.ch-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.ch-diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 176, 255, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
}

.ch-diff-num {
  font-family: 'headM', serif;
  font-size: 30pt;
  color: rgba(79, 176, 255, 0.28);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.ch-diff-content h3 {
  font-family: 'headM', serif;
  font-size: 13pt;
  color: #ffffff;
  margin-bottom: 8px;
}

.ch-diff-content p {
  font-family: 'textM', serif;
  font-size: 11pt;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

@media (max-width: 750px) {
  .ch-diff-grid { grid-template-columns: 1fr; }
}

/*************************************************/
/*              Sección: App Tour                */
/*************************************************/
.wrap-ch-tour {
  background: #ffffff;
  padding: 70px 20px;
}

.ch-tour {
  text-align: center;
  padding: 0 20px;
}

.ch-tour h2 {
  font-family: 'headM', serif;
  font-size: clamp(16pt, 2.2vw, 26pt);
  color: #0c2c66;
  margin-bottom: 16px;
}

.ch-tour-intro {
  font-family: 'textM', serif;
  font-size: 12pt;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.75;
}

.ch-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ch-tour-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(12, 44, 102, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.ch-tour-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(12, 44, 102, 0.18);
}

@media (max-width: 800px) {
  .ch-tour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .ch-tour-grid { grid-template-columns: 1fr; }
}

/*************************************************/
/*             Sección: Dashboards               */
/*************************************************/
.wrap-ch-dash {
  background: linear-gradient(135deg, #060e24 0%, #081127 50%, #0a1a40 100%);
  padding: 70px 20px;
}

.ch-dash {
  text-align: center;
  padding: 0 20px;
}

.ch-dash h2 {
  font-family: 'headM', serif;
  font-size: clamp(16pt, 2.2vw, 26pt);
  color: #ffffff;
  margin-bottom: 20px;
}

.ch-dash-desc {
  font-family: 'textM', serif;
  font-size: 12pt;
  color: rgba(255, 255, 255, 0.75);
  max-width: 750px;
  margin: 0 auto 50px auto;
  line-height: 1.85;
}

.ch-dash-indicators {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.ch-dash-ind-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 176, 255, 0.12);
  border-radius: 14px;
  padding: 24px 22px;
}

.ch-dash-ind-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(79, 176, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-dash-ind-icon i {
  font-size: 16pt;
  color: #4fb0ff;
}

.ch-dash-ind-item h3 {
  font-family: 'headM', serif;
  font-size: 12pt;
  color: #ffffff;
  margin-bottom: 6px;
}

.ch-dash-ind-item p {
  font-family: 'textM', serif;
  font-size: 11pt;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
