/* TECINDES GLOBAL V1: CSS aislado, reversible, sin manipular formularios/comercio. */
body.tidglobal-on .tidglobal-header, body.tidglobal-on .tidglobal-footer, body.tidglobal-on .tidglobal-header *,body.tidglobal-on .tidglobal-footer * {box-sizing:border-box}
body.tidglobal-on .tidglobal-header {position:sticky;top:0;z-index:100050;background:#fff;color:#123455;font-family:Arial,Helvetica,sans-serif;box-shadow:0 2px 8px rgba(6,29,49,.11);isolation:isolate}
body.tidglobal-on .tidglobal-inner {width:min(1200px,calc(100% - 36px));margin-inline:auto}
body.tidglobal-on .tidglobal-row {min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:22px}
body.tidglobal-on .tidglobal-bar {background:#fff}
body.tidglobal-on .tidglobal-brand {display:flex;gap:10px;align-items:center;text-decoration:none!important;color:#0b3865!important;flex-shrink:0}
body.tidglobal-on .tidglobal-brand img {width:66px;height:56px;object-fit:contain}
body.tidglobal-on .tidglobal-brand strong {font-size:18px;font-weight:800;line-height:1.1;display:block;color:#0b3865}
body.tidglobal-on .tidglobal-brand small {font-size:10px;letter-spacing:.13em;color:#47708c;display:block;padding-top:3px}
body.tidglobal-on .tidglobal-primary,body.tidglobal-on .tidglobal-secondary {display:flex;align-items:center;gap:clamp(11px,2vw,30px)}
body.tidglobal-on .tidglobal-header nav a {border:0;background:transparent;text-decoration:none!important;color:#163b5b!important;font-size:13px;font-weight:700;white-space:nowrap;line-height:1.4;display:inline-flex;align-items:center;padding:10px 0;border-radius:5px}
body.tidglobal-on .tidglobal-header nav a:hover,body.tidglobal-on .tidglobal-header nav a:focus-visible {color:#007ab4!important;text-decoration:underline!important}
body.tidglobal-on .tidglobal-header nav a.tidglobal-current {color:#006caa!important;border-bottom:3px solid #13a8bd;border-radius:0}
body.tidglobal-on .tidglobal-subbar {background:#eef6fa;border-top:1px solid #d8e7ef}
body.tidglobal-on .tidglobal-secondary {min-height:55px;justify-content:flex-end;gap:30px}
body.tidglobal-on .tidglobal-header nav a.tidglobal-cta {padding:11px 17px;border-radius:7px;background:#0876b5!important;color:#fff!important;box-shadow:0 3px 8px rgba(5,97,152,.18)}
body.tidglobal-on .tidglobal-header nav a.tidglobal-cta:hover {background:#045b90!important;color:#fff!important}
body.tidglobal-on .tidglobal-mobile {display:none}
body.tidglobal-on .tidglobal-anchor {display:block;height:0;scroll-margin-top:140px}
body.tidglobal-on .tidglobal-skip {position:absolute;left:-200vw;top:auto;z-index:100100;background:#fff;color:#123455;padding:10px}
body.tidglobal-on .tidglobal-skip:focus {left:10px;top:10px}
body.tidglobal-on .tidglobal-footer {background:#0c2947!important;color:#c9dbea!important;font-family:Arial,Helvetica,sans-serif;padding:37px 0 15px;font-size:13px;line-height:1.6;width:100%;clear:both}
body.tidglobal-on .tidglobal-footer-grid {display:grid;grid-template-columns:1.1fr .9fr 1.5fr;gap:50px}
body.tidglobal-on .tidglobal-footer-brand img {width:90px;height:78px;object-fit:contain;filter:brightness(0) invert(1)}
body.tidglobal-on .tidglobal-footer p {font-size:12px;color:#c9dbea;margin:8px 0}
body.tidglobal-on .tidglobal-footer h2 {color:#fff;font-size:14px;font-weight:700;margin:0 0 10px}
body.tidglobal-on .tidglobal-footer .tidglobal-footer-links a {display:block;color:#d6e5f2!important;font-size:13px;margin:5px 0;text-decoration:none!important;width:max-content;max-width:100%;white-space:normal}
body.tidglobal-on .tidglobal-footer .tidglobal-footer-links a:hover {text-decoration:underline!important}
body.tidglobal-on .tidglobal-footer .tidglobal-footer-links small {display:block;font-size:11px;line-height:1.6;color:#bcd0e0;margin-top:12px}
body.tidglobal-on .tidglobal-footer-bottom {border-top:1px solid rgba(240,250,255,.25);margin-top:24px;padding-top:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#bed0df;font-size:11px}
/* Ocultar cabeceras y pies obsoletos SOLAMENTE en las páginas con template visual identificado. */
body.tidglobal-on.tecindes-home-approved-v11 .corporate-bar,
body.tidglobal-on.tecindes-home-approved-v11 header.header,
body.tidglobal-on.tecindes-home-approved-v11 > footer:not(.tidglobal-footer),
body.tidglobal-on.tid-catalog-view .tid-corp-bar,
body.tidglobal-on.tid-catalog-view header.tid-header,
body.tidglobal-on.tid-catalog-view footer.tid-footer,
body.tidglobal-on.tidc-body header.tidc-header,
body.tidglobal-on.tidc-body footer.tidc-footer,
body.tidglobal-on.tidct-body .tidct header.header,
body.tidglobal-on.tidct-body .tidct footer.footer,
body.tidglobal-on.tidlegal-page header.tidlegal-top,
body.tidglobal-on.tidlegal-page footer.tidlegal-footer,
body.tidglobal-on.tidcrv-active .tidcrv-top,
body.tidglobal-on.tidcrv-active .tidcrv-nav,
body.tidglobal-on.tidcrv-active .tidcrv-bottom {display:none!important}
/* En páginas servidas por MetaSoft, ocultar solo cabecera/pie del tema (no el contenido del plugin). */
body.tidglobal-on.tidglobal-theme #masthead,
body.tidglobal-on.tidglobal-theme #colophon,
body.tidglobal-on.tidglobal-theme header.site-header,
body.tidglobal-on.tidglobal-theme footer.site-footer,
body.tidglobal-on.tidglobal-theme .main-header,
body.tidglobal-on.tidglobal-theme .header-area,
body.tidglobal-on.tidglobal-theme .footer-area,
body.tidglobal-on.tidcrv-active #masthead,
body.tidglobal-on.tidcrv-active #colophon,
body.tidglobal-on.tidcrv-active header.site-header,
body.tidglobal-on.tidcrv-active footer.site-footer,
body.tidglobal-on.tidcrv-active .main-header,
body.tidglobal-on.tidcrv-active .header-area,
body.tidglobal-on.tidcrv-active .footer-area {display:none!important}
/* Corregir cabecera de páginas MetaSoft sin alterar el contenido interno. */
body.tidglobal-on.tidglobal-theme,body.tidglobal-on.tidcrv-active {scroll-padding-top:145px}
@media(max-width:850px){
 body.tidglobal-on .tidglobal-row{min-height:66px}
 body.tidglobal-on .tidglobal-primary{display:none}
 body.tidglobal-on .tidglobal-mobile{display:block;position:relative}
 body.tidglobal-on .tidglobal-mobile summary{cursor:pointer;padding:8px 12px;border:1px solid #d3e2eb;border-radius:7px;color:#123a61;font-size:13px;font-weight:700;list-style:none}
 body.tidglobal-on .tidglobal-mobile summary::-webkit-details-marker{display:none}
 body.tidglobal-on .tidglobal-mobile nav{position:absolute;top:calc(100% + 12px);right:0;background:#fff;border:1px solid #d8e6f0;box-shadow:0 12px 30px rgba(12,40,65,.17);min-width:235px;display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:10px;border-radius:8px;z-index:100060}
 body.tidglobal-on .tidglobal-mobile nav a{padding:10px 12px;white-space:normal}
 body.tidglobal-on .tidglobal-secondary{justify-content:flex-start;flex-wrap:wrap;min-height:0;padding:10px 0;gap:5px 19px}
 body.tidglobal-on .tidglobal-footer-grid{gap:22px}
}
@media(max-width:600px){
 body.tidglobal-on .tidglobal-inner{width:calc(100% - 28px)}
 body.tidglobal-on .tidglobal-brand img{width:51px;height:47px}
 body.tidglobal-on .tidglobal-brand strong{font-size:16px}
 body.tidglobal-on .tidglobal-secondary{gap:4px 13px}
 body.tidglobal-on .tidglobal-header .tidglobal-secondary a{font-size:12px}
 body.tidglobal-on .tidglobal-footer-grid{grid-template-columns:1fr 1fr;gap:25px}
 body.tidglobal-on .tidglobal-footer-brand{grid-column:1/-1}
 body.tidglobal-on .tidglobal-footer-bottom{display:block}
}
/* Barra de administración WordPress: mantener navegación global visible debajo de ella. */
body.admin-bar.tidglobal-on .tidglobal-header {top:32px}
@media(max-width:782px){body.admin-bar.tidglobal-on .tidglobal-header {top:46px}}


/* TECINDES NAVEGACIÓN GLOBAL V1.1 — CORRECCIONES PUNTUALES */
/* ConsultaRUC: ocultar cabecera y pie que añade MetaSoft en distintas plantillas.
   El encabezado y el pie globales permanecen. Formularios y planes no se tocan. */
body.tidglobal-on.tidcrv-active header:not(.tidglobal-header),
body.tidglobal-on.tidcrv-active footer:not(.tidglobal-footer),
body.tidglobal-on.tidcrv-active #masthead,
body.tidglobal-on.tidcrv-active #colophon,
body.tidglobal-on.tidcrv-active #site-header,
body.tidglobal-on.tidcrv-active #site-footer,
body.tidglobal-on.tidcrv-active #footer,
body.tidglobal-on.tidcrv-active .site-header,
body.tidglobal-on.tidcrv-active .site-footer,
body.tidglobal-on.tidcrv-active .main-header,
body.tidglobal-on.tidcrv-active .header-area,
body.tidglobal-on.tidcrv-active .footer-area,
body.tidglobal-on.tidcrv-active .footer-wrapper,
body.tidglobal-on.tidcrv-active .footer,
body.tidglobal-on.tidcrv-active .footer-top,
body.tidglobal-on.tidcrv-active .footer-bottom,
body.tidglobal-on.tidcrv-active .footer-main,
body.tidglobal-on.tidcrv-active .header-wrapper,
body.tidglobal-on.tidcrv-active .header-top,
body.tidglobal-on.tidcrv-active .footer-widgets,
body.tidglobal-on.tidcrv-active .footer-widget-area,
body.tidglobal-on.tidcrv-active .copyright-area,
body.tidglobal-on.tidcrv-active .site-info { display:none !important; }
/* Prioridad visual del módulo global en páginas corporativas; sin selector de tecnología. */
body.tidglobal-on .tidglobal-header { z-index:100050; }
/* Soluciones: la barra sticky no debe tapar el título al navegar al ancla. */
html:has(body.tidglobal-on) { scroll-padding-top:160px; }
body.tidglobal-on #home-solutions { scroll-margin-top:160px; }
@media(max-width:850px){
 html:has(body.tidglobal-on) {scroll-padding-top:205px;}
 body.tidglobal-on #home-solutions {scroll-margin-top:205px;}
}

/* TECINDES NAVEGACIÓN GLOBAL V1.2 — CORRECCIONES VERIFICABLES */
/* El pie único no puede ocultarse mediante reglas que eliminan pies anteriores. */
body.tidglobal-on .tidglobal-footer {display:block !important;visibility:visible !important;opacity:1 !important;}
body.tidglobal-on.tecindes-home-approved-v11 > footer:not(.tidglobal-footer) {display:none !important;}
/* MetaSoft: encabezado interior de página (breadcrumb/banner) en ConsultaRUC.
   Exclusivo de esta ruta, NO oculta el hero ni los formularios de ConsultaRUC. */
body.tidglobal-on.tidcrv-active .breadcumb-area,
body.tidglobal-on.tidcrv-active .breadcumb-wrapper,
body.tidglobal-on.tidcrv-active .breadcumb-section,
body.tidglobal-on.tidcrv-active .breadcrumb-area,
body.tidglobal-on.tidcrv-active .breadcrumb-wrapper,
body.tidglobal-on.tidcrv-active .breadcrumb-section,
body.tidglobal-on.tidcrv-active .page-title-area,
body.tidglobal-on.tidcrv-active .page-title-section,
body.tidglobal-on.tidcrv-active .page-banner,
body.tidglobal-on.tidcrv-active .page-breadcrumb,
body.tidglobal-on.tidcrv-active .inner-banner,
body.tidglobal-on.tidcrv-active .inner-banner-area,
body.tidglobal-on.tidcrv-active .banner-breadcrumb,
body.tidglobal-on.tidcrv-active .breadcrumbs-area,
body.tidglobal-on.tidcrv-active .breadcrumbs-section,
body.tidglobal-on.tidcrv-active #breadcrumb,
body.tidglobal-on.tidcrv-active #breadcrumbs {display:none !important;}
/* Nunca ocultar el hero moderno. */
body.tidglobal-on.tidcrv-active .tidcrv-hero {display:block !important;}
/* Logotipo más visible sin crecer excesivamente la cabecera. */
body.tidglobal-on .tidglobal-row {min-height:82px;}
body.tidglobal-on .tidglobal-brand img {width:86px;height:70px;object-fit:contain;}
body.tidglobal-on .tidglobal-brand strong {font-size:19px;}
@media(max-width:850px){body.tidglobal-on .tidglobal-row{min-height:74px;}}
@media(max-width:600px){body.tidglobal-on .tidglobal-brand img{width:67px;height:56px;}body.tidglobal-on .tidglobal-brand strong{font-size:16px;}}

/* V1.3 - solo la plantilla ConsultaRUC: anula huecos heredados del tema. */
body.tidglobal-consultaruc-template {margin:0 !important;padding:0 !important;}
body.tidglobal-consultaruc-template .tidglobal-consultaruc-main {margin:0 !important;padding:0 !important;min-height:0;max-width:none;width:100%;}
body.tidglobal-consultaruc-template .tidglobal-consultaruc-main > .tidcrv {margin:0;width:100%;max-width:none;}
body.tidglobal-consultaruc-template .tidglobal-consultaruc-main > :not(.tidcrv) {max-width:none;}
/* La plantilla no contiene contenedores de cabecera ni de pie de MetaSoft. */
