/* ===== Ajustes de la revisión "Pruebas NOV" ===== */
:root{--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0}

/* --- Home: indicadores con fondo de franjas grises --- */
.about{
  background:
    linear-gradient(115deg,transparent 0 18%,rgba(255,255,255,.55) 18% 30%,transparent 30% 46%,rgba(255,255,255,.45) 46% 56%,transparent 56%),
    linear-gradient(#fff,#ececec 12%,#e4e4e4 88%,#fff);
}

/* --- Home: íconos de "Control en el proceso" sobresalen en la esquina superior izquierda --- */
.benefits{gap:2.75rem 2rem;padding-top:1.5rem}
.benefit{position:relative;min-height:9.5rem;padding:1.5rem 1.5rem 1.5rem 8.25rem;align-items:center}
.benefit img{position:absolute;top:-1.25rem;left:-1rem;width:7rem;height:7rem;border-radius:1.25rem;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.18)}
@media(max-width:575.98px){
  .benefit{padding-left:7.5rem}
  .benefit img{width:6.25rem;height:6.25rem;left:-.75rem}
}

/* --- Home: formulario a la derecha con fondo de ondas --- */
.form-section{
  background:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.35) 22%,rgba(255,255,255,0) 40%),url(img/form-bg.webp) center/cover no-repeat;
  padding:2.5rem 5% 3.5rem;
}
.form-section h2{margin:1.5rem auto 2rem;text-align:left;color:#5b5a5f}
.form-section form{max-width:34rem;margin-left:auto;margin-right:0}
.form-section .input{background:rgba(255,255,255,.88);border-color:rgba(255,255,255,.6)}
.form-section .policy,.form-section .policy a{color:#fff}
.form-section .policy a{color:#fff}
@media(max-width:991.98px){
  .form-section{background-image:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.3) 18%,rgba(255,255,255,0) 32%),url(img/form-bg-mobile.webp);background-position:center top}
  .form-section h2{text-align:left}
  .form-section form{margin-inline:auto}
}

/* --- Pie de página: logo sin espacios --- */
.foot{padding:0 0 3rem}
.foot-logo{align-items:flex-start;gap:0}
.foot-logo>img{display:block;margin:0}
.foot>.contact,.foot>div:not(.foot-logo){padding:1.5rem .75rem 0}
.foot-logo a{padding:1.25rem 1rem 0 0}
@media(min-width:768px){.foot{padding-inline:0 1.5rem}.foot-logo a{padding:.75rem 0 0 1.25rem}}

/* --- Páginas de producto: imagen de fondo del banner superior --- */
.dm2-hero{
  background-image:linear-gradient(rgba(8,28,70,.15),rgba(8,28,70,.35)),url(img/banner3-docmanager.webp)!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.dm2-hero-content p,.dm2-hero-content .dm2-hero-title,.dm2-hero-content h1{color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.4)}

/* --- Texto blanco sobre tarjetas oscuras --- */
.dm-card .text-white,.dm-card .text-white h2,.dm-card .text-white p{color:#fff!important}

/* --- Beneficios tangibles: texto blanco sobre el fondo --- */
.bg-benefits::before{background:url(img/tangible-benefits-bg.webp) center/cover no-repeat!important}

/* --- Productos / IA / Acerca de: fondo de ondas en el formulario --- */
body:not(.page-home) .form-section{background-image:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,0) 30%),url(img/6.jpg)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
body:not(.page-home) .form-section::before{display:none!important}

/* --- Acerca de: ondas como en el diseño --- */
.page-about .dm2-hero{background-image:linear-gradient(rgba(8,28,70,.1),rgba(8,28,70,.25)),url(img/banner-docmanager.webp)!important}

/* --- Móvil --- */
@media(max-width:767.98px){
  .stage{height:auto;min-height:30rem}
  .caption{padding-bottom:2.5rem}
  .dm2-hero{padding-top:7.5rem!important;min-height:22rem}
  .dm2-hero-content p,.dm2-hero-content .dm2-hero-title{font-size:2rem!important}
}
