
/* === OTEC INC — fixes accesibilidad, header, dark, menu, buscador === */
.vhero h1{color:#fff !important}
.abanner h1{color:#fff !important}
header.nav{z-index:999 !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background:var(--bg) !important}
header.nav .links a{color:var(--muted) !important}
header.nav .links a:hover,header.nav .links a.active{color:var(--blue) !important}
footer a{color:var(--muted) !important}
footer a:hover{color:var(--ink) !important}
footer h5{color:var(--muted) !important}
.mmenu a:not(.btn){color:var(--ink) !important}
.mmenu a:not(.btn):hover{color:var(--blue) !important}
.mmenu[hidden]{display:none !important}
html:not([data-theme="dark"]),html:not([data-theme="dark"]) body.inc-body{background:#FFFFFF !important}
html[data-theme="dark"],html[data-theme="dark"] body.inc-body{background:#080F1E !important}
.cbar .search input,#csearch{border:0 !important;background:transparent !important;box-shadow:none !important;min-height:0 !important;height:auto !important;padding:0 !important;margin:0 !important;line-height:1.5 !important;color:var(--ink) !important;width:100% !important}

/* darkfix === Dark mode: textos oscuros -> claros (accesibilidad) === */
html[data-theme="dark"] header.nav .links a{color:#C9D6EC !important}
html[data-theme="dark"] header.nav .links a.active,html[data-theme="dark"] header.nav .links a:hover{color:#8FC0FF !important}
html[data-theme="dark"] .mmenu a:not(.btn){color:#EAF1FF !important}
html[data-theme="dark"] footer a{color:#C9D6EC !important}
html[data-theme="dark"] footer a:hover{color:#FFFFFF !important}
html[data-theme="dark"] footer h5{color:#C9D6EC !important}
html[data-theme="dark"] .ccard h3,html[data-theme="dark"] #clist h3{color:#EAF1FF !important}
html[data-theme="dark"] .ccard .cfoot span{color:#C9D6EC !important}
html[data-theme="dark"] .ccard .cbody-in,html[data-theme="dark"] .ccard .cbody-in b{color:#EAF1FF !important}
html[data-theme="dark"] .badge.b-grey{color:#CBD5E1 !important}
html[data-theme="dark"] .badge.b-blue{color:#BFDBFE !important}
html[data-theme="dark"] .badge.b-teal{color:#99F6E4 !important}
html[data-theme="dark"] .badge.b-violet{color:#DDD6FE !important}
html[data-theme="dark"] .sec-head p,html[data-theme="dark"] .abanner p{color:#C9D6EC !important}
/* darkheadings === Dark: todos los titulos de contenido en claro === */
html[data-theme="dark"] main h2,html[data-theme="dark"] main h3,html[data-theme="dark"] main h4,html[data-theme="dark"] main h5,html[data-theme="dark"] .sec-head h2,html[data-theme="dark"] .qcard h3,html[data-theme="dark"] .pqcard h3{color:#EAF1FF !important}
/* darkmisc === Dark: certificaciones, flechas carrusel, links azules === */
html[data-theme="dark"] .cert{color:#C9D6EC !important}
html[data-theme="dark"] .pqnav{color:#EAF1FF !important}
html[data-theme="dark"] .eyebrow{color:#6AA5F0 !important}
html[data-theme="dark"] .tlink{color:#8FC0FF !important}
html[data-theme="dark"] a:not(.btn) .arrow{color:#8FC0FF !important}
html[data-theme="dark"] .tt-btn{color:#8FC0FF !important}
/* allsearch */
.search input,#csearch,#nsearch{border:0 !important;background:transparent !important;box-shadow:none !important;min-height:0 !important;height:auto !important;padding:0 !important;margin:0 !important;line-height:1.5 !important;color:var(--ink) !important;width:100% !important}
.ibanner h1,.sband h2{color:#fff !important}
/* artbody === Detalle de noticia: contenido Gutenberg === */
.art-body > p:first-of-type{font-size:1.2rem;line-height:1.6;font-weight:500}
.art-body h2{font-size:1.55rem;font-weight:700;margin:36px 0 14px;line-height:1.25;color:var(--ink) !important}
.art-body h3{font-size:1.22rem;font-weight:700;margin:28px 0 10px;color:var(--ink) !important}
.art-body h4{font-size:1.06rem;font-weight:700;margin:22px 0 8px;color:var(--ink) !important}
.art-body ul,.art-body ol{margin:0 0 20px;padding-left:22px}
.art-body li{margin:0 0 8px}
.art-body a{color:var(--blue);text-decoration:underline}
.art-body blockquote{margin:28px 0;padding:18px 24px;border-left:4px solid var(--blue);background:var(--soft);border-radius:0 14px 14px 0;font-size:1.12rem;font-style:italic;color:var(--ink)}
.art-body blockquote p{margin:0}
.art-body img{max-width:100%;height:auto;border-radius:16px;margin:24px 0;box-shadow:var(--shadow)}
.art-body figure{margin:24px 0}.art-body figure img{margin:0}
.art-body figcaption{font-size:.82rem;color:var(--muted);margin-top:8px;text-align:center}
.art-body pre{background:#0f1b2d;color:#e8eefc;padding:18px 20px;border-radius:14px;overflow:auto;margin:24px 0;font-size:.9rem;line-height:1.5}
.art-body :not(pre) > code{background:var(--soft);padding:2px 7px;border-radius:6px;font-size:.92em}
.art-body pre.mermaid{background:var(--soft);color:inherit;text-align:center;padding:24px}
.art-body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:.95rem}
.art-body th,.art-body td{border:1px solid var(--line);padding:10px 14px;text-align:left}
.art-body th{background:var(--soft);font-weight:700}
html[data-theme="dark"] .art-body,html[data-theme="dark"] .art-body p,html[data-theme="dark"] .art-body li,html[data-theme="dark"] .art-body h2,html[data-theme="dark"] .art-body h3,html[data-theme="dark"] .art-body h4,html[data-theme="dark"] .art-body blockquote{color:#EAF1FF !important}
html[data-theme="dark"] .art-body a{color:#8FC0FF !important}
.art-hero h1{color:#fff !important}
/* otecart === Articulo: contenido estructurado (clases otec-*) === */
.art-body .otec-intro{font-size:1.2rem;line-height:1.65;font-weight:500;color:var(--ink);margin-bottom:24px}
.art-body .otec-section-title{font-size:1.5rem;font-weight:800;margin:38px 0 16px;line-height:1.25;color:var(--ink) !important}
.art-body .otec-area-card{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:22px 26px;margin:18px 0}
.art-body .otec-area-card .otec-h3{display:flex;align-items:center;gap:12px;margin:0 0 10px;font-size:1.16rem;font-weight:700;color:var(--ink) !important}
.art-body .otec-area-num{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(140deg,#1565C0,#42A5F5);color:#fff !important;font-size:1rem;font-weight:800;line-height:1}
.art-body .otec-area-card p{margin:0 0 10px}
.art-body .otec-area-card p:last-child{margin-bottom:0}
.art-body .otec-why-label{display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin-top:6px}
.art-body .otec-blockquote{margin:30px 0;padding:22px 28px;border-left:4px solid var(--blue);background:var(--soft);border-radius:0 16px 16px 0;font-size:1.22rem;font-weight:600;font-style:italic;color:var(--ink);line-height:1.5}
.art-body .otec-blockquote p{margin:0}
.art-body .otec-blockquote cite{display:block;margin-top:10px;font-size:.85rem;font-weight:600;font-style:normal;color:var(--muted)}
.art-body .otec-divider{border:0;height:1px;background:var(--line);margin:34px 0}
.art-body .otec-cta{background:linear-gradient(135deg,#0D2E5B,#1565C0);color:#fff;border-radius:18px;padding:26px 28px;margin:30px 0}
.art-body .otec-cta h4{margin:0 0 8px;font-size:1.2rem;font-weight:700;color:#fff !important}
.art-body .otec-cta p{color:rgba(255,255,255,.92) !important;margin:0 0 8px}
.art-body .otec-cta a{color:#fff !important;font-weight:600}
.art-body .otec-cta-contacts{margin-top:10px}
.art-body .otec-cta-contacts a{display:inline-flex;align-items:center;gap:8px;margin:6px 16px 6px 0}
.art-body .otec-cta-contacts img{width:22px;height:22px}
html[data-theme="dark"] .art-body .otec-section-title,html[data-theme="dark"] .art-body .otec-area-card .otec-h3{color:#EAF1FF !important}
/* contactoform === Formulario de contacto === */
.inc-hp{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none}
.cfield .cok{background:#e6f7ed;border:1px solid #9ad8b4;color:#0f6b3f;padding:12px 16px;border-radius:12px;font-size:.92rem;font-weight:600;margin-bottom:4px}
.cfield .cerr{background:#fdecec;border:1px solid #f0a9a9;color:#b32424;padding:12px 16px;border-radius:12px;font-size:.92rem;font-weight:600;margin-bottom:4px}
html[data-theme="dark"] .cfield .cok{background:rgba(34,197,94,.14);border-color:rgba(34,197,94,.4);color:#9ff0c0}
html[data-theme="dark"] .cfield .cerr{background:rgba(239,68,68,.14);border-color:rgba(239,68,68,.4);color:#ffb4b4}
/* tipointer === Fuente Inter (la maqueta usa Inter; Avada forzaba Lexend/Raleway) === */
body.inc-body,body.inc-body input,body.inc-body select,body.inc-body textarea,body.inc-body button,body.inc-body .cinput{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important}
body.inc-body h1,body.inc-body h2,body.inc-body h3{font-weight:800 !important}
body.inc-body h4{font-weight:700 !important}
body.inc-body header.nav .links a{font-weight:500 !important}
body.inc-body .mmenu a:not(.btn){font-weight:600 !important}
body.inc-body .art-body h2,body.inc-body .art-body h3,body.inc-body .art-body h4,body.inc-body .art-body .otec-h3,body.inc-body .art-body .otec-section-title{font-weight:700 !important}
/* Header sticky bajo la barra de admin (solo usuarios logueados) */
.admin-bar header.nav{top:32px}
@media screen and (max-width:782px){.admin-bar header.nav{top:46px}}
/* titulosinter: forzar Inter en titulos (Avada ponia Lexend) */
body.inc-body h1,body.inc-body h2,body.inc-body h3,body.inc-body h4,body.inc-body h5,body.inc-body h6,body.inc-body .eyebrow,body.inc-body .btn{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important}
